backend-plus 2.5.2-betha.22 → 2.5.2-betha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/backend-plus.d.ts +3 -3
- package/package.json +1 -1
package/lib/backend-plus.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ export type SequenceMadMaxDefinition = {
|
|
|
179
179
|
}
|
|
180
180
|
export type ExportMetadataDefinition={ /* TODO: define */ }
|
|
181
181
|
export type PostInputOptions='upperSpanish' | 'upperWithoutDiacritics' | 'parseDecimal'
|
|
182
|
-
export
|
|
182
|
+
export interface FieldDefinition extends EditableDbDefinition {
|
|
183
183
|
name:string
|
|
184
184
|
typeName:PgKnownTypes|'ARRAY:text'
|
|
185
185
|
label?:string
|
|
@@ -224,7 +224,7 @@ export type FieldDefinition = EditableDbDefinition & {
|
|
|
224
224
|
postInput?:PostInputOptions
|
|
225
225
|
sequence?: SequenceDefinition|SequenceMadMaxDefinition
|
|
226
226
|
}
|
|
227
|
-
export
|
|
227
|
+
export interface EditableDbDefinition {
|
|
228
228
|
editable?:boolean
|
|
229
229
|
allow?:{
|
|
230
230
|
update?:boolean
|
|
@@ -241,7 +241,7 @@ export type FieldsForConnect = (string | {source:string, target:string})[]
|
|
|
241
241
|
export type FieldsForConnectDetailTable = (string | {source:string, target:string, nullMeansAll?:boolean} | {value:any, target:string})[]
|
|
242
242
|
|
|
243
243
|
export type FkActions = 'no action'|'restrict'|'cascade'|'set null'|'set default';
|
|
244
|
-
export
|
|
244
|
+
export interface ForeignKey {
|
|
245
245
|
references:string,
|
|
246
246
|
fields:FieldsForConnect,
|
|
247
247
|
onUpdate?: FkActions,
|
package/package.json
CHANGED