@sava-info-systems/api-maker-with-extensions 1.19.5 → 1.19.7

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.
Files changed (37) hide show
  1. package/dist/3081.dd32ee0f5db41577.js +1 -0
  2. package/dist/5249.73e35de880a7af92.js +1 -0
  3. package/dist/5765.2b385a8405d8e7b2.js +1 -0
  4. package/dist/913.e60cadd27b99097f.js +1 -0
  5. package/dist/assets/monaco-assets/grammars/javascript.tmLanguage.json +3574 -5913
  6. package/dist/assets/monaco-assets/grammars/magicpython.tmLanguage.json +3437 -4212
  7. package/dist/assets/monaco-assets/grammars/rust.tmLanguage.json +89 -72
  8. package/dist/assets/monaco-assets/grammars/typescript.tmLanguage.json +3302 -5664
  9. package/dist/assets/monaco-assets/grammars/xml.tmLanguage.json +1 -1
  10. package/dist/assets/monaco-assets/onig.wasm +0 -0
  11. package/dist/assets/primeng-theme/primeng-theme-overrides.scss +1 -1
  12. package/dist/assets/schema-types/types.ts +21 -2
  13. package/dist/assets/styles/out/styles.css +1 -1
  14. package/dist/assets/styles/styles.scss +2 -1
  15. package/dist/index.html +14 -6
  16. package/dist/main.45d0e6ca86c448ba.js +1 -0
  17. package/dist/runtime.662c613ba3c97743.js +1 -0
  18. package/dist/{styles.1764f1e35ed631e4.css → styles.242217e145c3f7ab.css} +1 -1
  19. package/main.js +1 -1
  20. package/package.json +4 -4
  21. package/sandbox/sandbox.js +1 -1
  22. package/src/assets/schema-types/types.ts +21 -2
  23. package/src/public/dist-db-masters/browser/index.html +1 -1
  24. package/src/public/dist-db-masters/browser/main-ANQDJFEO.js +139 -0
  25. package/src/tools/local-client.js +1 -1
  26. package/dist/3081.e470a8aeed4a7745.js +0 -1
  27. package/dist/5249.52aa732ef6a173c5.js +0 -1
  28. package/dist/5765.e70cd773673bfe27.js +0 -1
  29. package/dist/913.7d41933171ab9fbe.js +0 -1
  30. package/dist/assets/styles/out/bootstrap-overrides.css.map +0 -1
  31. package/dist/assets/styles/out/colors-dark.css.map +0 -1
  32. package/dist/assets/styles/out/colors-light.css.map +0 -1
  33. package/dist/assets/styles/out/monaco-editor-overrides.css.map +0 -1
  34. package/dist/assets/styles/out/styles.css.map +0 -1
  35. package/dist/assets/styles/out/variables.css.map +0 -1
  36. package/dist/main.9630ecd9c9613e82.js +0 -1
  37. package/dist/runtime.21919a870e05d69b.js +0 -1
@@ -264,7 +264,12 @@ export interface ISchemaType {
264
264
  [key: string]: IAnySchemaPropertyType;
265
265
  }
266
266
 
267
+ export interface ISchemaTypeCustomApi {
268
+ [key: string]: IAnySchemaPropertyTypeCustomApi;
269
+ }
270
+
267
271
  export type IAnySchemaPropertyType = EType | [EType] | ISchemaProperty | [ISchemaProperty] | ISchemaType | [ISchemaType];
272
+ export type IAnySchemaPropertyTypeCustomApi = EType | [EType] | ISchemaPropertyCustomApi | [ISchemaPropertyCustomApi] | ISchemaTypeCustomApi | [ISchemaTypeCustomApi];
268
273
 
269
274
  export interface ISchemaProperty { // Add new schema property in ValidateDBSchema too
270
275
  __type?: EType;
@@ -338,6 +343,8 @@ export interface ISchemaProperty { // Add new schema property in ValidateDBSchem
338
343
  isVirtualField?: boolean;
339
344
  }
340
345
 
346
+ export type ISchemaPropertyCustomApi = Pick<ISchemaProperty, '__type' | 'conversions' | 'validations'>;
347
+
341
348
  export interface IIsAutoIncrementByAM {
342
349
  start: number;
343
350
  step?: number; // default value will be 1
@@ -784,8 +791,8 @@ export interface ICustomApiSettingsTypes extends IAuthTokenInfoCommon {
784
791
  resetCacheOnModificationOf?: string[]; // ins.db.col | api_bundle.version
785
792
  acceptOnlyEncryptedData?: boolean; // database & collection & api level setting
786
793
 
787
- reqBodySchema?: ISchemaType;
788
- reqQueryParametersSchema?: ISchemaType;
794
+ reqBodySchema?: ISchemaTypeCustomApi;
795
+ reqQueryParametersSchema?: ISchemaTypeCustomApi;
789
796
 
790
797
  /**
791
798
  * - If true, code will execute on original Node.js process and not in sandbox.<br/>
@@ -2083,6 +2090,15 @@ export interface IDBMasterConfig {
2083
2090
  /** Default: false, If true, it will hide close button. */
2084
2091
  hideCloseButton?: boolean;
2085
2092
 
2093
+ /** Default: Save, It will be used as label of save button */
2094
+ labelOfSaveButton?: string;
2095
+
2096
+ /** Default: Update, It will be used as label of update button in edit operation */
2097
+ labelOfUpdateButton?: string;
2098
+
2099
+ /** Default: Cancel, It will be used as label of cancel/close button */
2100
+ labelOfCancelButton?: string;
2101
+
2086
2102
  /** Default : true,
2087
2103
  * If multiple is coming from API which is not mapped to any field, it will show in table.
2088
2104
  * In case of only one error, it will show in notification.
@@ -3999,6 +4015,9 @@ export interface IPropertyValidation {
3999
4015
  max?: number; // Allowed Types : number | date
4000
4016
  minLength?: number; // Allowed Types : string
4001
4017
  maxLength?: number; // Allowed Types : string
4018
+ /**
4019
+ * @deprecated API Maker maintains unique feature and do not use on table which has frequent updates.
4020
+ */
4002
4021
  unique?: boolean;
4003
4022
  email?: boolean; // Allowed Types : string
4004
4023
  validatorFun?: Function;
@@ -27,5 +27,5 @@
27
27
  </style><link rel="stylesheet" href="styles-6NG3EUMP.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-6NG3EUMP.css"></noscript><link rel="modulepreload" href="chunk-MON7YFGF.js"></head>
28
28
  <body>
29
29
  <app-root></app-root>
30
- <script src="polyfills-6EAL64PA.js" type="module"></script><script src="main-E76YJGUR.js" type="module"></script></body>
30
+ <script src="polyfills-6EAL64PA.js" type="module"></script><script src="main-ANQDJFEO.js" type="module"></script></body>
31
31
  </html>