@objectstack/spec 0.3.3 → 0.4.2
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/dist/ai/conversation.zod.d.ts +14 -14
- package/dist/ai/cost.zod.d.ts +112 -112
- package/dist/ai/model-registry.zod.d.ts +44 -44
- package/dist/ai/nlq.zod.d.ts +2 -2
- package/dist/ai/orchestration.zod.d.ts +6 -6
- package/dist/ai/predictive.zod.d.ts +8 -8
- package/dist/ai/rag-pipeline.zod.d.ts +62 -62
- package/dist/api/contract.zod.d.ts +92 -92
- package/dist/api/discovery.zod.d.ts +2 -2
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/odata.zod.d.ts +482 -0
- package/dist/api/odata.zod.d.ts.map +1 -0
- package/dist/api/odata.zod.js +401 -0
- package/dist/api/router.zod.d.ts +4 -4
- package/dist/auth/config.zod.d.ts +21 -21
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/organization.zod.d.ts +2 -2
- package/dist/auth/role.zod.d.ts +14 -0
- package/dist/auth/role.zod.d.ts.map +1 -1
- package/dist/auth/role.zod.js +16 -1
- package/dist/auth/scim.zod.d.ts +2732 -0
- package/dist/auth/scim.zod.d.ts.map +1 -0
- package/dist/auth/scim.zod.js +811 -0
- package/dist/automation/approval.zod.d.ts +643 -0
- package/dist/automation/approval.zod.d.ts.map +1 -0
- package/dist/automation/approval.zod.js +84 -0
- package/dist/automation/connector.zod.d.ts +1284 -0
- package/dist/automation/connector.zod.d.ts.map +1 -0
- package/dist/automation/connector.zod.js +500 -0
- package/dist/automation/etl.zod.d.ts +623 -0
- package/dist/automation/etl.zod.d.ts.map +1 -0
- package/dist/automation/etl.zod.js +359 -0
- package/dist/automation/flow.zod.d.ts +6 -6
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -1
- package/dist/automation/index.js +4 -0
- package/dist/automation/sync.zod.d.ts +854 -0
- package/dist/automation/sync.zod.d.ts.map +1 -0
- package/dist/automation/sync.zod.js +444 -0
- package/dist/automation/webhook.zod.d.ts +24 -1
- package/dist/automation/webhook.zod.d.ts.map +1 -1
- package/dist/automation/webhook.zod.js +27 -3
- package/dist/automation/workflow.zod.d.ts +14 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -1
- package/dist/automation/workflow.zod.js +16 -1
- package/dist/data/field.zod.d.ts +338 -8
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +100 -16
- package/dist/data/mapping.zod.d.ts +22 -10
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +16 -3
- package/dist/data/object.zod.d.ts +116 -22
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +4 -4
- package/dist/data/validation.zod.d.ts +18 -18
- package/dist/hub/composer.zod.d.ts +43 -1940
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/composer.zod.js +1 -1
- package/dist/hub/license.zod.d.ts +2 -2
- package/dist/hub/marketplace.zod.d.ts +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/permission/index.d.ts +7 -5
- package/dist/permission/index.d.ts.map +1 -1
- package/dist/permission/index.js +7 -5
- package/dist/permission/permission.zod.d.ts +14 -0
- package/dist/permission/permission.zod.d.ts.map +1 -1
- package/dist/permission/permission.zod.js +16 -1
- package/dist/permission/rls.zod.d.ts +605 -0
- package/dist/permission/rls.zod.d.ts.map +1 -0
- package/dist/permission/rls.zod.js +615 -0
- package/dist/permission/territory.zod.d.ts +13 -0
- package/dist/permission/territory.zod.d.ts.map +1 -1
- package/dist/permission/territory.zod.js +15 -1
- package/dist/shared/identifiers.zod.d.ts +87 -0
- package/dist/shared/identifiers.zod.d.ts.map +1 -0
- package/dist/shared/identifiers.zod.js +101 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/{driver → shared}/index.js +5 -4
- package/dist/stack.zod.d.ts +19869 -0
- package/dist/stack.zod.d.ts.map +1 -0
- package/dist/stack.zod.js +248 -0
- package/dist/system/audit.zod.d.ts +12 -12
- package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
- package/dist/{driver → system}/datasource.zod.d.ts +2 -2
- package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
- package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
- package/dist/system/driver/mongo.zod.d.ts.map +1 -0
- package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
- package/dist/system/driver/postgres.zod.d.ts.map +1 -0
- package/dist/{driver → system}/driver.zod.d.ts +14 -14
- package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
- package/dist/system/events.zod.d.ts +15 -12
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +5 -1
- package/dist/system/feature.zod.d.ts +131 -0
- package/dist/system/feature.zod.d.ts.map +1 -0
- package/dist/system/feature.zod.js +45 -0
- package/dist/system/index.d.ts +10 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +12 -0
- package/dist/system/job.zod.d.ts +8 -8
- package/dist/{kernel → system}/logger.zod.d.ts +4 -4
- package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.d.ts +518 -0
- package/dist/system/manifest.zod.d.ts.map +1 -0
- package/dist/{kernel → system}/manifest.zod.js +8 -17
- package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
- package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
- package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.d.ts +35 -10
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +30 -1
- package/dist/ui/app.zod.d.ts +23 -8
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +32 -4
- package/dist/ui/block.zod.d.ts +265 -0
- package/dist/ui/block.zod.d.ts.map +1 -0
- package/dist/ui/block.zod.js +90 -0
- package/dist/ui/component.zod.d.ts +265 -0
- package/dist/ui/component.zod.d.ts.map +1 -0
- package/dist/ui/component.zod.js +90 -0
- package/dist/ui/dashboard.zod.d.ts +15 -15
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +18 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/page.zod.d.ts +21 -3
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +37 -4
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/view.zod.d.ts +252 -240
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +32 -3
- package/dist/ui/widget.zod.d.ts +673 -5
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +294 -1
- package/json-schema/api/ODataError.json +65 -0
- package/json-schema/api/ODataFilterFunction.json +39 -0
- package/json-schema/api/ODataFilterOperator.json +24 -0
- package/json-schema/api/ODataMetadata.json +115 -0
- package/json-schema/api/ODataQuery.json +89 -0
- package/json-schema/api/ODataResponse.json +37 -0
- package/json-schema/auth/Role.json +3 -2
- package/json-schema/auth/SCIMAddress.json +50 -0
- package/json-schema/auth/SCIMEmail.json +38 -0
- package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
- package/json-schema/auth/SCIMError.json +52 -0
- package/json-schema/auth/SCIMGroup.json +102 -0
- package/json-schema/auth/SCIMGroupReference.json +36 -0
- package/json-schema/auth/SCIMListResponse.json +606 -0
- package/json-schema/auth/SCIMMemberReference.json +36 -0
- package/json-schema/auth/SCIMMeta.json +35 -0
- package/json-schema/auth/SCIMName.json +36 -0
- package/json-schema/auth/SCIMPatchOperation.json +31 -0
- package/json-schema/auth/SCIMPatchRequest.json +56 -0
- package/json-schema/auth/SCIMPhoneNumber.json +40 -0
- package/json-schema/auth/SCIMUser.json +462 -0
- package/json-schema/automation/ApprovalAction.json +35 -0
- package/json-schema/automation/ApprovalActionType.json +15 -0
- package/json-schema/automation/ApprovalProcess.json +326 -0
- package/json-schema/automation/ApprovalStep.json +147 -0
- package/json-schema/automation/ApproverType.json +16 -0
- package/json-schema/automation/AuthField.json +73 -0
- package/json-schema/automation/Authentication.json +159 -0
- package/json-schema/automation/AuthenticationType.json +18 -0
- package/json-schema/automation/ConflictResolution.json +16 -0
- package/json-schema/automation/Connector.json +440 -0
- package/json-schema/automation/ConnectorCategory.json +26 -0
- package/json-schema/automation/ConnectorInstance.json +69 -0
- package/json-schema/automation/ConnectorOperation.json +117 -0
- package/json-schema/automation/ConnectorTrigger.json +54 -0
- package/json-schema/automation/DataDestinationConfig.json +89 -0
- package/json-schema/automation/DataSourceConfig.json +34 -0
- package/json-schema/automation/DataSyncConfig.json +355 -0
- package/json-schema/automation/ETLDestination.json +57 -0
- package/json-schema/automation/ETLEndpointType.json +19 -0
- package/json-schema/automation/ETLPipeline.json +252 -0
- package/json-schema/automation/ETLPipelineRun.json +107 -0
- package/json-schema/automation/ETLRunStatus.json +17 -0
- package/json-schema/automation/ETLSource.json +60 -0
- package/json-schema/automation/ETLSyncMode.json +14 -0
- package/json-schema/automation/ETLTransformation.json +46 -0
- package/json-schema/automation/ETLTransformationType.json +21 -0
- package/json-schema/automation/FieldMapping.json +36 -0
- package/json-schema/automation/OAuth2Config.json +43 -0
- package/json-schema/automation/OperationParameter.json +59 -0
- package/json-schema/automation/OperationType.json +17 -0
- package/json-schema/automation/SyncDirection.json +14 -0
- package/json-schema/automation/SyncExecutionResult.json +135 -0
- package/json-schema/automation/SyncExecutionStatus.json +17 -0
- package/json-schema/automation/SyncMode.json +14 -0
- package/json-schema/automation/Webhook.json +3 -1
- package/json-schema/automation/WebhookReceiver.json +3 -1
- package/json-schema/automation/WorkflowRule.json +3 -2
- package/json-schema/data/Field.json +62 -4
- package/json-schema/data/FieldType.json +12 -2
- package/json-schema/data/Object.json +62 -4
- package/json-schema/data/SelectOption.json +4 -2
- package/json-schema/data/VectorConfig.json +51 -0
- package/json-schema/hub/ComposerResponse.json +4 -2163
- package/json-schema/permission/PermissionSet.json +3 -1
- package/json-schema/permission/RLSConfig.json +59 -0
- package/json-schema/permission/RLSEvaluationResult.json +40 -0
- package/json-schema/permission/RLSOperation.json +16 -0
- package/json-schema/permission/RLSUserContext.json +51 -0
- package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
- package/json-schema/permission/Territory.json +3 -1
- package/json-schema/shared/EventName.json +12 -0
- package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
- package/json-schema/shared/SystemIdentifier.json +12 -0
- package/json-schema/system/Event.json +3 -2
- package/json-schema/system/FeatureFlag.json +87 -0
- package/json-schema/system/FeatureStrategy.json +16 -0
- package/json-schema/system/Manifest.json +398 -0
- package/json-schema/ui/Action.json +25 -4
- package/json-schema/ui/ActionParam.json +12 -2
- package/json-schema/ui/App.json +18 -7
- package/json-schema/ui/ChartType.json +9 -1
- package/json-schema/ui/Dashboard.json +9 -1
- package/json-schema/ui/DashboardNavItem.json +3 -1
- package/json-schema/ui/DashboardWidget.json +9 -1
- package/json-schema/ui/FieldWidgetProps.json +62 -4
- package/json-schema/ui/FormView.json +4 -1
- package/json-schema/ui/GroupNavItem.json +3 -1
- package/json-schema/ui/ListView.json +7 -1
- package/json-schema/ui/NavigationItem.json +15 -5
- package/json-schema/ui/ObjectNavItem.json +3 -1
- package/json-schema/ui/Page.json +36 -4
- package/json-schema/ui/PageCardProps.json +32 -0
- package/json-schema/ui/PageComponent.json +33 -3
- package/json-schema/ui/PageComponentType.json +32 -0
- package/json-schema/ui/PageHeaderProps.json +39 -0
- package/json-schema/ui/PageNavItem.json +3 -1
- package/json-schema/ui/PageRegion.json +33 -3
- package/json-schema/ui/PageTabsProps.json +55 -0
- package/json-schema/ui/RecordDetailsProps.json +37 -0
- package/json-schema/ui/RecordHighlightsProps.json +24 -0
- package/json-schema/ui/RecordRelatedListProps.json +39 -0
- package/json-schema/ui/UrlNavItem.json +3 -1
- package/json-schema/ui/View.json +22 -4
- package/json-schema/ui/WidgetEvent.json +42 -0
- package/json-schema/ui/WidgetLifecycle.json +40 -0
- package/json-schema/ui/WidgetManifest.json +262 -0
- package/json-schema/ui/WidgetProperty.json +58 -0
- package/package.json +1 -1
- package/prompts/architecture.md +5 -5
- package/prompts/create-new-project.md +85 -0
- package/dist/driver/index.d.ts +0 -5
- package/dist/driver/index.d.ts.map +0 -1
- package/dist/driver/mongo.zod.d.ts.map +0 -1
- package/dist/driver/postgres.zod.d.ts.map +0 -1
- package/dist/kernel/index.d.ts +0 -12
- package/dist/kernel/index.d.ts.map +0 -1
- package/dist/kernel/index.js +0 -27
- package/dist/kernel/manifest.zod.d.ts +0 -2153
- package/dist/kernel/manifest.zod.d.ts.map +0 -1
- package/json-schema/kernel/Manifest.json +0 -2557
- /package/dist/{kernel → system}/context.zod.d.ts +0 -0
- /package/dist/{kernel → system}/context.zod.js +0 -0
- /package/dist/{driver → system}/datasource.zod.js +0 -0
- /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
- /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
- /package/dist/{driver → system}/driver.zod.js +0 -0
- /package/dist/{kernel → system}/logger.zod.js +0 -0
- /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
- /package/dist/{kernel → system}/plugin.zod.js +0 -0
- /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
- /package/json-schema/{driver → system}/Datasource.json +0 -0
- /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
- /package/json-schema/{driver → system}/DriverInterface.json +0 -0
- /package/json-schema/{driver → system}/DriverOptions.json +0 -0
- /package/json-schema/{driver → system}/DriverType.json +0 -0
- /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
- /package/json-schema/{kernel → system}/I18nContext.json +0 -0
- /package/json-schema/{kernel → system}/KernelContext.json +0 -0
- /package/json-schema/{kernel → system}/LogEntry.json +0 -0
- /package/json-schema/{kernel → system}/LogFormat.json +0 -0
- /package/json-schema/{kernel → system}/LogLevel.json +0 -0
- /package/json-schema/{kernel → system}/Logger.json +0 -0
- /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
- /package/json-schema/{driver → system}/MongoConfig.json +0 -0
- /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
- /package/json-schema/{kernel → system}/Plugin.json +0 -0
- /package/json-schema/{kernel → system}/PluginContext.json +0 -0
- /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
- /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
- /package/json-schema/{kernel → system}/Router.json +0 -0
- /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
- /package/json-schema/{kernel → system}/Scheduler.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
- /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
- /package/json-schema/{kernel → system}/StorageScope.json +0 -0
- /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
|
@@ -244,1380 +244,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
244
244
|
manifest: z.ZodOptional<z.ZodObject<{
|
|
245
245
|
id: z.ZodString;
|
|
246
246
|
version: z.ZodString;
|
|
247
|
-
type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
|
|
247
|
+
type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
|
|
248
248
|
name: z.ZodString;
|
|
249
249
|
description: z.ZodOptional<z.ZodString>;
|
|
250
250
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
251
|
objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
-
definitions: z.ZodOptional<z.ZodObject<{
|
|
253
|
-
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
254
|
-
name: z.ZodString;
|
|
255
|
-
label: z.ZodOptional<z.ZodString>;
|
|
256
|
-
pluralLabel: z.ZodOptional<z.ZodString>;
|
|
257
|
-
description: z.ZodOptional<z.ZodString>;
|
|
258
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
259
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
260
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
261
|
-
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
262
|
-
abstract: z.ZodDefault<z.ZodBoolean>;
|
|
263
|
-
datasource: z.ZodDefault<z.ZodString>;
|
|
264
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
265
|
-
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
266
|
-
name: z.ZodOptional<z.ZodString>;
|
|
267
|
-
label: z.ZodOptional<z.ZodString>;
|
|
268
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
|
|
269
|
-
description: z.ZodOptional<z.ZodString>;
|
|
270
|
-
format: z.ZodOptional<z.ZodString>;
|
|
271
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
272
|
-
searchable: z.ZodDefault<z.ZodBoolean>;
|
|
273
|
-
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
-
unique: z.ZodDefault<z.ZodBoolean>;
|
|
275
|
-
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
276
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
277
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
278
|
-
precision: z.ZodOptional<z.ZodNumber>;
|
|
279
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
280
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
281
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
282
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
283
|
-
label: z.ZodString;
|
|
284
|
-
value: z.ZodString;
|
|
285
|
-
color: z.ZodOptional<z.ZodString>;
|
|
286
|
-
default: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
-
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
value: string;
|
|
289
|
-
label: string;
|
|
290
|
-
color?: string | undefined;
|
|
291
|
-
default?: boolean | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
value: string;
|
|
294
|
-
label: string;
|
|
295
|
-
color?: string | undefined;
|
|
296
|
-
default?: boolean | undefined;
|
|
297
|
-
}>, "many">>;
|
|
298
|
-
reference: z.ZodOptional<z.ZodString>;
|
|
299
|
-
referenceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
|
-
writeRequiresMasterRead: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
-
deleteBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["set_null", "cascade", "restrict"]>>>;
|
|
302
|
-
expression: z.ZodOptional<z.ZodString>;
|
|
303
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
304
|
-
summaryOperations: z.ZodOptional<z.ZodObject<{
|
|
305
|
-
object: z.ZodString;
|
|
306
|
-
field: z.ZodString;
|
|
307
|
-
function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
|
|
308
|
-
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
object: string;
|
|
310
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
311
|
-
field: string;
|
|
312
|
-
}, {
|
|
313
|
-
object: string;
|
|
314
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
315
|
-
field: string;
|
|
316
|
-
}>>;
|
|
317
|
-
language: z.ZodOptional<z.ZodString>;
|
|
318
|
-
theme: z.ZodOptional<z.ZodString>;
|
|
319
|
-
lineNumbers: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
-
maxRating: z.ZodOptional<z.ZodNumber>;
|
|
321
|
-
allowHalf: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
-
displayMap: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
-
allowGeocoding: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
-
addressFormat: z.ZodOptional<z.ZodEnum<["us", "uk", "international"]>>;
|
|
325
|
-
colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
|
|
326
|
-
allowAlpha: z.ZodOptional<z.ZodBoolean>;
|
|
327
|
-
presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
328
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
329
|
-
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
-
marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
331
|
-
barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
|
|
332
|
-
qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
|
|
333
|
-
displayValue: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
-
allowScanning: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
-
currencyConfig: z.ZodOptional<z.ZodObject<{
|
|
336
|
-
precision: z.ZodDefault<z.ZodNumber>;
|
|
337
|
-
currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
|
|
338
|
-
defaultCurrency: z.ZodDefault<z.ZodString>;
|
|
339
|
-
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
precision: number;
|
|
341
|
-
currencyMode: "dynamic" | "fixed";
|
|
342
|
-
defaultCurrency: string;
|
|
343
|
-
}, {
|
|
344
|
-
precision?: number | undefined;
|
|
345
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
346
|
-
defaultCurrency?: string | undefined;
|
|
347
|
-
}>>;
|
|
348
|
-
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
349
|
-
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
350
|
-
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
351
|
-
index: z.ZodDefault<z.ZodBoolean>;
|
|
352
|
-
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
-
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
355
|
-
required: boolean;
|
|
356
|
-
searchable: boolean;
|
|
357
|
-
multiple: boolean;
|
|
358
|
-
unique: boolean;
|
|
359
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
360
|
-
hidden: boolean;
|
|
361
|
-
readonly: boolean;
|
|
362
|
-
encryption: boolean;
|
|
363
|
-
index: boolean;
|
|
364
|
-
externalId: boolean;
|
|
365
|
-
options?: {
|
|
366
|
-
value: string;
|
|
367
|
-
label: string;
|
|
368
|
-
color?: string | undefined;
|
|
369
|
-
default?: boolean | undefined;
|
|
370
|
-
}[] | undefined;
|
|
371
|
-
min?: number | undefined;
|
|
372
|
-
max?: number | undefined;
|
|
373
|
-
formula?: string | undefined;
|
|
374
|
-
label?: string | undefined;
|
|
375
|
-
precision?: number | undefined;
|
|
376
|
-
name?: string | undefined;
|
|
377
|
-
description?: string | undefined;
|
|
378
|
-
format?: string | undefined;
|
|
379
|
-
defaultValue?: any;
|
|
380
|
-
maxLength?: number | undefined;
|
|
381
|
-
minLength?: number | undefined;
|
|
382
|
-
scale?: number | undefined;
|
|
383
|
-
reference?: string | undefined;
|
|
384
|
-
referenceFilters?: string[] | undefined;
|
|
385
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
386
|
-
expression?: string | undefined;
|
|
387
|
-
summaryOperations?: {
|
|
388
|
-
object: string;
|
|
389
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
390
|
-
field: string;
|
|
391
|
-
} | undefined;
|
|
392
|
-
language?: string | undefined;
|
|
393
|
-
theme?: string | undefined;
|
|
394
|
-
lineNumbers?: boolean | undefined;
|
|
395
|
-
maxRating?: number | undefined;
|
|
396
|
-
allowHalf?: boolean | undefined;
|
|
397
|
-
displayMap?: boolean | undefined;
|
|
398
|
-
allowGeocoding?: boolean | undefined;
|
|
399
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
400
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
401
|
-
allowAlpha?: boolean | undefined;
|
|
402
|
-
presetColors?: string[] | undefined;
|
|
403
|
-
step?: number | undefined;
|
|
404
|
-
showValue?: boolean | undefined;
|
|
405
|
-
marks?: Record<string, string> | undefined;
|
|
406
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
407
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
408
|
-
displayValue?: boolean | undefined;
|
|
409
|
-
allowScanning?: boolean | undefined;
|
|
410
|
-
currencyConfig?: {
|
|
411
|
-
precision: number;
|
|
412
|
-
currencyMode: "dynamic" | "fixed";
|
|
413
|
-
defaultCurrency: string;
|
|
414
|
-
} | undefined;
|
|
415
|
-
}, {
|
|
416
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
417
|
-
options?: {
|
|
418
|
-
value: string;
|
|
419
|
-
label: string;
|
|
420
|
-
color?: string | undefined;
|
|
421
|
-
default?: boolean | undefined;
|
|
422
|
-
}[] | undefined;
|
|
423
|
-
required?: boolean | undefined;
|
|
424
|
-
min?: number | undefined;
|
|
425
|
-
max?: number | undefined;
|
|
426
|
-
formula?: string | undefined;
|
|
427
|
-
label?: string | undefined;
|
|
428
|
-
precision?: number | undefined;
|
|
429
|
-
name?: string | undefined;
|
|
430
|
-
description?: string | undefined;
|
|
431
|
-
format?: string | undefined;
|
|
432
|
-
searchable?: boolean | undefined;
|
|
433
|
-
multiple?: boolean | undefined;
|
|
434
|
-
unique?: boolean | undefined;
|
|
435
|
-
defaultValue?: any;
|
|
436
|
-
maxLength?: number | undefined;
|
|
437
|
-
minLength?: number | undefined;
|
|
438
|
-
scale?: number | undefined;
|
|
439
|
-
reference?: string | undefined;
|
|
440
|
-
referenceFilters?: string[] | undefined;
|
|
441
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
442
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
443
|
-
expression?: string | undefined;
|
|
444
|
-
summaryOperations?: {
|
|
445
|
-
object: string;
|
|
446
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
447
|
-
field: string;
|
|
448
|
-
} | undefined;
|
|
449
|
-
language?: string | undefined;
|
|
450
|
-
theme?: string | undefined;
|
|
451
|
-
lineNumbers?: boolean | undefined;
|
|
452
|
-
maxRating?: number | undefined;
|
|
453
|
-
allowHalf?: boolean | undefined;
|
|
454
|
-
displayMap?: boolean | undefined;
|
|
455
|
-
allowGeocoding?: boolean | undefined;
|
|
456
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
457
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
458
|
-
allowAlpha?: boolean | undefined;
|
|
459
|
-
presetColors?: string[] | undefined;
|
|
460
|
-
step?: number | undefined;
|
|
461
|
-
showValue?: boolean | undefined;
|
|
462
|
-
marks?: Record<string, string> | undefined;
|
|
463
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
464
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
465
|
-
displayValue?: boolean | undefined;
|
|
466
|
-
allowScanning?: boolean | undefined;
|
|
467
|
-
currencyConfig?: {
|
|
468
|
-
precision?: number | undefined;
|
|
469
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
470
|
-
defaultCurrency?: string | undefined;
|
|
471
|
-
} | undefined;
|
|
472
|
-
hidden?: boolean | undefined;
|
|
473
|
-
readonly?: boolean | undefined;
|
|
474
|
-
encryption?: boolean | undefined;
|
|
475
|
-
index?: boolean | undefined;
|
|
476
|
-
externalId?: boolean | undefined;
|
|
477
|
-
}>>;
|
|
478
|
-
indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
479
|
-
name: z.ZodOptional<z.ZodString>;
|
|
480
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
481
|
-
unique: z.ZodOptional<z.ZodBoolean>;
|
|
482
|
-
type: z.ZodOptional<z.ZodEnum<["btree", "hash", "gin", "gist"]>>;
|
|
483
|
-
}, "strip", z.ZodTypeAny, {
|
|
484
|
-
fields: string[];
|
|
485
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
486
|
-
name?: string | undefined;
|
|
487
|
-
unique?: boolean | undefined;
|
|
488
|
-
}, {
|
|
489
|
-
fields: string[];
|
|
490
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
491
|
-
name?: string | undefined;
|
|
492
|
-
unique?: boolean | undefined;
|
|
493
|
-
}>, "many">>;
|
|
494
|
-
validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
495
|
-
titleFormat: z.ZodOptional<z.ZodString>;
|
|
496
|
-
compactLayout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
497
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
498
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
499
|
-
displayFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
500
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
501
|
-
}, "strip", z.ZodTypeAny, {
|
|
502
|
-
fields: string[];
|
|
503
|
-
displayFields?: string[] | undefined;
|
|
504
|
-
filters?: string[] | undefined;
|
|
505
|
-
}, {
|
|
506
|
-
fields: string[];
|
|
507
|
-
displayFields?: string[] | undefined;
|
|
508
|
-
filters?: string[] | undefined;
|
|
509
|
-
}>>;
|
|
510
|
-
enable: z.ZodOptional<z.ZodObject<{
|
|
511
|
-
trackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
512
|
-
searchable: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
-
apiEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
514
|
-
apiMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["get", "list", "create", "update", "delete", "upsert", "bulk", "aggregate", "history", "search", "restore", "purge", "import", "export"]>, "many">>;
|
|
515
|
-
files: z.ZodDefault<z.ZodBoolean>;
|
|
516
|
-
feeds: z.ZodDefault<z.ZodBoolean>;
|
|
517
|
-
activities: z.ZodDefault<z.ZodBoolean>;
|
|
518
|
-
trash: z.ZodDefault<z.ZodBoolean>;
|
|
519
|
-
mru: z.ZodDefault<z.ZodBoolean>;
|
|
520
|
-
clone: z.ZodDefault<z.ZodBoolean>;
|
|
521
|
-
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
searchable: boolean;
|
|
523
|
-
trackHistory: boolean;
|
|
524
|
-
apiEnabled: boolean;
|
|
525
|
-
files: boolean;
|
|
526
|
-
feeds: boolean;
|
|
527
|
-
activities: boolean;
|
|
528
|
-
trash: boolean;
|
|
529
|
-
mru: boolean;
|
|
530
|
-
clone: boolean;
|
|
531
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
532
|
-
}, {
|
|
533
|
-
searchable?: boolean | undefined;
|
|
534
|
-
trackHistory?: boolean | undefined;
|
|
535
|
-
apiEnabled?: boolean | undefined;
|
|
536
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
537
|
-
files?: boolean | undefined;
|
|
538
|
-
feeds?: boolean | undefined;
|
|
539
|
-
activities?: boolean | undefined;
|
|
540
|
-
trash?: boolean | undefined;
|
|
541
|
-
mru?: boolean | undefined;
|
|
542
|
-
clone?: boolean | undefined;
|
|
543
|
-
}>>;
|
|
544
|
-
}, "strip", z.ZodTypeAny, {
|
|
545
|
-
fields: Record<string, {
|
|
546
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
547
|
-
required: boolean;
|
|
548
|
-
searchable: boolean;
|
|
549
|
-
multiple: boolean;
|
|
550
|
-
unique: boolean;
|
|
551
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
552
|
-
hidden: boolean;
|
|
553
|
-
readonly: boolean;
|
|
554
|
-
encryption: boolean;
|
|
555
|
-
index: boolean;
|
|
556
|
-
externalId: boolean;
|
|
557
|
-
options?: {
|
|
558
|
-
value: string;
|
|
559
|
-
label: string;
|
|
560
|
-
color?: string | undefined;
|
|
561
|
-
default?: boolean | undefined;
|
|
562
|
-
}[] | undefined;
|
|
563
|
-
min?: number | undefined;
|
|
564
|
-
max?: number | undefined;
|
|
565
|
-
formula?: string | undefined;
|
|
566
|
-
label?: string | undefined;
|
|
567
|
-
precision?: number | undefined;
|
|
568
|
-
name?: string | undefined;
|
|
569
|
-
description?: string | undefined;
|
|
570
|
-
format?: string | undefined;
|
|
571
|
-
defaultValue?: any;
|
|
572
|
-
maxLength?: number | undefined;
|
|
573
|
-
minLength?: number | undefined;
|
|
574
|
-
scale?: number | undefined;
|
|
575
|
-
reference?: string | undefined;
|
|
576
|
-
referenceFilters?: string[] | undefined;
|
|
577
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
578
|
-
expression?: string | undefined;
|
|
579
|
-
summaryOperations?: {
|
|
580
|
-
object: string;
|
|
581
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
582
|
-
field: string;
|
|
583
|
-
} | undefined;
|
|
584
|
-
language?: string | undefined;
|
|
585
|
-
theme?: string | undefined;
|
|
586
|
-
lineNumbers?: boolean | undefined;
|
|
587
|
-
maxRating?: number | undefined;
|
|
588
|
-
allowHalf?: boolean | undefined;
|
|
589
|
-
displayMap?: boolean | undefined;
|
|
590
|
-
allowGeocoding?: boolean | undefined;
|
|
591
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
592
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
593
|
-
allowAlpha?: boolean | undefined;
|
|
594
|
-
presetColors?: string[] | undefined;
|
|
595
|
-
step?: number | undefined;
|
|
596
|
-
showValue?: boolean | undefined;
|
|
597
|
-
marks?: Record<string, string> | undefined;
|
|
598
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
599
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
600
|
-
displayValue?: boolean | undefined;
|
|
601
|
-
allowScanning?: boolean | undefined;
|
|
602
|
-
currencyConfig?: {
|
|
603
|
-
precision: number;
|
|
604
|
-
currencyMode: "dynamic" | "fixed";
|
|
605
|
-
defaultCurrency: string;
|
|
606
|
-
} | undefined;
|
|
607
|
-
}>;
|
|
608
|
-
name: string;
|
|
609
|
-
active: boolean;
|
|
610
|
-
isSystem: boolean;
|
|
611
|
-
abstract: boolean;
|
|
612
|
-
datasource: string;
|
|
613
|
-
label?: string | undefined;
|
|
614
|
-
description?: string | undefined;
|
|
615
|
-
tags?: string[] | undefined;
|
|
616
|
-
search?: {
|
|
617
|
-
fields: string[];
|
|
618
|
-
displayFields?: string[] | undefined;
|
|
619
|
-
filters?: string[] | undefined;
|
|
620
|
-
} | undefined;
|
|
621
|
-
pluralLabel?: string | undefined;
|
|
622
|
-
icon?: string | undefined;
|
|
623
|
-
tableName?: string | undefined;
|
|
624
|
-
indexes?: {
|
|
625
|
-
fields: string[];
|
|
626
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
627
|
-
name?: string | undefined;
|
|
628
|
-
unique?: boolean | undefined;
|
|
629
|
-
}[] | undefined;
|
|
630
|
-
validations?: any[] | undefined;
|
|
631
|
-
titleFormat?: string | undefined;
|
|
632
|
-
compactLayout?: string[] | undefined;
|
|
633
|
-
enable?: {
|
|
634
|
-
searchable: boolean;
|
|
635
|
-
trackHistory: boolean;
|
|
636
|
-
apiEnabled: boolean;
|
|
637
|
-
files: boolean;
|
|
638
|
-
feeds: boolean;
|
|
639
|
-
activities: boolean;
|
|
640
|
-
trash: boolean;
|
|
641
|
-
mru: boolean;
|
|
642
|
-
clone: boolean;
|
|
643
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
644
|
-
} | undefined;
|
|
645
|
-
}, {
|
|
646
|
-
fields: Record<string, {
|
|
647
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
648
|
-
options?: {
|
|
649
|
-
value: string;
|
|
650
|
-
label: string;
|
|
651
|
-
color?: string | undefined;
|
|
652
|
-
default?: boolean | undefined;
|
|
653
|
-
}[] | undefined;
|
|
654
|
-
required?: boolean | undefined;
|
|
655
|
-
min?: number | undefined;
|
|
656
|
-
max?: number | undefined;
|
|
657
|
-
formula?: string | undefined;
|
|
658
|
-
label?: string | undefined;
|
|
659
|
-
precision?: number | undefined;
|
|
660
|
-
name?: string | undefined;
|
|
661
|
-
description?: string | undefined;
|
|
662
|
-
format?: string | undefined;
|
|
663
|
-
searchable?: boolean | undefined;
|
|
664
|
-
multiple?: boolean | undefined;
|
|
665
|
-
unique?: boolean | undefined;
|
|
666
|
-
defaultValue?: any;
|
|
667
|
-
maxLength?: number | undefined;
|
|
668
|
-
minLength?: number | undefined;
|
|
669
|
-
scale?: number | undefined;
|
|
670
|
-
reference?: string | undefined;
|
|
671
|
-
referenceFilters?: string[] | undefined;
|
|
672
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
673
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
674
|
-
expression?: string | undefined;
|
|
675
|
-
summaryOperations?: {
|
|
676
|
-
object: string;
|
|
677
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
678
|
-
field: string;
|
|
679
|
-
} | undefined;
|
|
680
|
-
language?: string | undefined;
|
|
681
|
-
theme?: string | undefined;
|
|
682
|
-
lineNumbers?: boolean | undefined;
|
|
683
|
-
maxRating?: number | undefined;
|
|
684
|
-
allowHalf?: boolean | undefined;
|
|
685
|
-
displayMap?: boolean | undefined;
|
|
686
|
-
allowGeocoding?: boolean | undefined;
|
|
687
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
688
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
689
|
-
allowAlpha?: boolean | undefined;
|
|
690
|
-
presetColors?: string[] | undefined;
|
|
691
|
-
step?: number | undefined;
|
|
692
|
-
showValue?: boolean | undefined;
|
|
693
|
-
marks?: Record<string, string> | undefined;
|
|
694
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
695
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
696
|
-
displayValue?: boolean | undefined;
|
|
697
|
-
allowScanning?: boolean | undefined;
|
|
698
|
-
currencyConfig?: {
|
|
699
|
-
precision?: number | undefined;
|
|
700
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
701
|
-
defaultCurrency?: string | undefined;
|
|
702
|
-
} | undefined;
|
|
703
|
-
hidden?: boolean | undefined;
|
|
704
|
-
readonly?: boolean | undefined;
|
|
705
|
-
encryption?: boolean | undefined;
|
|
706
|
-
index?: boolean | undefined;
|
|
707
|
-
externalId?: boolean | undefined;
|
|
708
|
-
}>;
|
|
709
|
-
name: string;
|
|
710
|
-
label?: string | undefined;
|
|
711
|
-
description?: string | undefined;
|
|
712
|
-
active?: boolean | undefined;
|
|
713
|
-
tags?: string[] | undefined;
|
|
714
|
-
search?: {
|
|
715
|
-
fields: string[];
|
|
716
|
-
displayFields?: string[] | undefined;
|
|
717
|
-
filters?: string[] | undefined;
|
|
718
|
-
} | undefined;
|
|
719
|
-
pluralLabel?: string | undefined;
|
|
720
|
-
icon?: string | undefined;
|
|
721
|
-
isSystem?: boolean | undefined;
|
|
722
|
-
abstract?: boolean | undefined;
|
|
723
|
-
datasource?: string | undefined;
|
|
724
|
-
tableName?: string | undefined;
|
|
725
|
-
indexes?: {
|
|
726
|
-
fields: string[];
|
|
727
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
728
|
-
name?: string | undefined;
|
|
729
|
-
unique?: boolean | undefined;
|
|
730
|
-
}[] | undefined;
|
|
731
|
-
validations?: any[] | undefined;
|
|
732
|
-
titleFormat?: string | undefined;
|
|
733
|
-
compactLayout?: string[] | undefined;
|
|
734
|
-
enable?: {
|
|
735
|
-
searchable?: boolean | undefined;
|
|
736
|
-
trackHistory?: boolean | undefined;
|
|
737
|
-
apiEnabled?: boolean | undefined;
|
|
738
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
739
|
-
files?: boolean | undefined;
|
|
740
|
-
feeds?: boolean | undefined;
|
|
741
|
-
activities?: boolean | undefined;
|
|
742
|
-
trash?: boolean | undefined;
|
|
743
|
-
mru?: boolean | undefined;
|
|
744
|
-
clone?: boolean | undefined;
|
|
745
|
-
} | undefined;
|
|
746
|
-
}> & {
|
|
747
|
-
create: <T extends z.input<z.ZodObject<{
|
|
748
|
-
name: z.ZodString;
|
|
749
|
-
label: z.ZodOptional<z.ZodString>;
|
|
750
|
-
pluralLabel: z.ZodOptional<z.ZodString>;
|
|
751
|
-
description: z.ZodOptional<z.ZodString>;
|
|
752
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
753
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
754
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
755
|
-
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
756
|
-
abstract: z.ZodDefault<z.ZodBoolean>;
|
|
757
|
-
datasource: z.ZodDefault<z.ZodString>;
|
|
758
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
759
|
-
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
760
|
-
name: z.ZodOptional<z.ZodString>;
|
|
761
|
-
label: z.ZodOptional<z.ZodString>;
|
|
762
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
|
|
763
|
-
description: z.ZodOptional<z.ZodString>;
|
|
764
|
-
format: z.ZodOptional<z.ZodString>;
|
|
765
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
766
|
-
searchable: z.ZodDefault<z.ZodBoolean>;
|
|
767
|
-
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
768
|
-
unique: z.ZodDefault<z.ZodBoolean>;
|
|
769
|
-
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
770
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
771
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
772
|
-
precision: z.ZodOptional<z.ZodNumber>;
|
|
773
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
774
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
775
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
776
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
777
|
-
label: z.ZodString;
|
|
778
|
-
value: z.ZodString;
|
|
779
|
-
color: z.ZodOptional<z.ZodString>;
|
|
780
|
-
default: z.ZodOptional<z.ZodBoolean>;
|
|
781
|
-
}, "strip", z.ZodTypeAny, {
|
|
782
|
-
value: string;
|
|
783
|
-
label: string;
|
|
784
|
-
color?: string | undefined;
|
|
785
|
-
default?: boolean | undefined;
|
|
786
|
-
}, {
|
|
787
|
-
value: string;
|
|
788
|
-
label: string;
|
|
789
|
-
color?: string | undefined;
|
|
790
|
-
default?: boolean | undefined;
|
|
791
|
-
}>, "many">>;
|
|
792
|
-
reference: z.ZodOptional<z.ZodString>;
|
|
793
|
-
referenceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
794
|
-
writeRequiresMasterRead: z.ZodOptional<z.ZodBoolean>;
|
|
795
|
-
deleteBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["set_null", "cascade", "restrict"]>>>;
|
|
796
|
-
expression: z.ZodOptional<z.ZodString>;
|
|
797
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
798
|
-
summaryOperations: z.ZodOptional<z.ZodObject<{
|
|
799
|
-
object: z.ZodString;
|
|
800
|
-
field: z.ZodString;
|
|
801
|
-
function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
|
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
object: string;
|
|
804
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
805
|
-
field: string;
|
|
806
|
-
}, {
|
|
807
|
-
object: string;
|
|
808
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
809
|
-
field: string;
|
|
810
|
-
}>>;
|
|
811
|
-
language: z.ZodOptional<z.ZodString>;
|
|
812
|
-
theme: z.ZodOptional<z.ZodString>;
|
|
813
|
-
lineNumbers: z.ZodOptional<z.ZodBoolean>;
|
|
814
|
-
maxRating: z.ZodOptional<z.ZodNumber>;
|
|
815
|
-
allowHalf: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
-
displayMap: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
-
allowGeocoding: z.ZodOptional<z.ZodBoolean>;
|
|
818
|
-
addressFormat: z.ZodOptional<z.ZodEnum<["us", "uk", "international"]>>;
|
|
819
|
-
colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
|
|
820
|
-
allowAlpha: z.ZodOptional<z.ZodBoolean>;
|
|
821
|
-
presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
822
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
823
|
-
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
824
|
-
marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
825
|
-
barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
|
|
826
|
-
qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
|
|
827
|
-
displayValue: z.ZodOptional<z.ZodBoolean>;
|
|
828
|
-
allowScanning: z.ZodOptional<z.ZodBoolean>;
|
|
829
|
-
currencyConfig: z.ZodOptional<z.ZodObject<{
|
|
830
|
-
precision: z.ZodDefault<z.ZodNumber>;
|
|
831
|
-
currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
|
|
832
|
-
defaultCurrency: z.ZodDefault<z.ZodString>;
|
|
833
|
-
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
precision: number;
|
|
835
|
-
currencyMode: "dynamic" | "fixed";
|
|
836
|
-
defaultCurrency: string;
|
|
837
|
-
}, {
|
|
838
|
-
precision?: number | undefined;
|
|
839
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
840
|
-
defaultCurrency?: string | undefined;
|
|
841
|
-
}>>;
|
|
842
|
-
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
843
|
-
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
844
|
-
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
845
|
-
index: z.ZodDefault<z.ZodBoolean>;
|
|
846
|
-
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
847
|
-
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
849
|
-
required: boolean;
|
|
850
|
-
searchable: boolean;
|
|
851
|
-
multiple: boolean;
|
|
852
|
-
unique: boolean;
|
|
853
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
854
|
-
hidden: boolean;
|
|
855
|
-
readonly: boolean;
|
|
856
|
-
encryption: boolean;
|
|
857
|
-
index: boolean;
|
|
858
|
-
externalId: boolean;
|
|
859
|
-
options?: {
|
|
860
|
-
value: string;
|
|
861
|
-
label: string;
|
|
862
|
-
color?: string | undefined;
|
|
863
|
-
default?: boolean | undefined;
|
|
864
|
-
}[] | undefined;
|
|
865
|
-
min?: number | undefined;
|
|
866
|
-
max?: number | undefined;
|
|
867
|
-
formula?: string | undefined;
|
|
868
|
-
label?: string | undefined;
|
|
869
|
-
precision?: number | undefined;
|
|
870
|
-
name?: string | undefined;
|
|
871
|
-
description?: string | undefined;
|
|
872
|
-
format?: string | undefined;
|
|
873
|
-
defaultValue?: any;
|
|
874
|
-
maxLength?: number | undefined;
|
|
875
|
-
minLength?: number | undefined;
|
|
876
|
-
scale?: number | undefined;
|
|
877
|
-
reference?: string | undefined;
|
|
878
|
-
referenceFilters?: string[] | undefined;
|
|
879
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
880
|
-
expression?: string | undefined;
|
|
881
|
-
summaryOperations?: {
|
|
882
|
-
object: string;
|
|
883
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
884
|
-
field: string;
|
|
885
|
-
} | undefined;
|
|
886
|
-
language?: string | undefined;
|
|
887
|
-
theme?: string | undefined;
|
|
888
|
-
lineNumbers?: boolean | undefined;
|
|
889
|
-
maxRating?: number | undefined;
|
|
890
|
-
allowHalf?: boolean | undefined;
|
|
891
|
-
displayMap?: boolean | undefined;
|
|
892
|
-
allowGeocoding?: boolean | undefined;
|
|
893
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
894
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
895
|
-
allowAlpha?: boolean | undefined;
|
|
896
|
-
presetColors?: string[] | undefined;
|
|
897
|
-
step?: number | undefined;
|
|
898
|
-
showValue?: boolean | undefined;
|
|
899
|
-
marks?: Record<string, string> | undefined;
|
|
900
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
901
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
902
|
-
displayValue?: boolean | undefined;
|
|
903
|
-
allowScanning?: boolean | undefined;
|
|
904
|
-
currencyConfig?: {
|
|
905
|
-
precision: number;
|
|
906
|
-
currencyMode: "dynamic" | "fixed";
|
|
907
|
-
defaultCurrency: string;
|
|
908
|
-
} | undefined;
|
|
909
|
-
}, {
|
|
910
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
911
|
-
options?: {
|
|
912
|
-
value: string;
|
|
913
|
-
label: string;
|
|
914
|
-
color?: string | undefined;
|
|
915
|
-
default?: boolean | undefined;
|
|
916
|
-
}[] | undefined;
|
|
917
|
-
required?: boolean | undefined;
|
|
918
|
-
min?: number | undefined;
|
|
919
|
-
max?: number | undefined;
|
|
920
|
-
formula?: string | undefined;
|
|
921
|
-
label?: string | undefined;
|
|
922
|
-
precision?: number | undefined;
|
|
923
|
-
name?: string | undefined;
|
|
924
|
-
description?: string | undefined;
|
|
925
|
-
format?: string | undefined;
|
|
926
|
-
searchable?: boolean | undefined;
|
|
927
|
-
multiple?: boolean | undefined;
|
|
928
|
-
unique?: boolean | undefined;
|
|
929
|
-
defaultValue?: any;
|
|
930
|
-
maxLength?: number | undefined;
|
|
931
|
-
minLength?: number | undefined;
|
|
932
|
-
scale?: number | undefined;
|
|
933
|
-
reference?: string | undefined;
|
|
934
|
-
referenceFilters?: string[] | undefined;
|
|
935
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
936
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
937
|
-
expression?: string | undefined;
|
|
938
|
-
summaryOperations?: {
|
|
939
|
-
object: string;
|
|
940
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
941
|
-
field: string;
|
|
942
|
-
} | undefined;
|
|
943
|
-
language?: string | undefined;
|
|
944
|
-
theme?: string | undefined;
|
|
945
|
-
lineNumbers?: boolean | undefined;
|
|
946
|
-
maxRating?: number | undefined;
|
|
947
|
-
allowHalf?: boolean | undefined;
|
|
948
|
-
displayMap?: boolean | undefined;
|
|
949
|
-
allowGeocoding?: boolean | undefined;
|
|
950
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
951
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
952
|
-
allowAlpha?: boolean | undefined;
|
|
953
|
-
presetColors?: string[] | undefined;
|
|
954
|
-
step?: number | undefined;
|
|
955
|
-
showValue?: boolean | undefined;
|
|
956
|
-
marks?: Record<string, string> | undefined;
|
|
957
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
958
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
959
|
-
displayValue?: boolean | undefined;
|
|
960
|
-
allowScanning?: boolean | undefined;
|
|
961
|
-
currencyConfig?: {
|
|
962
|
-
precision?: number | undefined;
|
|
963
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
964
|
-
defaultCurrency?: string | undefined;
|
|
965
|
-
} | undefined;
|
|
966
|
-
hidden?: boolean | undefined;
|
|
967
|
-
readonly?: boolean | undefined;
|
|
968
|
-
encryption?: boolean | undefined;
|
|
969
|
-
index?: boolean | undefined;
|
|
970
|
-
externalId?: boolean | undefined;
|
|
971
|
-
}>>;
|
|
972
|
-
indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
973
|
-
name: z.ZodOptional<z.ZodString>;
|
|
974
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
975
|
-
unique: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
-
type: z.ZodOptional<z.ZodEnum<["btree", "hash", "gin", "gist"]>>;
|
|
977
|
-
}, "strip", z.ZodTypeAny, {
|
|
978
|
-
fields: string[];
|
|
979
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
980
|
-
name?: string | undefined;
|
|
981
|
-
unique?: boolean | undefined;
|
|
982
|
-
}, {
|
|
983
|
-
fields: string[];
|
|
984
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
985
|
-
name?: string | undefined;
|
|
986
|
-
unique?: boolean | undefined;
|
|
987
|
-
}>, "many">>;
|
|
988
|
-
validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
989
|
-
titleFormat: z.ZodOptional<z.ZodString>;
|
|
990
|
-
compactLayout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
991
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
992
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
993
|
-
displayFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
994
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
995
|
-
}, "strip", z.ZodTypeAny, {
|
|
996
|
-
fields: string[];
|
|
997
|
-
displayFields?: string[] | undefined;
|
|
998
|
-
filters?: string[] | undefined;
|
|
999
|
-
}, {
|
|
1000
|
-
fields: string[];
|
|
1001
|
-
displayFields?: string[] | undefined;
|
|
1002
|
-
filters?: string[] | undefined;
|
|
1003
|
-
}>>;
|
|
1004
|
-
enable: z.ZodOptional<z.ZodObject<{
|
|
1005
|
-
trackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
1006
|
-
searchable: z.ZodDefault<z.ZodBoolean>;
|
|
1007
|
-
apiEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1008
|
-
apiMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["get", "list", "create", "update", "delete", "upsert", "bulk", "aggregate", "history", "search", "restore", "purge", "import", "export"]>, "many">>;
|
|
1009
|
-
files: z.ZodDefault<z.ZodBoolean>;
|
|
1010
|
-
feeds: z.ZodDefault<z.ZodBoolean>;
|
|
1011
|
-
activities: z.ZodDefault<z.ZodBoolean>;
|
|
1012
|
-
trash: z.ZodDefault<z.ZodBoolean>;
|
|
1013
|
-
mru: z.ZodDefault<z.ZodBoolean>;
|
|
1014
|
-
clone: z.ZodDefault<z.ZodBoolean>;
|
|
1015
|
-
}, "strip", z.ZodTypeAny, {
|
|
1016
|
-
searchable: boolean;
|
|
1017
|
-
trackHistory: boolean;
|
|
1018
|
-
apiEnabled: boolean;
|
|
1019
|
-
files: boolean;
|
|
1020
|
-
feeds: boolean;
|
|
1021
|
-
activities: boolean;
|
|
1022
|
-
trash: boolean;
|
|
1023
|
-
mru: boolean;
|
|
1024
|
-
clone: boolean;
|
|
1025
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1026
|
-
}, {
|
|
1027
|
-
searchable?: boolean | undefined;
|
|
1028
|
-
trackHistory?: boolean | undefined;
|
|
1029
|
-
apiEnabled?: boolean | undefined;
|
|
1030
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1031
|
-
files?: boolean | undefined;
|
|
1032
|
-
feeds?: boolean | undefined;
|
|
1033
|
-
activities?: boolean | undefined;
|
|
1034
|
-
trash?: boolean | undefined;
|
|
1035
|
-
mru?: boolean | undefined;
|
|
1036
|
-
clone?: boolean | undefined;
|
|
1037
|
-
}>>;
|
|
1038
|
-
}, "strip", z.ZodTypeAny, {
|
|
1039
|
-
fields: Record<string, {
|
|
1040
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
1041
|
-
required: boolean;
|
|
1042
|
-
searchable: boolean;
|
|
1043
|
-
multiple: boolean;
|
|
1044
|
-
unique: boolean;
|
|
1045
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
1046
|
-
hidden: boolean;
|
|
1047
|
-
readonly: boolean;
|
|
1048
|
-
encryption: boolean;
|
|
1049
|
-
index: boolean;
|
|
1050
|
-
externalId: boolean;
|
|
1051
|
-
options?: {
|
|
1052
|
-
value: string;
|
|
1053
|
-
label: string;
|
|
1054
|
-
color?: string | undefined;
|
|
1055
|
-
default?: boolean | undefined;
|
|
1056
|
-
}[] | undefined;
|
|
1057
|
-
min?: number | undefined;
|
|
1058
|
-
max?: number | undefined;
|
|
1059
|
-
formula?: string | undefined;
|
|
1060
|
-
label?: string | undefined;
|
|
1061
|
-
precision?: number | undefined;
|
|
1062
|
-
name?: string | undefined;
|
|
1063
|
-
description?: string | undefined;
|
|
1064
|
-
format?: string | undefined;
|
|
1065
|
-
defaultValue?: any;
|
|
1066
|
-
maxLength?: number | undefined;
|
|
1067
|
-
minLength?: number | undefined;
|
|
1068
|
-
scale?: number | undefined;
|
|
1069
|
-
reference?: string | undefined;
|
|
1070
|
-
referenceFilters?: string[] | undefined;
|
|
1071
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
1072
|
-
expression?: string | undefined;
|
|
1073
|
-
summaryOperations?: {
|
|
1074
|
-
object: string;
|
|
1075
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1076
|
-
field: string;
|
|
1077
|
-
} | undefined;
|
|
1078
|
-
language?: string | undefined;
|
|
1079
|
-
theme?: string | undefined;
|
|
1080
|
-
lineNumbers?: boolean | undefined;
|
|
1081
|
-
maxRating?: number | undefined;
|
|
1082
|
-
allowHalf?: boolean | undefined;
|
|
1083
|
-
displayMap?: boolean | undefined;
|
|
1084
|
-
allowGeocoding?: boolean | undefined;
|
|
1085
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1086
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1087
|
-
allowAlpha?: boolean | undefined;
|
|
1088
|
-
presetColors?: string[] | undefined;
|
|
1089
|
-
step?: number | undefined;
|
|
1090
|
-
showValue?: boolean | undefined;
|
|
1091
|
-
marks?: Record<string, string> | undefined;
|
|
1092
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1093
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1094
|
-
displayValue?: boolean | undefined;
|
|
1095
|
-
allowScanning?: boolean | undefined;
|
|
1096
|
-
currencyConfig?: {
|
|
1097
|
-
precision: number;
|
|
1098
|
-
currencyMode: "dynamic" | "fixed";
|
|
1099
|
-
defaultCurrency: string;
|
|
1100
|
-
} | undefined;
|
|
1101
|
-
}>;
|
|
1102
|
-
name: string;
|
|
1103
|
-
active: boolean;
|
|
1104
|
-
isSystem: boolean;
|
|
1105
|
-
abstract: boolean;
|
|
1106
|
-
datasource: string;
|
|
1107
|
-
label?: string | undefined;
|
|
1108
|
-
description?: string | undefined;
|
|
1109
|
-
tags?: string[] | undefined;
|
|
1110
|
-
search?: {
|
|
1111
|
-
fields: string[];
|
|
1112
|
-
displayFields?: string[] | undefined;
|
|
1113
|
-
filters?: string[] | undefined;
|
|
1114
|
-
} | undefined;
|
|
1115
|
-
pluralLabel?: string | undefined;
|
|
1116
|
-
icon?: string | undefined;
|
|
1117
|
-
tableName?: string | undefined;
|
|
1118
|
-
indexes?: {
|
|
1119
|
-
fields: string[];
|
|
1120
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
1121
|
-
name?: string | undefined;
|
|
1122
|
-
unique?: boolean | undefined;
|
|
1123
|
-
}[] | undefined;
|
|
1124
|
-
validations?: any[] | undefined;
|
|
1125
|
-
titleFormat?: string | undefined;
|
|
1126
|
-
compactLayout?: string[] | undefined;
|
|
1127
|
-
enable?: {
|
|
1128
|
-
searchable: boolean;
|
|
1129
|
-
trackHistory: boolean;
|
|
1130
|
-
apiEnabled: boolean;
|
|
1131
|
-
files: boolean;
|
|
1132
|
-
feeds: boolean;
|
|
1133
|
-
activities: boolean;
|
|
1134
|
-
trash: boolean;
|
|
1135
|
-
mru: boolean;
|
|
1136
|
-
clone: boolean;
|
|
1137
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1138
|
-
} | undefined;
|
|
1139
|
-
}, {
|
|
1140
|
-
fields: Record<string, {
|
|
1141
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
1142
|
-
options?: {
|
|
1143
|
-
value: string;
|
|
1144
|
-
label: string;
|
|
1145
|
-
color?: string | undefined;
|
|
1146
|
-
default?: boolean | undefined;
|
|
1147
|
-
}[] | undefined;
|
|
1148
|
-
required?: boolean | undefined;
|
|
1149
|
-
min?: number | undefined;
|
|
1150
|
-
max?: number | undefined;
|
|
1151
|
-
formula?: string | undefined;
|
|
1152
|
-
label?: string | undefined;
|
|
1153
|
-
precision?: number | undefined;
|
|
1154
|
-
name?: string | undefined;
|
|
1155
|
-
description?: string | undefined;
|
|
1156
|
-
format?: string | undefined;
|
|
1157
|
-
searchable?: boolean | undefined;
|
|
1158
|
-
multiple?: boolean | undefined;
|
|
1159
|
-
unique?: boolean | undefined;
|
|
1160
|
-
defaultValue?: any;
|
|
1161
|
-
maxLength?: number | undefined;
|
|
1162
|
-
minLength?: number | undefined;
|
|
1163
|
-
scale?: number | undefined;
|
|
1164
|
-
reference?: string | undefined;
|
|
1165
|
-
referenceFilters?: string[] | undefined;
|
|
1166
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
1167
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1168
|
-
expression?: string | undefined;
|
|
1169
|
-
summaryOperations?: {
|
|
1170
|
-
object: string;
|
|
1171
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1172
|
-
field: string;
|
|
1173
|
-
} | undefined;
|
|
1174
|
-
language?: string | undefined;
|
|
1175
|
-
theme?: string | undefined;
|
|
1176
|
-
lineNumbers?: boolean | undefined;
|
|
1177
|
-
maxRating?: number | undefined;
|
|
1178
|
-
allowHalf?: boolean | undefined;
|
|
1179
|
-
displayMap?: boolean | undefined;
|
|
1180
|
-
allowGeocoding?: boolean | undefined;
|
|
1181
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1182
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1183
|
-
allowAlpha?: boolean | undefined;
|
|
1184
|
-
presetColors?: string[] | undefined;
|
|
1185
|
-
step?: number | undefined;
|
|
1186
|
-
showValue?: boolean | undefined;
|
|
1187
|
-
marks?: Record<string, string> | undefined;
|
|
1188
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1189
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1190
|
-
displayValue?: boolean | undefined;
|
|
1191
|
-
allowScanning?: boolean | undefined;
|
|
1192
|
-
currencyConfig?: {
|
|
1193
|
-
precision?: number | undefined;
|
|
1194
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
1195
|
-
defaultCurrency?: string | undefined;
|
|
1196
|
-
} | undefined;
|
|
1197
|
-
hidden?: boolean | undefined;
|
|
1198
|
-
readonly?: boolean | undefined;
|
|
1199
|
-
encryption?: boolean | undefined;
|
|
1200
|
-
index?: boolean | undefined;
|
|
1201
|
-
externalId?: boolean | undefined;
|
|
1202
|
-
}>;
|
|
1203
|
-
name: string;
|
|
1204
|
-
label?: string | undefined;
|
|
1205
|
-
description?: string | undefined;
|
|
1206
|
-
active?: boolean | undefined;
|
|
1207
|
-
tags?: string[] | undefined;
|
|
1208
|
-
search?: {
|
|
1209
|
-
fields: string[];
|
|
1210
|
-
displayFields?: string[] | undefined;
|
|
1211
|
-
filters?: string[] | undefined;
|
|
1212
|
-
} | undefined;
|
|
1213
|
-
pluralLabel?: string | undefined;
|
|
1214
|
-
icon?: string | undefined;
|
|
1215
|
-
isSystem?: boolean | undefined;
|
|
1216
|
-
abstract?: boolean | undefined;
|
|
1217
|
-
datasource?: string | undefined;
|
|
1218
|
-
tableName?: string | undefined;
|
|
1219
|
-
indexes?: {
|
|
1220
|
-
fields: string[];
|
|
1221
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
1222
|
-
name?: string | undefined;
|
|
1223
|
-
unique?: boolean | undefined;
|
|
1224
|
-
}[] | undefined;
|
|
1225
|
-
validations?: any[] | undefined;
|
|
1226
|
-
titleFormat?: string | undefined;
|
|
1227
|
-
compactLayout?: string[] | undefined;
|
|
1228
|
-
enable?: {
|
|
1229
|
-
searchable?: boolean | undefined;
|
|
1230
|
-
trackHistory?: boolean | undefined;
|
|
1231
|
-
apiEnabled?: boolean | undefined;
|
|
1232
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1233
|
-
files?: boolean | undefined;
|
|
1234
|
-
feeds?: boolean | undefined;
|
|
1235
|
-
activities?: boolean | undefined;
|
|
1236
|
-
trash?: boolean | undefined;
|
|
1237
|
-
mru?: boolean | undefined;
|
|
1238
|
-
clone?: boolean | undefined;
|
|
1239
|
-
} | undefined;
|
|
1240
|
-
}>>>(config: T) => T;
|
|
1241
|
-
}>>;
|
|
1242
|
-
datasource: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1243
|
-
name: z.ZodString;
|
|
1244
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1245
|
-
driver: z.ZodString;
|
|
1246
|
-
config: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1247
|
-
pool: z.ZodOptional<z.ZodObject<{
|
|
1248
|
-
min: z.ZodDefault<z.ZodNumber>;
|
|
1249
|
-
max: z.ZodDefault<z.ZodNumber>;
|
|
1250
|
-
idleTimeoutMillis: z.ZodDefault<z.ZodNumber>;
|
|
1251
|
-
connectionTimeoutMillis: z.ZodDefault<z.ZodNumber>;
|
|
1252
|
-
}, "strip", z.ZodTypeAny, {
|
|
1253
|
-
min: number;
|
|
1254
|
-
max: number;
|
|
1255
|
-
idleTimeoutMillis: number;
|
|
1256
|
-
connectionTimeoutMillis: number;
|
|
1257
|
-
}, {
|
|
1258
|
-
min?: number | undefined;
|
|
1259
|
-
max?: number | undefined;
|
|
1260
|
-
idleTimeoutMillis?: number | undefined;
|
|
1261
|
-
connectionTimeoutMillis?: number | undefined;
|
|
1262
|
-
}>>;
|
|
1263
|
-
readReplicas: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>;
|
|
1264
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1265
|
-
transactions: z.ZodDefault<z.ZodBoolean>;
|
|
1266
|
-
queryFilters: z.ZodDefault<z.ZodBoolean>;
|
|
1267
|
-
queryAggregations: z.ZodDefault<z.ZodBoolean>;
|
|
1268
|
-
querySorting: z.ZodDefault<z.ZodBoolean>;
|
|
1269
|
-
queryPagination: z.ZodDefault<z.ZodBoolean>;
|
|
1270
|
-
queryWindowFunctions: z.ZodDefault<z.ZodBoolean>;
|
|
1271
|
-
querySubqueries: z.ZodDefault<z.ZodBoolean>;
|
|
1272
|
-
joins: z.ZodDefault<z.ZodBoolean>;
|
|
1273
|
-
fullTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
1274
|
-
readOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1275
|
-
dynamicSchema: z.ZodDefault<z.ZodBoolean>;
|
|
1276
|
-
}, "strip", z.ZodTypeAny, {
|
|
1277
|
-
joins: boolean;
|
|
1278
|
-
transactions: boolean;
|
|
1279
|
-
queryFilters: boolean;
|
|
1280
|
-
queryAggregations: boolean;
|
|
1281
|
-
querySorting: boolean;
|
|
1282
|
-
queryPagination: boolean;
|
|
1283
|
-
queryWindowFunctions: boolean;
|
|
1284
|
-
querySubqueries: boolean;
|
|
1285
|
-
fullTextSearch: boolean;
|
|
1286
|
-
readOnly: boolean;
|
|
1287
|
-
dynamicSchema: boolean;
|
|
1288
|
-
}, {
|
|
1289
|
-
joins?: boolean | undefined;
|
|
1290
|
-
transactions?: boolean | undefined;
|
|
1291
|
-
queryFilters?: boolean | undefined;
|
|
1292
|
-
queryAggregations?: boolean | undefined;
|
|
1293
|
-
querySorting?: boolean | undefined;
|
|
1294
|
-
queryPagination?: boolean | undefined;
|
|
1295
|
-
queryWindowFunctions?: boolean | undefined;
|
|
1296
|
-
querySubqueries?: boolean | undefined;
|
|
1297
|
-
fullTextSearch?: boolean | undefined;
|
|
1298
|
-
readOnly?: boolean | undefined;
|
|
1299
|
-
dynamicSchema?: boolean | undefined;
|
|
1300
|
-
}>>;
|
|
1301
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1302
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
1303
|
-
}, "strip", z.ZodTypeAny, {
|
|
1304
|
-
name: string;
|
|
1305
|
-
active: boolean;
|
|
1306
|
-
driver: string;
|
|
1307
|
-
config: Record<string, any>;
|
|
1308
|
-
label?: string | undefined;
|
|
1309
|
-
description?: string | undefined;
|
|
1310
|
-
capabilities?: {
|
|
1311
|
-
joins: boolean;
|
|
1312
|
-
transactions: boolean;
|
|
1313
|
-
queryFilters: boolean;
|
|
1314
|
-
queryAggregations: boolean;
|
|
1315
|
-
querySorting: boolean;
|
|
1316
|
-
queryPagination: boolean;
|
|
1317
|
-
queryWindowFunctions: boolean;
|
|
1318
|
-
querySubqueries: boolean;
|
|
1319
|
-
fullTextSearch: boolean;
|
|
1320
|
-
readOnly: boolean;
|
|
1321
|
-
dynamicSchema: boolean;
|
|
1322
|
-
} | undefined;
|
|
1323
|
-
pool?: {
|
|
1324
|
-
min: number;
|
|
1325
|
-
max: number;
|
|
1326
|
-
idleTimeoutMillis: number;
|
|
1327
|
-
connectionTimeoutMillis: number;
|
|
1328
|
-
} | undefined;
|
|
1329
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
1330
|
-
}, {
|
|
1331
|
-
name: string;
|
|
1332
|
-
driver: string;
|
|
1333
|
-
config: Record<string, any>;
|
|
1334
|
-
label?: string | undefined;
|
|
1335
|
-
description?: string | undefined;
|
|
1336
|
-
active?: boolean | undefined;
|
|
1337
|
-
capabilities?: {
|
|
1338
|
-
joins?: boolean | undefined;
|
|
1339
|
-
transactions?: boolean | undefined;
|
|
1340
|
-
queryFilters?: boolean | undefined;
|
|
1341
|
-
queryAggregations?: boolean | undefined;
|
|
1342
|
-
querySorting?: boolean | undefined;
|
|
1343
|
-
queryPagination?: boolean | undefined;
|
|
1344
|
-
queryWindowFunctions?: boolean | undefined;
|
|
1345
|
-
querySubqueries?: boolean | undefined;
|
|
1346
|
-
fullTextSearch?: boolean | undefined;
|
|
1347
|
-
readOnly?: boolean | undefined;
|
|
1348
|
-
dynamicSchema?: boolean | undefined;
|
|
1349
|
-
} | undefined;
|
|
1350
|
-
pool?: {
|
|
1351
|
-
min?: number | undefined;
|
|
1352
|
-
max?: number | undefined;
|
|
1353
|
-
idleTimeoutMillis?: number | undefined;
|
|
1354
|
-
connectionTimeoutMillis?: number | undefined;
|
|
1355
|
-
} | undefined;
|
|
1356
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
1357
|
-
}>>>;
|
|
1358
|
-
}, "strip", z.ZodTypeAny, {
|
|
1359
|
-
datasource?: Record<string, {
|
|
1360
|
-
name: string;
|
|
1361
|
-
active: boolean;
|
|
1362
|
-
driver: string;
|
|
1363
|
-
config: Record<string, any>;
|
|
1364
|
-
label?: string | undefined;
|
|
1365
|
-
description?: string | undefined;
|
|
1366
|
-
capabilities?: {
|
|
1367
|
-
joins: boolean;
|
|
1368
|
-
transactions: boolean;
|
|
1369
|
-
queryFilters: boolean;
|
|
1370
|
-
queryAggregations: boolean;
|
|
1371
|
-
querySorting: boolean;
|
|
1372
|
-
queryPagination: boolean;
|
|
1373
|
-
queryWindowFunctions: boolean;
|
|
1374
|
-
querySubqueries: boolean;
|
|
1375
|
-
fullTextSearch: boolean;
|
|
1376
|
-
readOnly: boolean;
|
|
1377
|
-
dynamicSchema: boolean;
|
|
1378
|
-
} | undefined;
|
|
1379
|
-
pool?: {
|
|
1380
|
-
min: number;
|
|
1381
|
-
max: number;
|
|
1382
|
-
idleTimeoutMillis: number;
|
|
1383
|
-
connectionTimeoutMillis: number;
|
|
1384
|
-
} | undefined;
|
|
1385
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
1386
|
-
}> | undefined;
|
|
1387
|
-
objects?: Record<string, {
|
|
1388
|
-
fields: Record<string, {
|
|
1389
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
1390
|
-
required: boolean;
|
|
1391
|
-
searchable: boolean;
|
|
1392
|
-
multiple: boolean;
|
|
1393
|
-
unique: boolean;
|
|
1394
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
1395
|
-
hidden: boolean;
|
|
1396
|
-
readonly: boolean;
|
|
1397
|
-
encryption: boolean;
|
|
1398
|
-
index: boolean;
|
|
1399
|
-
externalId: boolean;
|
|
1400
|
-
options?: {
|
|
1401
|
-
value: string;
|
|
1402
|
-
label: string;
|
|
1403
|
-
color?: string | undefined;
|
|
1404
|
-
default?: boolean | undefined;
|
|
1405
|
-
}[] | undefined;
|
|
1406
|
-
min?: number | undefined;
|
|
1407
|
-
max?: number | undefined;
|
|
1408
|
-
formula?: string | undefined;
|
|
1409
|
-
label?: string | undefined;
|
|
1410
|
-
precision?: number | undefined;
|
|
1411
|
-
name?: string | undefined;
|
|
1412
|
-
description?: string | undefined;
|
|
1413
|
-
format?: string | undefined;
|
|
1414
|
-
defaultValue?: any;
|
|
1415
|
-
maxLength?: number | undefined;
|
|
1416
|
-
minLength?: number | undefined;
|
|
1417
|
-
scale?: number | undefined;
|
|
1418
|
-
reference?: string | undefined;
|
|
1419
|
-
referenceFilters?: string[] | undefined;
|
|
1420
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
1421
|
-
expression?: string | undefined;
|
|
1422
|
-
summaryOperations?: {
|
|
1423
|
-
object: string;
|
|
1424
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1425
|
-
field: string;
|
|
1426
|
-
} | undefined;
|
|
1427
|
-
language?: string | undefined;
|
|
1428
|
-
theme?: string | undefined;
|
|
1429
|
-
lineNumbers?: boolean | undefined;
|
|
1430
|
-
maxRating?: number | undefined;
|
|
1431
|
-
allowHalf?: boolean | undefined;
|
|
1432
|
-
displayMap?: boolean | undefined;
|
|
1433
|
-
allowGeocoding?: boolean | undefined;
|
|
1434
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1435
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1436
|
-
allowAlpha?: boolean | undefined;
|
|
1437
|
-
presetColors?: string[] | undefined;
|
|
1438
|
-
step?: number | undefined;
|
|
1439
|
-
showValue?: boolean | undefined;
|
|
1440
|
-
marks?: Record<string, string> | undefined;
|
|
1441
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1442
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1443
|
-
displayValue?: boolean | undefined;
|
|
1444
|
-
allowScanning?: boolean | undefined;
|
|
1445
|
-
currencyConfig?: {
|
|
1446
|
-
precision: number;
|
|
1447
|
-
currencyMode: "dynamic" | "fixed";
|
|
1448
|
-
defaultCurrency: string;
|
|
1449
|
-
} | undefined;
|
|
1450
|
-
}>;
|
|
1451
|
-
name: string;
|
|
1452
|
-
active: boolean;
|
|
1453
|
-
isSystem: boolean;
|
|
1454
|
-
abstract: boolean;
|
|
1455
|
-
datasource: string;
|
|
1456
|
-
label?: string | undefined;
|
|
1457
|
-
description?: string | undefined;
|
|
1458
|
-
tags?: string[] | undefined;
|
|
1459
|
-
search?: {
|
|
1460
|
-
fields: string[];
|
|
1461
|
-
displayFields?: string[] | undefined;
|
|
1462
|
-
filters?: string[] | undefined;
|
|
1463
|
-
} | undefined;
|
|
1464
|
-
pluralLabel?: string | undefined;
|
|
1465
|
-
icon?: string | undefined;
|
|
1466
|
-
tableName?: string | undefined;
|
|
1467
|
-
indexes?: {
|
|
1468
|
-
fields: string[];
|
|
1469
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
1470
|
-
name?: string | undefined;
|
|
1471
|
-
unique?: boolean | undefined;
|
|
1472
|
-
}[] | undefined;
|
|
1473
|
-
validations?: any[] | undefined;
|
|
1474
|
-
titleFormat?: string | undefined;
|
|
1475
|
-
compactLayout?: string[] | undefined;
|
|
1476
|
-
enable?: {
|
|
1477
|
-
searchable: boolean;
|
|
1478
|
-
trackHistory: boolean;
|
|
1479
|
-
apiEnabled: boolean;
|
|
1480
|
-
files: boolean;
|
|
1481
|
-
feeds: boolean;
|
|
1482
|
-
activities: boolean;
|
|
1483
|
-
trash: boolean;
|
|
1484
|
-
mru: boolean;
|
|
1485
|
-
clone: boolean;
|
|
1486
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1487
|
-
} | undefined;
|
|
1488
|
-
}> | undefined;
|
|
1489
|
-
}, {
|
|
1490
|
-
datasource?: Record<string, {
|
|
1491
|
-
name: string;
|
|
1492
|
-
driver: string;
|
|
1493
|
-
config: Record<string, any>;
|
|
1494
|
-
label?: string | undefined;
|
|
1495
|
-
description?: string | undefined;
|
|
1496
|
-
active?: boolean | undefined;
|
|
1497
|
-
capabilities?: {
|
|
1498
|
-
joins?: boolean | undefined;
|
|
1499
|
-
transactions?: boolean | undefined;
|
|
1500
|
-
queryFilters?: boolean | undefined;
|
|
1501
|
-
queryAggregations?: boolean | undefined;
|
|
1502
|
-
querySorting?: boolean | undefined;
|
|
1503
|
-
queryPagination?: boolean | undefined;
|
|
1504
|
-
queryWindowFunctions?: boolean | undefined;
|
|
1505
|
-
querySubqueries?: boolean | undefined;
|
|
1506
|
-
fullTextSearch?: boolean | undefined;
|
|
1507
|
-
readOnly?: boolean | undefined;
|
|
1508
|
-
dynamicSchema?: boolean | undefined;
|
|
1509
|
-
} | undefined;
|
|
1510
|
-
pool?: {
|
|
1511
|
-
min?: number | undefined;
|
|
1512
|
-
max?: number | undefined;
|
|
1513
|
-
idleTimeoutMillis?: number | undefined;
|
|
1514
|
-
connectionTimeoutMillis?: number | undefined;
|
|
1515
|
-
} | undefined;
|
|
1516
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
1517
|
-
}> | undefined;
|
|
1518
|
-
objects?: Record<string, {
|
|
1519
|
-
fields: Record<string, {
|
|
1520
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
1521
|
-
options?: {
|
|
1522
|
-
value: string;
|
|
1523
|
-
label: string;
|
|
1524
|
-
color?: string | undefined;
|
|
1525
|
-
default?: boolean | undefined;
|
|
1526
|
-
}[] | undefined;
|
|
1527
|
-
required?: boolean | undefined;
|
|
1528
|
-
min?: number | undefined;
|
|
1529
|
-
max?: number | undefined;
|
|
1530
|
-
formula?: string | undefined;
|
|
1531
|
-
label?: string | undefined;
|
|
1532
|
-
precision?: number | undefined;
|
|
1533
|
-
name?: string | undefined;
|
|
1534
|
-
description?: string | undefined;
|
|
1535
|
-
format?: string | undefined;
|
|
1536
|
-
searchable?: boolean | undefined;
|
|
1537
|
-
multiple?: boolean | undefined;
|
|
1538
|
-
unique?: boolean | undefined;
|
|
1539
|
-
defaultValue?: any;
|
|
1540
|
-
maxLength?: number | undefined;
|
|
1541
|
-
minLength?: number | undefined;
|
|
1542
|
-
scale?: number | undefined;
|
|
1543
|
-
reference?: string | undefined;
|
|
1544
|
-
referenceFilters?: string[] | undefined;
|
|
1545
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
1546
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1547
|
-
expression?: string | undefined;
|
|
1548
|
-
summaryOperations?: {
|
|
1549
|
-
object: string;
|
|
1550
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1551
|
-
field: string;
|
|
1552
|
-
} | undefined;
|
|
1553
|
-
language?: string | undefined;
|
|
1554
|
-
theme?: string | undefined;
|
|
1555
|
-
lineNumbers?: boolean | undefined;
|
|
1556
|
-
maxRating?: number | undefined;
|
|
1557
|
-
allowHalf?: boolean | undefined;
|
|
1558
|
-
displayMap?: boolean | undefined;
|
|
1559
|
-
allowGeocoding?: boolean | undefined;
|
|
1560
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1561
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1562
|
-
allowAlpha?: boolean | undefined;
|
|
1563
|
-
presetColors?: string[] | undefined;
|
|
1564
|
-
step?: number | undefined;
|
|
1565
|
-
showValue?: boolean | undefined;
|
|
1566
|
-
marks?: Record<string, string> | undefined;
|
|
1567
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1568
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1569
|
-
displayValue?: boolean | undefined;
|
|
1570
|
-
allowScanning?: boolean | undefined;
|
|
1571
|
-
currencyConfig?: {
|
|
1572
|
-
precision?: number | undefined;
|
|
1573
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
1574
|
-
defaultCurrency?: string | undefined;
|
|
1575
|
-
} | undefined;
|
|
1576
|
-
hidden?: boolean | undefined;
|
|
1577
|
-
readonly?: boolean | undefined;
|
|
1578
|
-
encryption?: boolean | undefined;
|
|
1579
|
-
index?: boolean | undefined;
|
|
1580
|
-
externalId?: boolean | undefined;
|
|
1581
|
-
}>;
|
|
1582
|
-
name: string;
|
|
1583
|
-
label?: string | undefined;
|
|
1584
|
-
description?: string | undefined;
|
|
1585
|
-
active?: boolean | undefined;
|
|
1586
|
-
tags?: string[] | undefined;
|
|
1587
|
-
search?: {
|
|
1588
|
-
fields: string[];
|
|
1589
|
-
displayFields?: string[] | undefined;
|
|
1590
|
-
filters?: string[] | undefined;
|
|
1591
|
-
} | undefined;
|
|
1592
|
-
pluralLabel?: string | undefined;
|
|
1593
|
-
icon?: string | undefined;
|
|
1594
|
-
isSystem?: boolean | undefined;
|
|
1595
|
-
abstract?: boolean | undefined;
|
|
1596
|
-
datasource?: string | undefined;
|
|
1597
|
-
tableName?: string | undefined;
|
|
1598
|
-
indexes?: {
|
|
1599
|
-
fields: string[];
|
|
1600
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
1601
|
-
name?: string | undefined;
|
|
1602
|
-
unique?: boolean | undefined;
|
|
1603
|
-
}[] | undefined;
|
|
1604
|
-
validations?: any[] | undefined;
|
|
1605
|
-
titleFormat?: string | undefined;
|
|
1606
|
-
compactLayout?: string[] | undefined;
|
|
1607
|
-
enable?: {
|
|
1608
|
-
searchable?: boolean | undefined;
|
|
1609
|
-
trackHistory?: boolean | undefined;
|
|
1610
|
-
apiEnabled?: boolean | undefined;
|
|
1611
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
1612
|
-
files?: boolean | undefined;
|
|
1613
|
-
feeds?: boolean | undefined;
|
|
1614
|
-
activities?: boolean | undefined;
|
|
1615
|
-
trash?: boolean | undefined;
|
|
1616
|
-
mru?: boolean | undefined;
|
|
1617
|
-
clone?: boolean | undefined;
|
|
1618
|
-
} | undefined;
|
|
1619
|
-
}> | undefined;
|
|
1620
|
-
}>>;
|
|
1621
252
|
datasources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1622
253
|
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1623
254
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1779,6 +410,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
1779
410
|
}>, "many">>;
|
|
1780
411
|
}, "strip", z.ZodTypeAny, {
|
|
1781
412
|
events?: string[] | undefined;
|
|
413
|
+
fieldTypes?: {
|
|
414
|
+
label: string;
|
|
415
|
+
name: string;
|
|
416
|
+
description?: string | undefined;
|
|
417
|
+
}[] | undefined;
|
|
1782
418
|
actions?: {
|
|
1783
419
|
name: string;
|
|
1784
420
|
label?: string | undefined;
|
|
@@ -1810,11 +446,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
1810
446
|
id: string;
|
|
1811
447
|
description?: string | undefined;
|
|
1812
448
|
}[] | undefined;
|
|
1813
|
-
fieldTypes?: {
|
|
1814
|
-
label: string;
|
|
1815
|
-
name: string;
|
|
1816
|
-
description?: string | undefined;
|
|
1817
|
-
}[] | undefined;
|
|
1818
449
|
functions?: {
|
|
1819
450
|
name: string;
|
|
1820
451
|
description?: string | undefined;
|
|
@@ -1823,6 +454,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
1823
454
|
}[] | undefined;
|
|
1824
455
|
}, {
|
|
1825
456
|
events?: string[] | undefined;
|
|
457
|
+
fieldTypes?: {
|
|
458
|
+
label: string;
|
|
459
|
+
name: string;
|
|
460
|
+
description?: string | undefined;
|
|
461
|
+
}[] | undefined;
|
|
1826
462
|
actions?: {
|
|
1827
463
|
name: string;
|
|
1828
464
|
label?: string | undefined;
|
|
@@ -1854,11 +490,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
1854
490
|
id: string;
|
|
1855
491
|
description?: string | undefined;
|
|
1856
492
|
}[] | undefined;
|
|
1857
|
-
fieldTypes?: {
|
|
1858
|
-
label: string;
|
|
1859
|
-
name: string;
|
|
1860
|
-
description?: string | undefined;
|
|
1861
|
-
}[] | undefined;
|
|
1862
493
|
functions?: {
|
|
1863
494
|
name: string;
|
|
1864
495
|
description?: string | undefined;
|
|
@@ -1881,152 +512,20 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
1881
512
|
}>, "many">>;
|
|
1882
513
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1883
514
|
}, "strip", z.ZodTypeAny, {
|
|
1884
|
-
type: "
|
|
515
|
+
type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
|
|
1885
516
|
name: string;
|
|
1886
517
|
id: string;
|
|
1887
518
|
version: string;
|
|
1888
519
|
description?: string | undefined;
|
|
520
|
+
objects?: string[] | undefined;
|
|
1889
521
|
data?: {
|
|
1890
522
|
object: string;
|
|
1891
523
|
mode: "insert" | "upsert" | "ignore";
|
|
1892
524
|
records: Record<string, any>[];
|
|
1893
525
|
}[] | undefined;
|
|
1894
|
-
|
|
526
|
+
dependencies?: Record<string, string> | undefined;
|
|
1895
527
|
permissions?: string[] | undefined;
|
|
1896
|
-
definitions?: {
|
|
1897
|
-
datasource?: Record<string, {
|
|
1898
|
-
name: string;
|
|
1899
|
-
active: boolean;
|
|
1900
|
-
driver: string;
|
|
1901
|
-
config: Record<string, any>;
|
|
1902
|
-
label?: string | undefined;
|
|
1903
|
-
description?: string | undefined;
|
|
1904
|
-
capabilities?: {
|
|
1905
|
-
joins: boolean;
|
|
1906
|
-
transactions: boolean;
|
|
1907
|
-
queryFilters: boolean;
|
|
1908
|
-
queryAggregations: boolean;
|
|
1909
|
-
querySorting: boolean;
|
|
1910
|
-
queryPagination: boolean;
|
|
1911
|
-
queryWindowFunctions: boolean;
|
|
1912
|
-
querySubqueries: boolean;
|
|
1913
|
-
fullTextSearch: boolean;
|
|
1914
|
-
readOnly: boolean;
|
|
1915
|
-
dynamicSchema: boolean;
|
|
1916
|
-
} | undefined;
|
|
1917
|
-
pool?: {
|
|
1918
|
-
min: number;
|
|
1919
|
-
max: number;
|
|
1920
|
-
idleTimeoutMillis: number;
|
|
1921
|
-
connectionTimeoutMillis: number;
|
|
1922
|
-
} | undefined;
|
|
1923
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
1924
|
-
}> | undefined;
|
|
1925
|
-
objects?: Record<string, {
|
|
1926
|
-
fields: Record<string, {
|
|
1927
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
1928
|
-
required: boolean;
|
|
1929
|
-
searchable: boolean;
|
|
1930
|
-
multiple: boolean;
|
|
1931
|
-
unique: boolean;
|
|
1932
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
1933
|
-
hidden: boolean;
|
|
1934
|
-
readonly: boolean;
|
|
1935
|
-
encryption: boolean;
|
|
1936
|
-
index: boolean;
|
|
1937
|
-
externalId: boolean;
|
|
1938
|
-
options?: {
|
|
1939
|
-
value: string;
|
|
1940
|
-
label: string;
|
|
1941
|
-
color?: string | undefined;
|
|
1942
|
-
default?: boolean | undefined;
|
|
1943
|
-
}[] | undefined;
|
|
1944
|
-
min?: number | undefined;
|
|
1945
|
-
max?: number | undefined;
|
|
1946
|
-
formula?: string | undefined;
|
|
1947
|
-
label?: string | undefined;
|
|
1948
|
-
precision?: number | undefined;
|
|
1949
|
-
name?: string | undefined;
|
|
1950
|
-
description?: string | undefined;
|
|
1951
|
-
format?: string | undefined;
|
|
1952
|
-
defaultValue?: any;
|
|
1953
|
-
maxLength?: number | undefined;
|
|
1954
|
-
minLength?: number | undefined;
|
|
1955
|
-
scale?: number | undefined;
|
|
1956
|
-
reference?: string | undefined;
|
|
1957
|
-
referenceFilters?: string[] | undefined;
|
|
1958
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
1959
|
-
expression?: string | undefined;
|
|
1960
|
-
summaryOperations?: {
|
|
1961
|
-
object: string;
|
|
1962
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1963
|
-
field: string;
|
|
1964
|
-
} | undefined;
|
|
1965
|
-
language?: string | undefined;
|
|
1966
|
-
theme?: string | undefined;
|
|
1967
|
-
lineNumbers?: boolean | undefined;
|
|
1968
|
-
maxRating?: number | undefined;
|
|
1969
|
-
allowHalf?: boolean | undefined;
|
|
1970
|
-
displayMap?: boolean | undefined;
|
|
1971
|
-
allowGeocoding?: boolean | undefined;
|
|
1972
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1973
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1974
|
-
allowAlpha?: boolean | undefined;
|
|
1975
|
-
presetColors?: string[] | undefined;
|
|
1976
|
-
step?: number | undefined;
|
|
1977
|
-
showValue?: boolean | undefined;
|
|
1978
|
-
marks?: Record<string, string> | undefined;
|
|
1979
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1980
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1981
|
-
displayValue?: boolean | undefined;
|
|
1982
|
-
allowScanning?: boolean | undefined;
|
|
1983
|
-
currencyConfig?: {
|
|
1984
|
-
precision: number;
|
|
1985
|
-
currencyMode: "dynamic" | "fixed";
|
|
1986
|
-
defaultCurrency: string;
|
|
1987
|
-
} | undefined;
|
|
1988
|
-
}>;
|
|
1989
|
-
name: string;
|
|
1990
|
-
active: boolean;
|
|
1991
|
-
isSystem: boolean;
|
|
1992
|
-
abstract: boolean;
|
|
1993
|
-
datasource: string;
|
|
1994
|
-
label?: string | undefined;
|
|
1995
|
-
description?: string | undefined;
|
|
1996
|
-
tags?: string[] | undefined;
|
|
1997
|
-
search?: {
|
|
1998
|
-
fields: string[];
|
|
1999
|
-
displayFields?: string[] | undefined;
|
|
2000
|
-
filters?: string[] | undefined;
|
|
2001
|
-
} | undefined;
|
|
2002
|
-
pluralLabel?: string | undefined;
|
|
2003
|
-
icon?: string | undefined;
|
|
2004
|
-
tableName?: string | undefined;
|
|
2005
|
-
indexes?: {
|
|
2006
|
-
fields: string[];
|
|
2007
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
2008
|
-
name?: string | undefined;
|
|
2009
|
-
unique?: boolean | undefined;
|
|
2010
|
-
}[] | undefined;
|
|
2011
|
-
validations?: any[] | undefined;
|
|
2012
|
-
titleFormat?: string | undefined;
|
|
2013
|
-
compactLayout?: string[] | undefined;
|
|
2014
|
-
enable?: {
|
|
2015
|
-
searchable: boolean;
|
|
2016
|
-
trackHistory: boolean;
|
|
2017
|
-
apiEnabled: boolean;
|
|
2018
|
-
files: boolean;
|
|
2019
|
-
feeds: boolean;
|
|
2020
|
-
activities: boolean;
|
|
2021
|
-
trash: boolean;
|
|
2022
|
-
mru: boolean;
|
|
2023
|
-
clone: boolean;
|
|
2024
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
2025
|
-
} | undefined;
|
|
2026
|
-
}> | undefined;
|
|
2027
|
-
} | undefined;
|
|
2028
528
|
datasources?: string[] | undefined;
|
|
2029
|
-
dependencies?: Record<string, string> | undefined;
|
|
2030
529
|
configuration?: {
|
|
2031
530
|
properties: Record<string, {
|
|
2032
531
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
@@ -2040,6 +539,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2040
539
|
} | undefined;
|
|
2041
540
|
contributes?: {
|
|
2042
541
|
events?: string[] | undefined;
|
|
542
|
+
fieldTypes?: {
|
|
543
|
+
label: string;
|
|
544
|
+
name: string;
|
|
545
|
+
description?: string | undefined;
|
|
546
|
+
}[] | undefined;
|
|
2043
547
|
actions?: {
|
|
2044
548
|
name: string;
|
|
2045
549
|
label?: string | undefined;
|
|
@@ -2071,11 +575,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2071
575
|
id: string;
|
|
2072
576
|
description?: string | undefined;
|
|
2073
577
|
}[] | undefined;
|
|
2074
|
-
fieldTypes?: {
|
|
2075
|
-
label: string;
|
|
2076
|
-
name: string;
|
|
2077
|
-
description?: string | undefined;
|
|
2078
|
-
}[] | undefined;
|
|
2079
578
|
functions?: {
|
|
2080
579
|
name: string;
|
|
2081
580
|
description?: string | undefined;
|
|
@@ -2085,152 +584,20 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2085
584
|
} | undefined;
|
|
2086
585
|
extensions?: Record<string, any> | undefined;
|
|
2087
586
|
}, {
|
|
2088
|
-
type: "
|
|
587
|
+
type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
|
|
2089
588
|
name: string;
|
|
2090
589
|
id: string;
|
|
2091
590
|
version: string;
|
|
2092
591
|
description?: string | undefined;
|
|
592
|
+
objects?: string[] | undefined;
|
|
2093
593
|
data?: {
|
|
2094
594
|
object: string;
|
|
2095
595
|
records: Record<string, any>[];
|
|
2096
596
|
mode?: "insert" | "upsert" | "ignore" | undefined;
|
|
2097
597
|
}[] | undefined;
|
|
2098
|
-
|
|
598
|
+
dependencies?: Record<string, string> | undefined;
|
|
2099
599
|
permissions?: string[] | undefined;
|
|
2100
|
-
definitions?: {
|
|
2101
|
-
datasource?: Record<string, {
|
|
2102
|
-
name: string;
|
|
2103
|
-
driver: string;
|
|
2104
|
-
config: Record<string, any>;
|
|
2105
|
-
label?: string | undefined;
|
|
2106
|
-
description?: string | undefined;
|
|
2107
|
-
active?: boolean | undefined;
|
|
2108
|
-
capabilities?: {
|
|
2109
|
-
joins?: boolean | undefined;
|
|
2110
|
-
transactions?: boolean | undefined;
|
|
2111
|
-
queryFilters?: boolean | undefined;
|
|
2112
|
-
queryAggregations?: boolean | undefined;
|
|
2113
|
-
querySorting?: boolean | undefined;
|
|
2114
|
-
queryPagination?: boolean | undefined;
|
|
2115
|
-
queryWindowFunctions?: boolean | undefined;
|
|
2116
|
-
querySubqueries?: boolean | undefined;
|
|
2117
|
-
fullTextSearch?: boolean | undefined;
|
|
2118
|
-
readOnly?: boolean | undefined;
|
|
2119
|
-
dynamicSchema?: boolean | undefined;
|
|
2120
|
-
} | undefined;
|
|
2121
|
-
pool?: {
|
|
2122
|
-
min?: number | undefined;
|
|
2123
|
-
max?: number | undefined;
|
|
2124
|
-
idleTimeoutMillis?: number | undefined;
|
|
2125
|
-
connectionTimeoutMillis?: number | undefined;
|
|
2126
|
-
} | undefined;
|
|
2127
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
2128
|
-
}> | undefined;
|
|
2129
|
-
objects?: Record<string, {
|
|
2130
|
-
fields: Record<string, {
|
|
2131
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
2132
|
-
options?: {
|
|
2133
|
-
value: string;
|
|
2134
|
-
label: string;
|
|
2135
|
-
color?: string | undefined;
|
|
2136
|
-
default?: boolean | undefined;
|
|
2137
|
-
}[] | undefined;
|
|
2138
|
-
required?: boolean | undefined;
|
|
2139
|
-
min?: number | undefined;
|
|
2140
|
-
max?: number | undefined;
|
|
2141
|
-
formula?: string | undefined;
|
|
2142
|
-
label?: string | undefined;
|
|
2143
|
-
precision?: number | undefined;
|
|
2144
|
-
name?: string | undefined;
|
|
2145
|
-
description?: string | undefined;
|
|
2146
|
-
format?: string | undefined;
|
|
2147
|
-
searchable?: boolean | undefined;
|
|
2148
|
-
multiple?: boolean | undefined;
|
|
2149
|
-
unique?: boolean | undefined;
|
|
2150
|
-
defaultValue?: any;
|
|
2151
|
-
maxLength?: number | undefined;
|
|
2152
|
-
minLength?: number | undefined;
|
|
2153
|
-
scale?: number | undefined;
|
|
2154
|
-
reference?: string | undefined;
|
|
2155
|
-
referenceFilters?: string[] | undefined;
|
|
2156
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
2157
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2158
|
-
expression?: string | undefined;
|
|
2159
|
-
summaryOperations?: {
|
|
2160
|
-
object: string;
|
|
2161
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2162
|
-
field: string;
|
|
2163
|
-
} | undefined;
|
|
2164
|
-
language?: string | undefined;
|
|
2165
|
-
theme?: string | undefined;
|
|
2166
|
-
lineNumbers?: boolean | undefined;
|
|
2167
|
-
maxRating?: number | undefined;
|
|
2168
|
-
allowHalf?: boolean | undefined;
|
|
2169
|
-
displayMap?: boolean | undefined;
|
|
2170
|
-
allowGeocoding?: boolean | undefined;
|
|
2171
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2172
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2173
|
-
allowAlpha?: boolean | undefined;
|
|
2174
|
-
presetColors?: string[] | undefined;
|
|
2175
|
-
step?: number | undefined;
|
|
2176
|
-
showValue?: boolean | undefined;
|
|
2177
|
-
marks?: Record<string, string> | undefined;
|
|
2178
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2179
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2180
|
-
displayValue?: boolean | undefined;
|
|
2181
|
-
allowScanning?: boolean | undefined;
|
|
2182
|
-
currencyConfig?: {
|
|
2183
|
-
precision?: number | undefined;
|
|
2184
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
2185
|
-
defaultCurrency?: string | undefined;
|
|
2186
|
-
} | undefined;
|
|
2187
|
-
hidden?: boolean | undefined;
|
|
2188
|
-
readonly?: boolean | undefined;
|
|
2189
|
-
encryption?: boolean | undefined;
|
|
2190
|
-
index?: boolean | undefined;
|
|
2191
|
-
externalId?: boolean | undefined;
|
|
2192
|
-
}>;
|
|
2193
|
-
name: string;
|
|
2194
|
-
label?: string | undefined;
|
|
2195
|
-
description?: string | undefined;
|
|
2196
|
-
active?: boolean | undefined;
|
|
2197
|
-
tags?: string[] | undefined;
|
|
2198
|
-
search?: {
|
|
2199
|
-
fields: string[];
|
|
2200
|
-
displayFields?: string[] | undefined;
|
|
2201
|
-
filters?: string[] | undefined;
|
|
2202
|
-
} | undefined;
|
|
2203
|
-
pluralLabel?: string | undefined;
|
|
2204
|
-
icon?: string | undefined;
|
|
2205
|
-
isSystem?: boolean | undefined;
|
|
2206
|
-
abstract?: boolean | undefined;
|
|
2207
|
-
datasource?: string | undefined;
|
|
2208
|
-
tableName?: string | undefined;
|
|
2209
|
-
indexes?: {
|
|
2210
|
-
fields: string[];
|
|
2211
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
2212
|
-
name?: string | undefined;
|
|
2213
|
-
unique?: boolean | undefined;
|
|
2214
|
-
}[] | undefined;
|
|
2215
|
-
validations?: any[] | undefined;
|
|
2216
|
-
titleFormat?: string | undefined;
|
|
2217
|
-
compactLayout?: string[] | undefined;
|
|
2218
|
-
enable?: {
|
|
2219
|
-
searchable?: boolean | undefined;
|
|
2220
|
-
trackHistory?: boolean | undefined;
|
|
2221
|
-
apiEnabled?: boolean | undefined;
|
|
2222
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
2223
|
-
files?: boolean | undefined;
|
|
2224
|
-
feeds?: boolean | undefined;
|
|
2225
|
-
activities?: boolean | undefined;
|
|
2226
|
-
trash?: boolean | undefined;
|
|
2227
|
-
mru?: boolean | undefined;
|
|
2228
|
-
clone?: boolean | undefined;
|
|
2229
|
-
} | undefined;
|
|
2230
|
-
}> | undefined;
|
|
2231
|
-
} | undefined;
|
|
2232
600
|
datasources?: string[] | undefined;
|
|
2233
|
-
dependencies?: Record<string, string> | undefined;
|
|
2234
601
|
configuration?: {
|
|
2235
602
|
properties: Record<string, {
|
|
2236
603
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
@@ -2244,6 +611,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2244
611
|
} | undefined;
|
|
2245
612
|
contributes?: {
|
|
2246
613
|
events?: string[] | undefined;
|
|
614
|
+
fieldTypes?: {
|
|
615
|
+
label: string;
|
|
616
|
+
name: string;
|
|
617
|
+
description?: string | undefined;
|
|
618
|
+
}[] | undefined;
|
|
2247
619
|
actions?: {
|
|
2248
620
|
name: string;
|
|
2249
621
|
label?: string | undefined;
|
|
@@ -2275,11 +647,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2275
647
|
id: string;
|
|
2276
648
|
description?: string | undefined;
|
|
2277
649
|
}[] | undefined;
|
|
2278
|
-
fieldTypes?: {
|
|
2279
|
-
label: string;
|
|
2280
|
-
name: string;
|
|
2281
|
-
description?: string | undefined;
|
|
2282
|
-
}[] | undefined;
|
|
2283
650
|
functions?: {
|
|
2284
651
|
name: string;
|
|
2285
652
|
description?: string | undefined;
|
|
@@ -2329,152 +696,20 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2329
696
|
timestamp: string;
|
|
2330
697
|
buildId: string;
|
|
2331
698
|
manifest?: {
|
|
2332
|
-
type: "
|
|
699
|
+
type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
|
|
2333
700
|
name: string;
|
|
2334
701
|
id: string;
|
|
2335
702
|
version: string;
|
|
2336
703
|
description?: string | undefined;
|
|
704
|
+
objects?: string[] | undefined;
|
|
2337
705
|
data?: {
|
|
2338
706
|
object: string;
|
|
2339
707
|
mode: "insert" | "upsert" | "ignore";
|
|
2340
708
|
records: Record<string, any>[];
|
|
2341
709
|
}[] | undefined;
|
|
2342
|
-
|
|
710
|
+
dependencies?: Record<string, string> | undefined;
|
|
2343
711
|
permissions?: string[] | undefined;
|
|
2344
|
-
definitions?: {
|
|
2345
|
-
datasource?: Record<string, {
|
|
2346
|
-
name: string;
|
|
2347
|
-
active: boolean;
|
|
2348
|
-
driver: string;
|
|
2349
|
-
config: Record<string, any>;
|
|
2350
|
-
label?: string | undefined;
|
|
2351
|
-
description?: string | undefined;
|
|
2352
|
-
capabilities?: {
|
|
2353
|
-
joins: boolean;
|
|
2354
|
-
transactions: boolean;
|
|
2355
|
-
queryFilters: boolean;
|
|
2356
|
-
queryAggregations: boolean;
|
|
2357
|
-
querySorting: boolean;
|
|
2358
|
-
queryPagination: boolean;
|
|
2359
|
-
queryWindowFunctions: boolean;
|
|
2360
|
-
querySubqueries: boolean;
|
|
2361
|
-
fullTextSearch: boolean;
|
|
2362
|
-
readOnly: boolean;
|
|
2363
|
-
dynamicSchema: boolean;
|
|
2364
|
-
} | undefined;
|
|
2365
|
-
pool?: {
|
|
2366
|
-
min: number;
|
|
2367
|
-
max: number;
|
|
2368
|
-
idleTimeoutMillis: number;
|
|
2369
|
-
connectionTimeoutMillis: number;
|
|
2370
|
-
} | undefined;
|
|
2371
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
2372
|
-
}> | undefined;
|
|
2373
|
-
objects?: Record<string, {
|
|
2374
|
-
fields: Record<string, {
|
|
2375
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
2376
|
-
required: boolean;
|
|
2377
|
-
searchable: boolean;
|
|
2378
|
-
multiple: boolean;
|
|
2379
|
-
unique: boolean;
|
|
2380
|
-
deleteBehavior: "set_null" | "cascade" | "restrict";
|
|
2381
|
-
hidden: boolean;
|
|
2382
|
-
readonly: boolean;
|
|
2383
|
-
encryption: boolean;
|
|
2384
|
-
index: boolean;
|
|
2385
|
-
externalId: boolean;
|
|
2386
|
-
options?: {
|
|
2387
|
-
value: string;
|
|
2388
|
-
label: string;
|
|
2389
|
-
color?: string | undefined;
|
|
2390
|
-
default?: boolean | undefined;
|
|
2391
|
-
}[] | undefined;
|
|
2392
|
-
min?: number | undefined;
|
|
2393
|
-
max?: number | undefined;
|
|
2394
|
-
formula?: string | undefined;
|
|
2395
|
-
label?: string | undefined;
|
|
2396
|
-
precision?: number | undefined;
|
|
2397
|
-
name?: string | undefined;
|
|
2398
|
-
description?: string | undefined;
|
|
2399
|
-
format?: string | undefined;
|
|
2400
|
-
defaultValue?: any;
|
|
2401
|
-
maxLength?: number | undefined;
|
|
2402
|
-
minLength?: number | undefined;
|
|
2403
|
-
scale?: number | undefined;
|
|
2404
|
-
reference?: string | undefined;
|
|
2405
|
-
referenceFilters?: string[] | undefined;
|
|
2406
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
2407
|
-
expression?: string | undefined;
|
|
2408
|
-
summaryOperations?: {
|
|
2409
|
-
object: string;
|
|
2410
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2411
|
-
field: string;
|
|
2412
|
-
} | undefined;
|
|
2413
|
-
language?: string | undefined;
|
|
2414
|
-
theme?: string | undefined;
|
|
2415
|
-
lineNumbers?: boolean | undefined;
|
|
2416
|
-
maxRating?: number | undefined;
|
|
2417
|
-
allowHalf?: boolean | undefined;
|
|
2418
|
-
displayMap?: boolean | undefined;
|
|
2419
|
-
allowGeocoding?: boolean | undefined;
|
|
2420
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2421
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2422
|
-
allowAlpha?: boolean | undefined;
|
|
2423
|
-
presetColors?: string[] | undefined;
|
|
2424
|
-
step?: number | undefined;
|
|
2425
|
-
showValue?: boolean | undefined;
|
|
2426
|
-
marks?: Record<string, string> | undefined;
|
|
2427
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2428
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2429
|
-
displayValue?: boolean | undefined;
|
|
2430
|
-
allowScanning?: boolean | undefined;
|
|
2431
|
-
currencyConfig?: {
|
|
2432
|
-
precision: number;
|
|
2433
|
-
currencyMode: "dynamic" | "fixed";
|
|
2434
|
-
defaultCurrency: string;
|
|
2435
|
-
} | undefined;
|
|
2436
|
-
}>;
|
|
2437
|
-
name: string;
|
|
2438
|
-
active: boolean;
|
|
2439
|
-
isSystem: boolean;
|
|
2440
|
-
abstract: boolean;
|
|
2441
|
-
datasource: string;
|
|
2442
|
-
label?: string | undefined;
|
|
2443
|
-
description?: string | undefined;
|
|
2444
|
-
tags?: string[] | undefined;
|
|
2445
|
-
search?: {
|
|
2446
|
-
fields: string[];
|
|
2447
|
-
displayFields?: string[] | undefined;
|
|
2448
|
-
filters?: string[] | undefined;
|
|
2449
|
-
} | undefined;
|
|
2450
|
-
pluralLabel?: string | undefined;
|
|
2451
|
-
icon?: string | undefined;
|
|
2452
|
-
tableName?: string | undefined;
|
|
2453
|
-
indexes?: {
|
|
2454
|
-
fields: string[];
|
|
2455
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
2456
|
-
name?: string | undefined;
|
|
2457
|
-
unique?: boolean | undefined;
|
|
2458
|
-
}[] | undefined;
|
|
2459
|
-
validations?: any[] | undefined;
|
|
2460
|
-
titleFormat?: string | undefined;
|
|
2461
|
-
compactLayout?: string[] | undefined;
|
|
2462
|
-
enable?: {
|
|
2463
|
-
searchable: boolean;
|
|
2464
|
-
trackHistory: boolean;
|
|
2465
|
-
apiEnabled: boolean;
|
|
2466
|
-
files: boolean;
|
|
2467
|
-
feeds: boolean;
|
|
2468
|
-
activities: boolean;
|
|
2469
|
-
trash: boolean;
|
|
2470
|
-
mru: boolean;
|
|
2471
|
-
clone: boolean;
|
|
2472
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
2473
|
-
} | undefined;
|
|
2474
|
-
}> | undefined;
|
|
2475
|
-
} | undefined;
|
|
2476
712
|
datasources?: string[] | undefined;
|
|
2477
|
-
dependencies?: Record<string, string> | undefined;
|
|
2478
713
|
configuration?: {
|
|
2479
714
|
properties: Record<string, {
|
|
2480
715
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
@@ -2488,6 +723,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2488
723
|
} | undefined;
|
|
2489
724
|
contributes?: {
|
|
2490
725
|
events?: string[] | undefined;
|
|
726
|
+
fieldTypes?: {
|
|
727
|
+
label: string;
|
|
728
|
+
name: string;
|
|
729
|
+
description?: string | undefined;
|
|
730
|
+
}[] | undefined;
|
|
2491
731
|
actions?: {
|
|
2492
732
|
name: string;
|
|
2493
733
|
label?: string | undefined;
|
|
@@ -2519,11 +759,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2519
759
|
id: string;
|
|
2520
760
|
description?: string | undefined;
|
|
2521
761
|
}[] | undefined;
|
|
2522
|
-
fieldTypes?: {
|
|
2523
|
-
label: string;
|
|
2524
|
-
name: string;
|
|
2525
|
-
description?: string | undefined;
|
|
2526
|
-
}[] | undefined;
|
|
2527
762
|
functions?: {
|
|
2528
763
|
name: string;
|
|
2529
764
|
description?: string | undefined;
|
|
@@ -2548,152 +783,20 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2548
783
|
timestamp: string;
|
|
2549
784
|
buildId: string;
|
|
2550
785
|
manifest?: {
|
|
2551
|
-
type: "
|
|
786
|
+
type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
|
|
2552
787
|
name: string;
|
|
2553
788
|
id: string;
|
|
2554
789
|
version: string;
|
|
2555
790
|
description?: string | undefined;
|
|
791
|
+
objects?: string[] | undefined;
|
|
2556
792
|
data?: {
|
|
2557
793
|
object: string;
|
|
2558
794
|
records: Record<string, any>[];
|
|
2559
795
|
mode?: "insert" | "upsert" | "ignore" | undefined;
|
|
2560
796
|
}[] | undefined;
|
|
2561
|
-
|
|
797
|
+
dependencies?: Record<string, string> | undefined;
|
|
2562
798
|
permissions?: string[] | undefined;
|
|
2563
|
-
definitions?: {
|
|
2564
|
-
datasource?: Record<string, {
|
|
2565
|
-
name: string;
|
|
2566
|
-
driver: string;
|
|
2567
|
-
config: Record<string, any>;
|
|
2568
|
-
label?: string | undefined;
|
|
2569
|
-
description?: string | undefined;
|
|
2570
|
-
active?: boolean | undefined;
|
|
2571
|
-
capabilities?: {
|
|
2572
|
-
joins?: boolean | undefined;
|
|
2573
|
-
transactions?: boolean | undefined;
|
|
2574
|
-
queryFilters?: boolean | undefined;
|
|
2575
|
-
queryAggregations?: boolean | undefined;
|
|
2576
|
-
querySorting?: boolean | undefined;
|
|
2577
|
-
queryPagination?: boolean | undefined;
|
|
2578
|
-
queryWindowFunctions?: boolean | undefined;
|
|
2579
|
-
querySubqueries?: boolean | undefined;
|
|
2580
|
-
fullTextSearch?: boolean | undefined;
|
|
2581
|
-
readOnly?: boolean | undefined;
|
|
2582
|
-
dynamicSchema?: boolean | undefined;
|
|
2583
|
-
} | undefined;
|
|
2584
|
-
pool?: {
|
|
2585
|
-
min?: number | undefined;
|
|
2586
|
-
max?: number | undefined;
|
|
2587
|
-
idleTimeoutMillis?: number | undefined;
|
|
2588
|
-
connectionTimeoutMillis?: number | undefined;
|
|
2589
|
-
} | undefined;
|
|
2590
|
-
readReplicas?: Record<string, any>[] | undefined;
|
|
2591
|
-
}> | undefined;
|
|
2592
|
-
objects?: Record<string, {
|
|
2593
|
-
fields: Record<string, {
|
|
2594
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
2595
|
-
options?: {
|
|
2596
|
-
value: string;
|
|
2597
|
-
label: string;
|
|
2598
|
-
color?: string | undefined;
|
|
2599
|
-
default?: boolean | undefined;
|
|
2600
|
-
}[] | undefined;
|
|
2601
|
-
required?: boolean | undefined;
|
|
2602
|
-
min?: number | undefined;
|
|
2603
|
-
max?: number | undefined;
|
|
2604
|
-
formula?: string | undefined;
|
|
2605
|
-
label?: string | undefined;
|
|
2606
|
-
precision?: number | undefined;
|
|
2607
|
-
name?: string | undefined;
|
|
2608
|
-
description?: string | undefined;
|
|
2609
|
-
format?: string | undefined;
|
|
2610
|
-
searchable?: boolean | undefined;
|
|
2611
|
-
multiple?: boolean | undefined;
|
|
2612
|
-
unique?: boolean | undefined;
|
|
2613
|
-
defaultValue?: any;
|
|
2614
|
-
maxLength?: number | undefined;
|
|
2615
|
-
minLength?: number | undefined;
|
|
2616
|
-
scale?: number | undefined;
|
|
2617
|
-
reference?: string | undefined;
|
|
2618
|
-
referenceFilters?: string[] | undefined;
|
|
2619
|
-
writeRequiresMasterRead?: boolean | undefined;
|
|
2620
|
-
deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2621
|
-
expression?: string | undefined;
|
|
2622
|
-
summaryOperations?: {
|
|
2623
|
-
object: string;
|
|
2624
|
-
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2625
|
-
field: string;
|
|
2626
|
-
} | undefined;
|
|
2627
|
-
language?: string | undefined;
|
|
2628
|
-
theme?: string | undefined;
|
|
2629
|
-
lineNumbers?: boolean | undefined;
|
|
2630
|
-
maxRating?: number | undefined;
|
|
2631
|
-
allowHalf?: boolean | undefined;
|
|
2632
|
-
displayMap?: boolean | undefined;
|
|
2633
|
-
allowGeocoding?: boolean | undefined;
|
|
2634
|
-
addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2635
|
-
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2636
|
-
allowAlpha?: boolean | undefined;
|
|
2637
|
-
presetColors?: string[] | undefined;
|
|
2638
|
-
step?: number | undefined;
|
|
2639
|
-
showValue?: boolean | undefined;
|
|
2640
|
-
marks?: Record<string, string> | undefined;
|
|
2641
|
-
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2642
|
-
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2643
|
-
displayValue?: boolean | undefined;
|
|
2644
|
-
allowScanning?: boolean | undefined;
|
|
2645
|
-
currencyConfig?: {
|
|
2646
|
-
precision?: number | undefined;
|
|
2647
|
-
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
2648
|
-
defaultCurrency?: string | undefined;
|
|
2649
|
-
} | undefined;
|
|
2650
|
-
hidden?: boolean | undefined;
|
|
2651
|
-
readonly?: boolean | undefined;
|
|
2652
|
-
encryption?: boolean | undefined;
|
|
2653
|
-
index?: boolean | undefined;
|
|
2654
|
-
externalId?: boolean | undefined;
|
|
2655
|
-
}>;
|
|
2656
|
-
name: string;
|
|
2657
|
-
label?: string | undefined;
|
|
2658
|
-
description?: string | undefined;
|
|
2659
|
-
active?: boolean | undefined;
|
|
2660
|
-
tags?: string[] | undefined;
|
|
2661
|
-
search?: {
|
|
2662
|
-
fields: string[];
|
|
2663
|
-
displayFields?: string[] | undefined;
|
|
2664
|
-
filters?: string[] | undefined;
|
|
2665
|
-
} | undefined;
|
|
2666
|
-
pluralLabel?: string | undefined;
|
|
2667
|
-
icon?: string | undefined;
|
|
2668
|
-
isSystem?: boolean | undefined;
|
|
2669
|
-
abstract?: boolean | undefined;
|
|
2670
|
-
datasource?: string | undefined;
|
|
2671
|
-
tableName?: string | undefined;
|
|
2672
|
-
indexes?: {
|
|
2673
|
-
fields: string[];
|
|
2674
|
-
type?: "hash" | "btree" | "gin" | "gist" | undefined;
|
|
2675
|
-
name?: string | undefined;
|
|
2676
|
-
unique?: boolean | undefined;
|
|
2677
|
-
}[] | undefined;
|
|
2678
|
-
validations?: any[] | undefined;
|
|
2679
|
-
titleFormat?: string | undefined;
|
|
2680
|
-
compactLayout?: string[] | undefined;
|
|
2681
|
-
enable?: {
|
|
2682
|
-
searchable?: boolean | undefined;
|
|
2683
|
-
trackHistory?: boolean | undefined;
|
|
2684
|
-
apiEnabled?: boolean | undefined;
|
|
2685
|
-
apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
|
|
2686
|
-
files?: boolean | undefined;
|
|
2687
|
-
feeds?: boolean | undefined;
|
|
2688
|
-
activities?: boolean | undefined;
|
|
2689
|
-
trash?: boolean | undefined;
|
|
2690
|
-
mru?: boolean | undefined;
|
|
2691
|
-
clone?: boolean | undefined;
|
|
2692
|
-
} | undefined;
|
|
2693
|
-
}> | undefined;
|
|
2694
|
-
} | undefined;
|
|
2695
799
|
datasources?: string[] | undefined;
|
|
2696
|
-
dependencies?: Record<string, string> | undefined;
|
|
2697
800
|
configuration?: {
|
|
2698
801
|
properties: Record<string, {
|
|
2699
802
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
@@ -2707,6 +810,11 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2707
810
|
} | undefined;
|
|
2708
811
|
contributes?: {
|
|
2709
812
|
events?: string[] | undefined;
|
|
813
|
+
fieldTypes?: {
|
|
814
|
+
label: string;
|
|
815
|
+
name: string;
|
|
816
|
+
description?: string | undefined;
|
|
817
|
+
}[] | undefined;
|
|
2710
818
|
actions?: {
|
|
2711
819
|
name: string;
|
|
2712
820
|
label?: string | undefined;
|
|
@@ -2738,11 +846,6 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
2738
846
|
id: string;
|
|
2739
847
|
description?: string | undefined;
|
|
2740
848
|
}[] | undefined;
|
|
2741
|
-
fieldTypes?: {
|
|
2742
|
-
label: string;
|
|
2743
|
-
name: string;
|
|
2744
|
-
description?: string | undefined;
|
|
2745
|
-
}[] | undefined;
|
|
2746
849
|
functions?: {
|
|
2747
850
|
name: string;
|
|
2748
851
|
description?: string | undefined;
|