service: add field 'duration'
This commit is contained in:
parent
3c2c7701b1
commit
797da91b8e
@ -26,6 +26,11 @@
|
||||
"relation": "manyToOne",
|
||||
"target": "api::customer.customer",
|
||||
"inversedBy": "services"
|
||||
},
|
||||
"duration": {
|
||||
"type": "time",
|
||||
"required": true,
|
||||
"default": "01:00:00.000"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
3
types/generated/contentTypes.d.ts
vendored
3
types/generated/contentTypes.d.ts
vendored
@ -503,6 +503,9 @@ export interface ApiServiceService extends Struct.CollectionTypeSchema {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
duration: Schema.Attribute.Time &
|
||||
Schema.Attribute.Required &
|
||||
Schema.Attribute.DefaultTo<'01:00:00.000'>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user