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.
@@ -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 type FieldDefinition = EditableDbDefinition & {
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 type EditableDbDefinition = {
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 type ForeignKey = {
244
+ export interface ForeignKey {
245
245
  references:string,
246
246
  fields:FieldsForConnect,
247
247
  onUpdate?: FkActions,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for the anti Pareto rule",
4
- "version": "2.5.2-betha.22",
4
+ "version": "2.5.2-betha.23",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",