@baseplate-dev/project-builder-lib 0.5.2 → 0.6.0
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/CHANGELOG.md +69 -0
- package/dist/definition/index.d.ts +0 -1
- package/dist/definition/index.d.ts.map +1 -1
- package/dist/definition/index.js +0 -1
- package/dist/definition/index.js.map +1 -1
- package/dist/definition/model/model-field-utils.js +2 -2
- package/dist/definition/model/model-field-utils.js.map +1 -1
- package/dist/definition/model/model-utils.d.ts.map +1 -1
- package/dist/definition/model/model-utils.js +2 -2
- package/dist/definition/model/model-utils.js.map +1 -1
- package/dist/definition/project-definition-container.d.ts +21 -12
- package/dist/definition/project-definition-container.d.ts.map +1 -1
- package/dist/definition/project-definition-container.js +42 -23
- package/dist/definition/project-definition-container.js.map +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +6 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/migration-024-graphql-object-type-field-auth.d.ts +30 -0
- package/dist/migrations/migration-024-graphql-object-type-field-auth.d.ts.map +1 -0
- package/dist/migrations/migration-024-graphql-object-type-field-auth.js +54 -0
- package/dist/migrations/migration-024-graphql-object-type-field-auth.js.map +1 -0
- package/dist/migrations/migration-025-service-method-auth.d.ts +44 -0
- package/dist/migrations/migration-025-service-method-auth.d.ts.map +1 -0
- package/dist/migrations/migration-025-service-method-auth.js +62 -0
- package/dist/migrations/migration-025-service-method-auth.js.map +1 -0
- package/dist/migrations/migration-026-query-shared-roles.d.ts +32 -0
- package/dist/migrations/migration-026-query-shared-roles.d.ts.map +1 -0
- package/dist/migrations/migration-026-query-shared-roles.js +48 -0
- package/dist/migrations/migration-026-query-shared-roles.js.map +1 -0
- package/dist/parser/apply-definition-fixes.d.ts +13 -0
- package/dist/parser/apply-definition-fixes.d.ts.map +1 -0
- package/dist/parser/apply-definition-fixes.js +25 -0
- package/dist/parser/apply-definition-fixes.js.map +1 -0
- package/dist/parser/clean-default-values.d.ts +14 -0
- package/dist/parser/clean-default-values.d.ts.map +1 -0
- package/dist/parser/clean-default-values.js +24 -0
- package/dist/parser/clean-default-values.js.map +1 -0
- package/dist/parser/collect-definition-issues.d.ts +36 -0
- package/dist/parser/collect-definition-issues.d.ts.map +1 -0
- package/dist/parser/collect-definition-issues.js +94 -0
- package/dist/parser/collect-definition-issues.js.map +1 -0
- package/dist/parser/collect-expression-issues.d.ts +17 -0
- package/dist/parser/collect-expression-issues.d.ts.map +1 -0
- package/dist/parser/collect-expression-issues.js +33 -0
- package/dist/parser/collect-expression-issues.js.map +1 -0
- package/dist/parser/definition-issue-checkers/mutation-roles-checker.d.ts +11 -0
- package/dist/parser/definition-issue-checkers/mutation-roles-checker.d.ts.map +1 -0
- package/dist/parser/definition-issue-checkers/mutation-roles-checker.js +41 -0
- package/dist/parser/definition-issue-checkers/mutation-roles-checker.js.map +1 -0
- package/dist/parser/definition-issue-checkers/relation-type-mismatch-checker.d.ts +10 -0
- package/dist/parser/definition-issue-checkers/relation-type-mismatch-checker.d.ts.map +1 -0
- package/dist/parser/definition-issue-checkers/relation-type-mismatch-checker.js +36 -0
- package/dist/parser/definition-issue-checkers/relation-type-mismatch-checker.js.map +1 -0
- package/dist/parser/definition-issue-utils.d.ts +23 -0
- package/dist/parser/definition-issue-utils.d.ts.map +1 -0
- package/dist/parser/definition-issue-utils.js +33 -0
- package/dist/parser/definition-issue-utils.js.map +1 -0
- package/dist/parser/index.d.ts +9 -0
- package/dist/parser/index.d.ts.map +1 -1
- package/dist/parser/index.js +8 -0
- package/dist/parser/index.js.map +1 -1
- package/dist/parser/parser.d.ts.map +1 -1
- package/dist/parser/parser.js +7 -2
- package/dist/parser/parser.js.map +1 -1
- package/dist/parser/schema-structure.d.ts +53 -0
- package/dist/parser/schema-structure.d.ts.map +1 -0
- package/dist/parser/schema-structure.js +171 -0
- package/dist/parser/schema-structure.js.map +1 -0
- package/dist/parser/transform-data-with-schema.d.ts +35 -0
- package/dist/parser/transform-data-with-schema.d.ts.map +1 -0
- package/dist/parser/transform-data-with-schema.js +140 -0
- package/dist/parser/transform-data-with-schema.js.map +1 -0
- package/dist/parser/types.d.ts +6 -3
- package/dist/parser/types.d.ts.map +1 -1
- package/dist/parser/walk-data-with-schema.d.ts +46 -0
- package/dist/parser/walk-data-with-schema.d.ts.map +1 -0
- package/dist/parser/walk-data-with-schema.js +140 -0
- package/dist/parser/walk-data-with-schema.js.map +1 -0
- package/dist/parser/walk-schema-structure.d.ts +60 -0
- package/dist/parser/walk-schema-structure.d.ts.map +1 -0
- package/dist/parser/walk-schema-structure.js +163 -0
- package/dist/parser/walk-schema-structure.js.map +1 -0
- package/dist/plugins/imports/loader.d.ts +1 -1
- package/dist/plugins/imports/loader.d.ts.map +1 -1
- package/dist/plugins/imports/loader.js +2 -2
- package/dist/plugins/imports/loader.js.map +1 -1
- package/dist/plugins/imports/types.d.ts +1 -1
- package/dist/plugins/imports/types.d.ts.map +1 -1
- package/dist/plugins/metadata/types.d.ts +1 -1
- package/dist/plugins/metadata/types.js +1 -1
- package/dist/plugins/plugins.test-utils.d.ts +15 -0
- package/dist/plugins/plugins.test-utils.d.ts.map +1 -1
- package/dist/plugins/plugins.test-utils.js +24 -0
- package/dist/plugins/plugins.test-utils.js.map +1 -1
- package/dist/plugins/spec/config-spec.d.ts +1 -0
- package/dist/plugins/spec/config-spec.d.ts.map +1 -1
- package/dist/plugins/spec/config-spec.js +1 -0
- package/dist/plugins/spec/config-spec.js.map +1 -1
- package/dist/plugins/store/store.d.ts +6 -1
- package/dist/plugins/store/store.d.ts.map +1 -1
- package/dist/plugins/store/store.js +9 -1
- package/dist/plugins/store/store.js.map +1 -1
- package/dist/references/definition-ref-registry.d.ts +105 -0
- package/dist/references/definition-ref-registry.d.ts.map +1 -0
- package/dist/references/definition-ref-registry.js +40 -0
- package/dist/references/definition-ref-registry.js.map +1 -0
- package/dist/references/deserialize-schema.d.ts +4 -6
- package/dist/references/deserialize-schema.d.ts.map +1 -1
- package/dist/references/deserialize-schema.js +4 -5
- package/dist/references/deserialize-schema.js.map +1 -1
- package/dist/references/expression-types.d.ts +46 -14
- package/dist/references/expression-types.d.ts.map +1 -1
- package/dist/references/expression-types.js +17 -0
- package/dist/references/expression-types.js.map +1 -1
- package/dist/references/extend-parser-context-with-refs.d.ts +32 -2
- package/dist/references/extend-parser-context-with-refs.d.ts.map +1 -1
- package/dist/references/extend-parser-context-with-refs.js +123 -163
- package/dist/references/extend-parser-context-with-refs.js.map +1 -1
- package/dist/references/extract-definition-refs.d.ts +9 -8
- package/dist/references/extract-definition-refs.d.ts.map +1 -1
- package/dist/references/extract-definition-refs.js +110 -26
- package/dist/references/extract-definition-refs.js.map +1 -1
- package/dist/references/fix-ref-deletions.d.ts +6 -6
- package/dist/references/fix-ref-deletions.d.ts.map +1 -1
- package/dist/references/fix-ref-deletions.js +2 -2
- package/dist/references/fix-ref-deletions.js.map +1 -1
- package/dist/references/index.d.ts +3 -0
- package/dist/references/index.d.ts.map +1 -1
- package/dist/references/index.js +3 -0
- package/dist/references/index.js.map +1 -1
- package/dist/references/parse-schema-with-references.d.ts +8 -6
- package/dist/references/parse-schema-with-references.d.ts.map +1 -1
- package/dist/references/parse-schema-with-references.js +10 -12
- package/dist/references/parse-schema-with-references.js.map +1 -1
- package/dist/references/ref-schema-visitor.d.ts +33 -0
- package/dist/references/ref-schema-visitor.d.ts.map +1 -0
- package/dist/references/ref-schema-visitor.js +61 -0
- package/dist/references/ref-schema-visitor.js.map +1 -0
- package/dist/references/resolve-slots.d.ts +1 -1
- package/dist/references/resolve-slots.d.ts.map +1 -1
- package/dist/references/serialize-schema.d.ts +9 -2
- package/dist/references/serialize-schema.d.ts.map +1 -1
- package/dist/references/serialize-schema.js +20 -4
- package/dist/references/serialize-schema.js.map +1 -1
- package/dist/schema/apps/web/admin/admin.d.ts +22 -37
- package/dist/schema/apps/web/admin/admin.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts +6 -15
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js +3 -8
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts +6 -15
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js +3 -8
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts +9 -15
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js +3 -8
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud.d.ts +6 -6
- package/dist/schema/apps/web/web-app.d.ts +32 -47
- package/dist/schema/apps/web/web-app.d.ts.map +1 -1
- package/dist/schema/creator/definition-default-registry.d.ts +22 -0
- package/dist/schema/creator/definition-default-registry.d.ts.map +1 -0
- package/dist/schema/creator/definition-default-registry.js +18 -0
- package/dist/schema/creator/definition-default-registry.js.map +1 -0
- package/dist/schema/creator/definition-fix-registry.d.ts +45 -0
- package/dist/schema/creator/definition-fix-registry.d.ts.map +1 -0
- package/dist/schema/creator/definition-fix-registry.js +41 -0
- package/dist/schema/creator/definition-fix-registry.js.map +1 -0
- package/dist/schema/creator/definition-issue-checker-spec.d.ts +37 -0
- package/dist/schema/creator/definition-issue-checker-spec.d.ts.map +1 -0
- package/dist/schema/creator/definition-issue-checker-spec.js +28 -0
- package/dist/schema/creator/definition-issue-checker-spec.js.map +1 -0
- package/dist/schema/creator/definition-issue-checkers.d.ts +16 -0
- package/dist/schema/creator/definition-issue-checkers.d.ts.map +1 -0
- package/dist/schema/creator/definition-issue-checkers.js +35 -0
- package/dist/schema/creator/definition-issue-checkers.js.map +1 -0
- package/dist/schema/creator/definition-issue-registry.d.ts +54 -0
- package/dist/schema/creator/definition-issue-registry.d.ts.map +1 -0
- package/dist/schema/creator/definition-issue-registry.js +47 -0
- package/dist/schema/creator/definition-issue-registry.js.map +1 -0
- package/dist/schema/creator/definition-issue-types.d.ts +53 -0
- package/dist/schema/creator/definition-issue-types.d.ts.map +1 -0
- package/dist/schema/creator/definition-issue-types.js +2 -0
- package/dist/schema/creator/definition-issue-types.js.map +1 -0
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts +20 -4
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts.map +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.js +24 -42
- package/dist/schema/creator/extend-parser-context-with-defaults.js.map +1 -1
- package/dist/schema/creator/index.d.ts +6 -0
- package/dist/schema/creator/index.d.ts.map +1 -1
- package/dist/schema/creator/index.js +5 -0
- package/dist/schema/creator/index.js.map +1 -1
- package/dist/schema/creator/schema-creator.d.ts.map +1 -1
- package/dist/schema/creator/schema-creator.js +18 -4
- package/dist/schema/creator/schema-creator.js.map +1 -1
- package/dist/schema/creator/types.d.ts +3 -30
- package/dist/schema/creator/types.d.ts.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-acorn-parser.d.ts.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-acorn-parser.js +116 -25
- package/dist/schema/models/authorizer/authorizer-expression-acorn-parser.js.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-ast.d.ts +82 -1
- package/dist/schema/models/authorizer/authorizer-expression-ast.d.ts.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-ast.js.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-parser.d.ts +8 -9
- package/dist/schema/models/authorizer/authorizer-expression-parser.d.ts.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-parser.js +28 -35
- package/dist/schema/models/authorizer/authorizer-expression-parser.js.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-validator.d.ts +42 -4
- package/dist/schema/models/authorizer/authorizer-expression-validator.d.ts.map +1 -1
- package/dist/schema/models/authorizer/authorizer-expression-validator.js +119 -18
- package/dist/schema/models/authorizer/authorizer-expression-validator.js.map +1 -1
- package/dist/schema/models/graphql.d.ts +42 -111
- package/dist/schema/models/graphql.d.ts.map +1 -1
- package/dist/schema/models/graphql.js +59 -19
- package/dist/schema/models/graphql.js.map +1 -1
- package/dist/schema/models/models.d.ts +1134 -343
- package/dist/schema/models/models.d.ts.map +1 -1
- package/dist/schema/models/models.js +258 -86
- package/dist/schema/models/models.js.map +1 -1
- package/dist/schema/plugins/definition.d.ts +2 -30
- package/dist/schema/plugins/definition.d.ts.map +1 -1
- package/dist/schema/plugins/definition.js +26 -15
- package/dist/schema/plugins/definition.js.map +1 -1
- package/dist/schema/project-definition.d.ts +532 -186
- package/dist/schema/project-definition.d.ts.map +1 -1
- package/dist/schema/project-definition.js +15 -3
- package/dist/schema/project-definition.js.map +1 -1
- package/dist/schema/settings/general.d.ts +1 -1
- package/dist/schema/settings/general.d.ts.map +1 -1
- package/dist/schema/settings/general.js +4 -1
- package/dist/schema/settings/general.js.map +1 -1
- package/dist/schema/settings/settings.d.ts +3 -3
- package/dist/schema/settings/theme.d.ts +3 -3
- package/dist/testing/definition-helpers.test-helper.d.ts +12 -0
- package/dist/testing/definition-helpers.test-helper.d.ts.map +1 -0
- package/dist/testing/definition-helpers.test-helper.js +77 -0
- package/dist/testing/definition-helpers.test-helper.js.map +1 -0
- package/dist/testing/expression-stub-parser.test-helper.d.ts +59 -0
- package/dist/testing/expression-stub-parser.test-helper.d.ts.map +1 -0
- package/dist/testing/expression-stub-parser.test-helper.js +79 -0
- package/dist/testing/expression-stub-parser.test-helper.js.map +1 -0
- package/dist/testing/expression-warning-parser.test-helper.d.ts +39 -0
- package/dist/testing/expression-warning-parser.test-helper.d.ts.map +1 -0
- package/dist/testing/expression-warning-parser.test-helper.js +62 -0
- package/dist/testing/expression-warning-parser.test-helper.js.map +1 -0
- package/dist/testing/index.d.ts +5 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +5 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/parser-context.test-helper.d.ts +8 -0
- package/dist/testing/parser-context.test-helper.d.ts.map +1 -0
- package/dist/testing/parser-context.test-helper.js +16 -0
- package/dist/testing/parser-context.test-helper.js.map +1 -0
- package/dist/{definition/project-definition-container.test-utils.d.ts → testing/project-definition-container.test-helper.d.ts} +4 -2
- package/dist/testing/project-definition-container.test-helper.d.ts.map +1 -0
- package/dist/{definition/project-definition-container.test-utils.js → testing/project-definition-container.test-helper.js} +11 -5
- package/dist/testing/project-definition-container.test-helper.js.map +1 -0
- package/dist/tools/assign-entity-ids.d.ts +17 -0
- package/dist/tools/assign-entity-ids.d.ts.map +1 -0
- package/dist/tools/assign-entity-ids.js +34 -0
- package/dist/tools/assign-entity-ids.js.map +1 -0
- package/dist/tools/entity-service/entity-navigation.d.ts +13 -0
- package/dist/tools/entity-service/entity-navigation.d.ts.map +1 -0
- package/dist/tools/entity-service/entity-navigation.js +84 -0
- package/dist/tools/entity-service/entity-navigation.js.map +1 -0
- package/dist/tools/entity-service/entity-read.d.ts +38 -0
- package/dist/tools/entity-service/entity-read.d.ts.map +1 -0
- package/dist/tools/entity-service/entity-read.js +56 -0
- package/dist/tools/entity-service/entity-read.js.map +1 -0
- package/dist/tools/entity-service/entity-type-map.d.ts +18 -0
- package/dist/tools/entity-service/entity-type-map.d.ts.map +1 -0
- package/dist/tools/entity-service/entity-type-map.js +75 -0
- package/dist/tools/entity-service/entity-type-map.js.map +1 -0
- package/dist/tools/entity-service/entity-write.d.ts +39 -0
- package/dist/tools/entity-service/entity-write.d.ts.map +1 -0
- package/dist/tools/entity-service/entity-write.js +99 -0
- package/dist/tools/entity-service/entity-write.js.map +1 -0
- package/dist/tools/entity-service/index.d.ts +5 -0
- package/dist/tools/entity-service/index.d.ts.map +1 -0
- package/dist/tools/entity-service/index.js +4 -0
- package/dist/tools/entity-service/index.js.map +1 -0
- package/dist/tools/entity-service/types.d.ts +41 -0
- package/dist/tools/entity-service/types.d.ts.map +1 -0
- package/dist/tools/entity-service/types.js +2 -0
- package/dist/tools/entity-service/types.js.map +1 -0
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +2 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/merge-schema/diff-definition.d.ts +74 -0
- package/dist/tools/merge-schema/diff-definition.d.ts.map +1 -0
- package/dist/tools/merge-schema/diff-definition.js +163 -0
- package/dist/tools/merge-schema/diff-definition.js.map +1 -0
- package/dist/tools/merge-schema/entity-utils.d.ts +18 -0
- package/dist/tools/merge-schema/entity-utils.d.ts.map +1 -0
- package/dist/tools/merge-schema/entity-utils.js +42 -0
- package/dist/tools/merge-schema/entity-utils.js.map +1 -0
- package/dist/tools/merge-schema/index.d.ts +10 -0
- package/dist/tools/merge-schema/index.d.ts.map +1 -0
- package/dist/tools/merge-schema/index.js +7 -0
- package/dist/tools/merge-schema/index.js.map +1 -0
- package/dist/tools/merge-schema/merge-data-with-schema.d.ts +21 -0
- package/dist/tools/merge-schema/merge-data-with-schema.d.ts.map +1 -0
- package/dist/tools/merge-schema/merge-data-with-schema.js +168 -0
- package/dist/tools/merge-schema/merge-data-with-schema.js.map +1 -0
- package/dist/tools/merge-schema/merge-definition.d.ts +42 -0
- package/dist/tools/merge-schema/merge-definition.d.ts.map +1 -0
- package/dist/tools/merge-schema/merge-definition.js +53 -0
- package/dist/tools/merge-schema/merge-definition.js.map +1 -0
- package/dist/tools/merge-schema/merge-rule-registry.d.ts +47 -0
- package/dist/tools/merge-schema/merge-rule-registry.d.ts.map +1 -0
- package/dist/tools/merge-schema/merge-rule-registry.js +53 -0
- package/dist/tools/merge-schema/merge-rule-registry.js.map +1 -0
- package/dist/tools/merge-schema/walk-schema.d.ts +26 -0
- package/dist/tools/merge-schema/walk-schema.d.ts.map +1 -0
- package/dist/tools/merge-schema/walk-schema.js +94 -0
- package/dist/tools/merge-schema/walk-schema.js.map +1 -0
- package/dist/utils/definition-diff/definition-diff.js.map +1 -1
- package/dist/web/components/definition-diff-alert.d.ts +9 -0
- package/dist/web/components/definition-diff-alert.d.ts.map +1 -0
- package/dist/web/components/definition-diff-alert.js +17 -0
- package/dist/web/components/definition-diff-alert.js.map +1 -0
- package/dist/web/components/index.d.ts +1 -1
- package/dist/web/components/index.d.ts.map +1 -1
- package/dist/web/components/index.js +1 -1
- package/dist/web/components/index.js.map +1 -1
- package/dist/web/hooks/use-project-definition.d.ts +10 -2
- package/dist/web/hooks/use-project-definition.d.ts.map +1 -1
- package/dist/web/hooks/use-project-definition.js.map +1 -1
- package/dist/web/specs/entity-type-url-web-spec.d.ts +68 -0
- package/dist/web/specs/entity-type-url-web-spec.d.ts.map +1 -0
- package/dist/web/specs/entity-type-url-web-spec.js +27 -0
- package/dist/web/specs/entity-type-url-web-spec.js.map +1 -0
- package/dist/web/specs/index.d.ts +1 -0
- package/dist/web/specs/index.d.ts.map +1 -1
- package/dist/web/specs/index.js +1 -0
- package/dist/web/specs/index.js.map +1 -1
- package/package.json +13 -11
- package/dist/definition/project-definition-container.test-utils.d.ts.map +0 -1
- package/dist/definition/project-definition-container.test-utils.js.map +0 -1
- package/dist/references/collect-refs.d.ts +0 -24
- package/dist/references/collect-refs.d.ts.map +0 -1
- package/dist/references/collect-refs.js +0 -86
- package/dist/references/collect-refs.js.map +0 -1
- package/dist/references/markers.d.ts +0 -59
- package/dist/references/markers.d.ts.map +0 -1
- package/dist/references/markers.js +0 -29
- package/dist/references/markers.js.map +0 -1
- package/dist/references/strip-ref-markers.d.ts +0 -7
- package/dist/references/strip-ref-markers.d.ts.map +0 -1
- package/dist/references/strip-ref-markers.js +0 -25
- package/dist/references/strip-ref-markers.js.map +0 -1
- package/dist/schema/models/mocks.d.ts +0 -6
- package/dist/schema/models/mocks.d.ts.map +0 -1
- package/dist/schema/models/mocks.js +0 -55
- package/dist/schema/models/mocks.js.map +0 -1
- package/dist/tools/model-merger/index.d.ts +0 -2
- package/dist/tools/model-merger/index.d.ts.map +0 -1
- package/dist/tools/model-merger/index.js +0 -2
- package/dist/tools/model-merger/index.js.map +0 -1
- package/dist/tools/model-merger/model-merger.d.ts +0 -569
- package/dist/tools/model-merger/model-merger.d.ts.map +0 -1
- package/dist/tools/model-merger/model-merger.js +0 -319
- package/dist/tools/model-merger/model-merger.js.map +0 -1
- package/dist/web/components/model-merger-result-alert.d.ts +0 -8
- package/dist/web/components/model-merger-result-alert.d.ts.map +0 -1
- package/dist/web/components/model-merger-result-alert.js +0 -20
- package/dist/web/components/model-merger-result-alert.js.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PartialDeep } from 'type-fest';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import type { def } from './creator/index.js';
|
|
3
4
|
export declare const createAppSchema: (context: import("./creator/types.js").DefinitionSchemaParserContext) => z.ZodType<{
|
|
@@ -11,18 +12,16 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
11
12
|
} | {
|
|
12
13
|
devPort: number;
|
|
13
14
|
type: "web";
|
|
15
|
+
includeAuth: boolean;
|
|
14
16
|
title: string;
|
|
15
17
|
description: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
includeUploadComponents?: boolean | undefined;
|
|
20
|
-
enableSubscriptions?: boolean | undefined;
|
|
21
|
-
adminApp?: {
|
|
18
|
+
includeUploadComponents: boolean;
|
|
19
|
+
enableSubscriptions: boolean;
|
|
20
|
+
adminApp: {
|
|
22
21
|
enabled: boolean;
|
|
23
22
|
pathPrefix: string;
|
|
24
|
-
allowedRoles
|
|
25
|
-
sections
|
|
23
|
+
allowedRoles: string[];
|
|
24
|
+
sections: ({
|
|
26
25
|
id: string;
|
|
27
26
|
name: string;
|
|
28
27
|
featureRef: string;
|
|
@@ -32,6 +31,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
32
31
|
type: "crud";
|
|
33
32
|
modelRef: string;
|
|
34
33
|
nameFieldRef: string;
|
|
34
|
+
disableCreate: boolean;
|
|
35
35
|
table: {
|
|
36
36
|
columns: {
|
|
37
37
|
[x: string]: unknown;
|
|
@@ -39,12 +39,12 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
39
39
|
type: string;
|
|
40
40
|
label: string;
|
|
41
41
|
}[];
|
|
42
|
-
actions
|
|
42
|
+
actions: {
|
|
43
43
|
[x: string]: unknown;
|
|
44
44
|
id: string;
|
|
45
45
|
type: string;
|
|
46
46
|
position: "inline" | "dropdown";
|
|
47
|
-
}[]
|
|
47
|
+
}[];
|
|
48
48
|
};
|
|
49
49
|
form: {
|
|
50
50
|
fields: {
|
|
@@ -54,7 +54,6 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
54
54
|
label: string;
|
|
55
55
|
}[];
|
|
56
56
|
};
|
|
57
|
-
disableCreate?: boolean | undefined;
|
|
58
57
|
embeddedForms?: ({
|
|
59
58
|
id: string;
|
|
60
59
|
name: string;
|
|
@@ -92,8 +91,10 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
92
91
|
};
|
|
93
92
|
includeIdField?: boolean | undefined;
|
|
94
93
|
})[] | undefined;
|
|
95
|
-
})[]
|
|
96
|
-
}
|
|
94
|
+
})[];
|
|
95
|
+
};
|
|
96
|
+
id: string;
|
|
97
|
+
name: string;
|
|
97
98
|
}, {
|
|
98
99
|
type: "backend";
|
|
99
100
|
devPort: number;
|
|
@@ -199,18 +200,16 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
199
200
|
} | {
|
|
200
201
|
devPort: number;
|
|
201
202
|
type: "web";
|
|
203
|
+
includeAuth: boolean;
|
|
202
204
|
title: string;
|
|
203
205
|
description: string;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
includeUploadComponents?: boolean | undefined;
|
|
208
|
-
enableSubscriptions?: boolean | undefined;
|
|
209
|
-
adminApp?: {
|
|
206
|
+
includeUploadComponents: boolean;
|
|
207
|
+
enableSubscriptions: boolean;
|
|
208
|
+
adminApp: {
|
|
210
209
|
enabled: boolean;
|
|
211
210
|
pathPrefix: string;
|
|
212
|
-
allowedRoles
|
|
213
|
-
sections
|
|
211
|
+
allowedRoles: string[];
|
|
212
|
+
sections: ({
|
|
214
213
|
id: string;
|
|
215
214
|
name: string;
|
|
216
215
|
featureRef: string;
|
|
@@ -220,6 +219,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
220
219
|
type: "crud";
|
|
221
220
|
modelRef: string;
|
|
222
221
|
nameFieldRef: string;
|
|
222
|
+
disableCreate: boolean;
|
|
223
223
|
table: {
|
|
224
224
|
columns: {
|
|
225
225
|
[x: string]: unknown;
|
|
@@ -227,12 +227,12 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
227
227
|
type: string;
|
|
228
228
|
label: string;
|
|
229
229
|
}[];
|
|
230
|
-
actions
|
|
230
|
+
actions: {
|
|
231
231
|
[x: string]: unknown;
|
|
232
232
|
id: string;
|
|
233
233
|
type: string;
|
|
234
234
|
position: "inline" | "dropdown";
|
|
235
|
-
}[]
|
|
235
|
+
}[];
|
|
236
236
|
};
|
|
237
237
|
form: {
|
|
238
238
|
fields: {
|
|
@@ -242,7 +242,6 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
242
242
|
label: string;
|
|
243
243
|
}[];
|
|
244
244
|
};
|
|
245
|
-
disableCreate?: boolean | undefined;
|
|
246
245
|
embeddedForms?: ({
|
|
247
246
|
id: string;
|
|
248
247
|
name: string;
|
|
@@ -280,8 +279,10 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
280
279
|
};
|
|
281
280
|
includeIdField?: boolean | undefined;
|
|
282
281
|
})[] | undefined;
|
|
283
|
-
})[]
|
|
284
|
-
}
|
|
282
|
+
})[];
|
|
283
|
+
};
|
|
284
|
+
id: string;
|
|
285
|
+
name: string;
|
|
285
286
|
}, {
|
|
286
287
|
type: "backend";
|
|
287
288
|
devPort: number;
|
|
@@ -391,18 +392,16 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
391
392
|
} | {
|
|
392
393
|
devPort: number;
|
|
393
394
|
type: "web";
|
|
395
|
+
includeAuth: boolean;
|
|
394
396
|
title: string;
|
|
395
397
|
description: string;
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
includeUploadComponents?: boolean | undefined;
|
|
400
|
-
enableSubscriptions?: boolean | undefined;
|
|
401
|
-
adminApp?: {
|
|
398
|
+
includeUploadComponents: boolean;
|
|
399
|
+
enableSubscriptions: boolean;
|
|
400
|
+
adminApp: {
|
|
402
401
|
enabled: boolean;
|
|
403
402
|
pathPrefix: string;
|
|
404
|
-
allowedRoles
|
|
405
|
-
sections
|
|
403
|
+
allowedRoles: string[];
|
|
404
|
+
sections: ({
|
|
406
405
|
id: string;
|
|
407
406
|
name: string;
|
|
408
407
|
featureRef: string;
|
|
@@ -412,6 +411,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
412
411
|
type: "crud";
|
|
413
412
|
modelRef: string;
|
|
414
413
|
nameFieldRef: string;
|
|
414
|
+
disableCreate: boolean;
|
|
415
415
|
table: {
|
|
416
416
|
columns: {
|
|
417
417
|
[x: string]: unknown;
|
|
@@ -419,12 +419,12 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
419
419
|
type: string;
|
|
420
420
|
label: string;
|
|
421
421
|
}[];
|
|
422
|
-
actions
|
|
422
|
+
actions: {
|
|
423
423
|
[x: string]: unknown;
|
|
424
424
|
id: string;
|
|
425
425
|
type: string;
|
|
426
426
|
position: "inline" | "dropdown";
|
|
427
|
-
}[]
|
|
427
|
+
}[];
|
|
428
428
|
};
|
|
429
429
|
form: {
|
|
430
430
|
fields: {
|
|
@@ -434,7 +434,6 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
434
434
|
label: string;
|
|
435
435
|
}[];
|
|
436
436
|
};
|
|
437
|
-
disableCreate?: boolean | undefined;
|
|
438
437
|
embeddedForms?: ({
|
|
439
438
|
id: string;
|
|
440
439
|
name: string;
|
|
@@ -472,8 +471,10 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
472
471
|
};
|
|
473
472
|
includeIdField?: boolean | undefined;
|
|
474
473
|
})[] | undefined;
|
|
475
|
-
})[]
|
|
476
|
-
}
|
|
474
|
+
})[];
|
|
475
|
+
};
|
|
476
|
+
id: string;
|
|
477
|
+
name: string;
|
|
477
478
|
}, {
|
|
478
479
|
type: "backend";
|
|
479
480
|
devPort: number;
|
|
@@ -579,18 +580,16 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
579
580
|
} | {
|
|
580
581
|
devPort: number;
|
|
581
582
|
type: "web";
|
|
583
|
+
includeAuth: boolean;
|
|
582
584
|
title: string;
|
|
583
585
|
description: string;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
includeUploadComponents?: boolean | undefined;
|
|
588
|
-
enableSubscriptions?: boolean | undefined;
|
|
589
|
-
adminApp?: {
|
|
586
|
+
includeUploadComponents: boolean;
|
|
587
|
+
enableSubscriptions: boolean;
|
|
588
|
+
adminApp: {
|
|
590
589
|
enabled: boolean;
|
|
591
590
|
pathPrefix: string;
|
|
592
|
-
allowedRoles
|
|
593
|
-
sections
|
|
591
|
+
allowedRoles: string[];
|
|
592
|
+
sections: ({
|
|
594
593
|
id: string;
|
|
595
594
|
name: string;
|
|
596
595
|
featureRef: string;
|
|
@@ -600,6 +599,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
600
599
|
type: "crud";
|
|
601
600
|
modelRef: string;
|
|
602
601
|
nameFieldRef: string;
|
|
602
|
+
disableCreate: boolean;
|
|
603
603
|
table: {
|
|
604
604
|
columns: {
|
|
605
605
|
[x: string]: unknown;
|
|
@@ -607,12 +607,12 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
607
607
|
type: string;
|
|
608
608
|
label: string;
|
|
609
609
|
}[];
|
|
610
|
-
actions
|
|
610
|
+
actions: {
|
|
611
611
|
[x: string]: unknown;
|
|
612
612
|
id: string;
|
|
613
613
|
type: string;
|
|
614
614
|
position: "inline" | "dropdown";
|
|
615
|
-
}[]
|
|
615
|
+
}[];
|
|
616
616
|
};
|
|
617
617
|
form: {
|
|
618
618
|
fields: {
|
|
@@ -622,7 +622,6 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
622
622
|
label: string;
|
|
623
623
|
}[];
|
|
624
624
|
};
|
|
625
|
-
disableCreate?: boolean | undefined;
|
|
626
625
|
embeddedForms?: ({
|
|
627
626
|
id: string;
|
|
628
627
|
name: string;
|
|
@@ -660,8 +659,10 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
660
659
|
};
|
|
661
660
|
includeIdField?: boolean | undefined;
|
|
662
661
|
})[] | undefined;
|
|
663
|
-
})[]
|
|
664
|
-
}
|
|
662
|
+
})[];
|
|
663
|
+
};
|
|
664
|
+
id: string;
|
|
665
|
+
name: string;
|
|
665
666
|
}, {
|
|
666
667
|
type: "backend";
|
|
667
668
|
devPort: number;
|
|
@@ -796,22 +797,92 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
796
797
|
name: string;
|
|
797
798
|
featureRef: string;
|
|
798
799
|
model: {
|
|
799
|
-
fields: {
|
|
800
|
+
fields: ({
|
|
801
|
+
type: "string";
|
|
802
|
+
options: {
|
|
803
|
+
default?: string | undefined;
|
|
804
|
+
};
|
|
800
805
|
id: string;
|
|
801
806
|
name: string;
|
|
802
|
-
type: "string" | "boolean" | "int" | "date" | "enum" | "uuid" | "dateTime" | "float" | "decimal" | "json";
|
|
803
807
|
isOptional: boolean;
|
|
808
|
+
} | {
|
|
809
|
+
type: "uuid";
|
|
804
810
|
options: {
|
|
805
|
-
|
|
806
|
-
default: string;
|
|
811
|
+
default?: string | undefined;
|
|
807
812
|
genUuid?: boolean | undefined;
|
|
813
|
+
};
|
|
814
|
+
id: string;
|
|
815
|
+
name: string;
|
|
816
|
+
isOptional: boolean;
|
|
817
|
+
} | {
|
|
818
|
+
type: "int";
|
|
819
|
+
options: {
|
|
820
|
+
default?: string | undefined;
|
|
821
|
+
};
|
|
822
|
+
id: string;
|
|
823
|
+
name: string;
|
|
824
|
+
isOptional: boolean;
|
|
825
|
+
} | {
|
|
826
|
+
type: "boolean";
|
|
827
|
+
options: {
|
|
828
|
+
default?: "" | "true" | "false" | undefined;
|
|
829
|
+
};
|
|
830
|
+
id: string;
|
|
831
|
+
name: string;
|
|
832
|
+
isOptional: boolean;
|
|
833
|
+
} | {
|
|
834
|
+
type: "dateTime";
|
|
835
|
+
options: {
|
|
836
|
+
defaultToNow?: boolean | undefined;
|
|
808
837
|
updatedAt?: boolean | undefined;
|
|
838
|
+
};
|
|
839
|
+
id: string;
|
|
840
|
+
name: string;
|
|
841
|
+
isOptional: boolean;
|
|
842
|
+
} | {
|
|
843
|
+
type: "float";
|
|
844
|
+
options: {
|
|
845
|
+
default?: string | undefined;
|
|
846
|
+
};
|
|
847
|
+
id: string;
|
|
848
|
+
name: string;
|
|
849
|
+
isOptional: boolean;
|
|
850
|
+
} | {
|
|
851
|
+
type: "decimal";
|
|
852
|
+
options: {
|
|
853
|
+
default?: string | undefined;
|
|
854
|
+
};
|
|
855
|
+
id: string;
|
|
856
|
+
name: string;
|
|
857
|
+
isOptional: boolean;
|
|
858
|
+
} | {
|
|
859
|
+
type: "json";
|
|
860
|
+
options: {
|
|
861
|
+
default?: string | undefined;
|
|
862
|
+
};
|
|
863
|
+
id: string;
|
|
864
|
+
name: string;
|
|
865
|
+
isOptional: boolean;
|
|
866
|
+
} | {
|
|
867
|
+
type: "date";
|
|
868
|
+
options: {
|
|
869
|
+
default?: string | undefined;
|
|
809
870
|
defaultToNow?: boolean | undefined;
|
|
810
|
-
enumRef?: string | undefined;
|
|
811
871
|
};
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
872
|
+
id: string;
|
|
873
|
+
name: string;
|
|
874
|
+
isOptional: boolean;
|
|
875
|
+
} | {
|
|
876
|
+
type: "enum";
|
|
877
|
+
options: {
|
|
878
|
+
enumRef: string;
|
|
879
|
+
defaultEnumValueRef?: string | undefined;
|
|
880
|
+
};
|
|
881
|
+
id: string;
|
|
882
|
+
name: string;
|
|
883
|
+
isOptional: boolean;
|
|
884
|
+
})[];
|
|
885
|
+
relations: {
|
|
815
886
|
id: string;
|
|
816
887
|
foreignId: string;
|
|
817
888
|
name: string;
|
|
@@ -823,27 +894,33 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
823
894
|
foreignRelationName: string;
|
|
824
895
|
onDelete: "Cascade" | "Restrict" | "NoAction" | "SetNull" | "SetDefault";
|
|
825
896
|
onUpdate: "Cascade" | "Restrict" | "NoAction" | "SetNull" | "SetDefault";
|
|
826
|
-
}[]
|
|
827
|
-
|
|
897
|
+
}[];
|
|
898
|
+
primaryKeyFieldRefs: string[];
|
|
899
|
+
uniqueConstraints: {
|
|
828
900
|
id: string;
|
|
829
901
|
fields: {
|
|
830
902
|
fieldRef: string;
|
|
831
903
|
}[];
|
|
832
|
-
}[]
|
|
904
|
+
}[];
|
|
833
905
|
};
|
|
834
906
|
service: {
|
|
835
907
|
create: {
|
|
836
908
|
enabled: boolean;
|
|
909
|
+
globalRoles: string[];
|
|
837
910
|
fields?: string[] | undefined;
|
|
838
911
|
transformerNames?: string[] | undefined;
|
|
839
912
|
};
|
|
840
913
|
update: {
|
|
841
914
|
enabled: boolean;
|
|
915
|
+
globalRoles: string[];
|
|
916
|
+
instanceRoles: string[];
|
|
842
917
|
fields?: string[] | undefined;
|
|
843
918
|
transformerNames?: string[] | undefined;
|
|
844
919
|
};
|
|
845
920
|
delete: {
|
|
846
921
|
enabled: boolean;
|
|
922
|
+
globalRoles: string[];
|
|
923
|
+
instanceRoles: string[];
|
|
847
924
|
};
|
|
848
925
|
transformers: {
|
|
849
926
|
[x: string]: unknown;
|
|
@@ -851,64 +928,147 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
851
928
|
type: string;
|
|
852
929
|
}[];
|
|
853
930
|
};
|
|
854
|
-
graphql
|
|
855
|
-
objectType
|
|
856
|
-
enabled
|
|
857
|
-
fields
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
enabled
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
931
|
+
graphql: {
|
|
932
|
+
objectType: {
|
|
933
|
+
enabled: boolean;
|
|
934
|
+
fields: {
|
|
935
|
+
ref: string;
|
|
936
|
+
globalRoles: string[];
|
|
937
|
+
instanceRoles: string[];
|
|
938
|
+
}[];
|
|
939
|
+
localRelations: {
|
|
940
|
+
ref: string;
|
|
941
|
+
globalRoles: string[];
|
|
942
|
+
instanceRoles: string[];
|
|
943
|
+
}[];
|
|
944
|
+
foreignRelations: {
|
|
945
|
+
ref: string;
|
|
946
|
+
globalRoles: string[];
|
|
947
|
+
instanceRoles: string[];
|
|
948
|
+
}[];
|
|
949
|
+
};
|
|
950
|
+
queries: {
|
|
951
|
+
globalRoles: string[];
|
|
952
|
+
instanceRoles: string[];
|
|
953
|
+
get: {
|
|
954
|
+
enabled: boolean;
|
|
955
|
+
};
|
|
956
|
+
list: {
|
|
957
|
+
enabled: boolean;
|
|
958
|
+
count: {
|
|
959
|
+
enabled: boolean;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
mutations: {
|
|
964
|
+
create: {
|
|
965
|
+
enabled: boolean;
|
|
966
|
+
};
|
|
967
|
+
update: {
|
|
968
|
+
enabled: boolean;
|
|
969
|
+
};
|
|
970
|
+
delete: {
|
|
971
|
+
enabled: boolean;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
authorizer: {
|
|
887
976
|
roles: {
|
|
888
977
|
id: string;
|
|
889
978
|
name: string;
|
|
890
979
|
expression: string;
|
|
891
980
|
}[];
|
|
892
|
-
}
|
|
981
|
+
};
|
|
893
982
|
}, {
|
|
894
983
|
id: string;
|
|
895
984
|
name: string;
|
|
896
985
|
featureRef: string;
|
|
897
986
|
model: {
|
|
898
|
-
fields: {
|
|
987
|
+
fields: ({
|
|
988
|
+
type: "string";
|
|
899
989
|
id: string;
|
|
900
990
|
name: string;
|
|
901
|
-
|
|
991
|
+
options?: {
|
|
992
|
+
default?: string | undefined;
|
|
993
|
+
} | undefined;
|
|
902
994
|
isOptional?: boolean | undefined;
|
|
995
|
+
} | {
|
|
996
|
+
type: "uuid";
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
903
999
|
options?: {
|
|
904
1000
|
default?: string | undefined;
|
|
905
1001
|
genUuid?: boolean | undefined;
|
|
1002
|
+
} | undefined;
|
|
1003
|
+
isOptional?: boolean | undefined;
|
|
1004
|
+
} | {
|
|
1005
|
+
type: "int";
|
|
1006
|
+
id: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
options?: {
|
|
1009
|
+
default?: string | undefined;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
isOptional?: boolean | undefined;
|
|
1012
|
+
} | {
|
|
1013
|
+
type: "boolean";
|
|
1014
|
+
id: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
options?: {
|
|
1017
|
+
default?: "" | "true" | "false" | undefined;
|
|
1018
|
+
} | undefined;
|
|
1019
|
+
isOptional?: boolean | undefined;
|
|
1020
|
+
} | {
|
|
1021
|
+
type: "dateTime";
|
|
1022
|
+
id: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
options?: {
|
|
1025
|
+
defaultToNow?: boolean | undefined;
|
|
906
1026
|
updatedAt?: boolean | undefined;
|
|
1027
|
+
} | undefined;
|
|
1028
|
+
isOptional?: boolean | undefined;
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "float";
|
|
1031
|
+
id: string;
|
|
1032
|
+
name: string;
|
|
1033
|
+
options?: {
|
|
1034
|
+
default?: string | undefined;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
isOptional?: boolean | undefined;
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "decimal";
|
|
1039
|
+
id: string;
|
|
1040
|
+
name: string;
|
|
1041
|
+
options?: {
|
|
1042
|
+
default?: string | undefined;
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
isOptional?: boolean | undefined;
|
|
1045
|
+
} | {
|
|
1046
|
+
type: "json";
|
|
1047
|
+
id: string;
|
|
1048
|
+
name: string;
|
|
1049
|
+
options?: {
|
|
1050
|
+
default?: string | undefined;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
isOptional?: boolean | undefined;
|
|
1053
|
+
} | {
|
|
1054
|
+
type: "date";
|
|
1055
|
+
id: string;
|
|
1056
|
+
name: string;
|
|
1057
|
+
options?: {
|
|
1058
|
+
default?: string | undefined;
|
|
907
1059
|
defaultToNow?: boolean | undefined;
|
|
908
|
-
enumRef?: string | undefined;
|
|
909
|
-
defaultEnumValueRef?: string | undefined;
|
|
910
1060
|
} | undefined;
|
|
911
|
-
|
|
1061
|
+
isOptional?: boolean | undefined;
|
|
1062
|
+
} | {
|
|
1063
|
+
type: "enum";
|
|
1064
|
+
options: {
|
|
1065
|
+
enumRef: string;
|
|
1066
|
+
defaultEnumValueRef?: string | undefined;
|
|
1067
|
+
};
|
|
1068
|
+
id: string;
|
|
1069
|
+
name: string;
|
|
1070
|
+
isOptional?: boolean | undefined;
|
|
1071
|
+
})[];
|
|
912
1072
|
primaryKeyFieldRefs: string[];
|
|
913
1073
|
relations?: {
|
|
914
1074
|
id: string;
|
|
@@ -935,14 +1095,19 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
935
1095
|
enabled?: boolean | undefined;
|
|
936
1096
|
fields?: string[] | undefined;
|
|
937
1097
|
transformerNames?: string[] | undefined;
|
|
1098
|
+
globalRoles?: string[] | undefined;
|
|
938
1099
|
} | undefined;
|
|
939
1100
|
update?: {
|
|
940
1101
|
enabled?: boolean | undefined;
|
|
941
1102
|
fields?: string[] | undefined;
|
|
942
1103
|
transformerNames?: string[] | undefined;
|
|
1104
|
+
globalRoles?: string[] | undefined;
|
|
1105
|
+
instanceRoles?: string[] | undefined;
|
|
943
1106
|
} | undefined;
|
|
944
1107
|
delete?: {
|
|
945
1108
|
enabled?: boolean | undefined;
|
|
1109
|
+
globalRoles?: string[] | undefined;
|
|
1110
|
+
instanceRoles?: string[] | undefined;
|
|
946
1111
|
} | undefined;
|
|
947
1112
|
transformers?: {
|
|
948
1113
|
[x: string]: unknown;
|
|
@@ -953,32 +1118,44 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
953
1118
|
graphql?: {
|
|
954
1119
|
objectType?: {
|
|
955
1120
|
enabled?: boolean | undefined;
|
|
956
|
-
fields?:
|
|
957
|
-
|
|
958
|
-
|
|
1121
|
+
fields?: {
|
|
1122
|
+
ref: string;
|
|
1123
|
+
globalRoles?: string[] | undefined;
|
|
1124
|
+
instanceRoles?: string[] | undefined;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
localRelations?: {
|
|
1127
|
+
ref: string;
|
|
1128
|
+
globalRoles?: string[] | undefined;
|
|
1129
|
+
instanceRoles?: string[] | undefined;
|
|
1130
|
+
}[] | undefined;
|
|
1131
|
+
foreignRelations?: {
|
|
1132
|
+
ref: string;
|
|
1133
|
+
globalRoles?: string[] | undefined;
|
|
1134
|
+
instanceRoles?: string[] | undefined;
|
|
1135
|
+
}[] | undefined;
|
|
959
1136
|
} | undefined;
|
|
960
1137
|
queries?: {
|
|
1138
|
+
globalRoles?: string[] | undefined;
|
|
1139
|
+
instanceRoles?: string[] | undefined;
|
|
961
1140
|
get?: {
|
|
962
1141
|
enabled?: boolean | undefined;
|
|
963
|
-
roles?: string[] | undefined;
|
|
964
1142
|
} | undefined;
|
|
965
1143
|
list?: {
|
|
966
1144
|
enabled?: boolean | undefined;
|
|
967
|
-
|
|
1145
|
+
count?: {
|
|
1146
|
+
enabled?: boolean | undefined;
|
|
1147
|
+
} | undefined;
|
|
968
1148
|
} | undefined;
|
|
969
1149
|
} | undefined;
|
|
970
1150
|
mutations?: {
|
|
971
1151
|
create?: {
|
|
972
1152
|
enabled?: boolean | undefined;
|
|
973
|
-
roles?: string[] | undefined;
|
|
974
1153
|
} | undefined;
|
|
975
1154
|
update?: {
|
|
976
1155
|
enabled?: boolean | undefined;
|
|
977
|
-
roles?: string[] | undefined;
|
|
978
1156
|
} | undefined;
|
|
979
1157
|
delete?: {
|
|
980
1158
|
enabled?: boolean | undefined;
|
|
981
|
-
roles?: string[] | undefined;
|
|
982
1159
|
} | undefined;
|
|
983
1160
|
} | undefined;
|
|
984
1161
|
} | undefined;
|
|
@@ -994,22 +1171,92 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
994
1171
|
name: string;
|
|
995
1172
|
featureRef: string;
|
|
996
1173
|
model: {
|
|
997
|
-
fields: {
|
|
1174
|
+
fields: ({
|
|
1175
|
+
type: "string";
|
|
1176
|
+
options: {
|
|
1177
|
+
default?: string | undefined;
|
|
1178
|
+
};
|
|
998
1179
|
id: string;
|
|
999
1180
|
name: string;
|
|
1000
|
-
type: "string" | "boolean" | "int" | "date" | "enum" | "uuid" | "dateTime" | "float" | "decimal" | "json";
|
|
1001
1181
|
isOptional: boolean;
|
|
1182
|
+
} | {
|
|
1183
|
+
type: "uuid";
|
|
1002
1184
|
options: {
|
|
1003
|
-
|
|
1004
|
-
default: string;
|
|
1185
|
+
default?: string | undefined;
|
|
1005
1186
|
genUuid?: boolean | undefined;
|
|
1187
|
+
};
|
|
1188
|
+
id: string;
|
|
1189
|
+
name: string;
|
|
1190
|
+
isOptional: boolean;
|
|
1191
|
+
} | {
|
|
1192
|
+
type: "int";
|
|
1193
|
+
options: {
|
|
1194
|
+
default?: string | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
id: string;
|
|
1197
|
+
name: string;
|
|
1198
|
+
isOptional: boolean;
|
|
1199
|
+
} | {
|
|
1200
|
+
type: "boolean";
|
|
1201
|
+
options: {
|
|
1202
|
+
default?: "" | "true" | "false" | undefined;
|
|
1203
|
+
};
|
|
1204
|
+
id: string;
|
|
1205
|
+
name: string;
|
|
1206
|
+
isOptional: boolean;
|
|
1207
|
+
} | {
|
|
1208
|
+
type: "dateTime";
|
|
1209
|
+
options: {
|
|
1210
|
+
defaultToNow?: boolean | undefined;
|
|
1006
1211
|
updatedAt?: boolean | undefined;
|
|
1212
|
+
};
|
|
1213
|
+
id: string;
|
|
1214
|
+
name: string;
|
|
1215
|
+
isOptional: boolean;
|
|
1216
|
+
} | {
|
|
1217
|
+
type: "float";
|
|
1218
|
+
options: {
|
|
1219
|
+
default?: string | undefined;
|
|
1220
|
+
};
|
|
1221
|
+
id: string;
|
|
1222
|
+
name: string;
|
|
1223
|
+
isOptional: boolean;
|
|
1224
|
+
} | {
|
|
1225
|
+
type: "decimal";
|
|
1226
|
+
options: {
|
|
1227
|
+
default?: string | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
isOptional: boolean;
|
|
1232
|
+
} | {
|
|
1233
|
+
type: "json";
|
|
1234
|
+
options: {
|
|
1235
|
+
default?: string | undefined;
|
|
1236
|
+
};
|
|
1237
|
+
id: string;
|
|
1238
|
+
name: string;
|
|
1239
|
+
isOptional: boolean;
|
|
1240
|
+
} | {
|
|
1241
|
+
type: "date";
|
|
1242
|
+
options: {
|
|
1243
|
+
default?: string | undefined;
|
|
1007
1244
|
defaultToNow?: boolean | undefined;
|
|
1008
|
-
enumRef?: string | undefined;
|
|
1009
1245
|
};
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1246
|
+
id: string;
|
|
1247
|
+
name: string;
|
|
1248
|
+
isOptional: boolean;
|
|
1249
|
+
} | {
|
|
1250
|
+
type: "enum";
|
|
1251
|
+
options: {
|
|
1252
|
+
enumRef: string;
|
|
1253
|
+
defaultEnumValueRef?: string | undefined;
|
|
1254
|
+
};
|
|
1255
|
+
id: string;
|
|
1256
|
+
name: string;
|
|
1257
|
+
isOptional: boolean;
|
|
1258
|
+
})[];
|
|
1259
|
+
relations: {
|
|
1013
1260
|
id: string;
|
|
1014
1261
|
foreignId: string;
|
|
1015
1262
|
name: string;
|
|
@@ -1021,27 +1268,33 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1021
1268
|
foreignRelationName: string;
|
|
1022
1269
|
onDelete: "Cascade" | "Restrict" | "NoAction" | "SetNull" | "SetDefault";
|
|
1023
1270
|
onUpdate: "Cascade" | "Restrict" | "NoAction" | "SetNull" | "SetDefault";
|
|
1024
|
-
}[]
|
|
1025
|
-
|
|
1271
|
+
}[];
|
|
1272
|
+
primaryKeyFieldRefs: string[];
|
|
1273
|
+
uniqueConstraints: {
|
|
1026
1274
|
id: string;
|
|
1027
1275
|
fields: {
|
|
1028
1276
|
fieldRef: string;
|
|
1029
1277
|
}[];
|
|
1030
|
-
}[]
|
|
1278
|
+
}[];
|
|
1031
1279
|
};
|
|
1032
1280
|
service: {
|
|
1033
1281
|
create: {
|
|
1034
1282
|
enabled: boolean;
|
|
1283
|
+
globalRoles: string[];
|
|
1035
1284
|
fields?: string[] | undefined;
|
|
1036
1285
|
transformerNames?: string[] | undefined;
|
|
1037
1286
|
};
|
|
1038
1287
|
update: {
|
|
1039
1288
|
enabled: boolean;
|
|
1289
|
+
globalRoles: string[];
|
|
1290
|
+
instanceRoles: string[];
|
|
1040
1291
|
fields?: string[] | undefined;
|
|
1041
1292
|
transformerNames?: string[] | undefined;
|
|
1042
1293
|
};
|
|
1043
1294
|
delete: {
|
|
1044
1295
|
enabled: boolean;
|
|
1296
|
+
globalRoles: string[];
|
|
1297
|
+
instanceRoles: string[];
|
|
1045
1298
|
};
|
|
1046
1299
|
transformers: {
|
|
1047
1300
|
[x: string]: unknown;
|
|
@@ -1049,64 +1302,147 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1049
1302
|
type: string;
|
|
1050
1303
|
}[];
|
|
1051
1304
|
};
|
|
1052
|
-
graphql
|
|
1053
|
-
objectType
|
|
1054
|
-
enabled
|
|
1055
|
-
fields
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
enabled
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1305
|
+
graphql: {
|
|
1306
|
+
objectType: {
|
|
1307
|
+
enabled: boolean;
|
|
1308
|
+
fields: {
|
|
1309
|
+
ref: string;
|
|
1310
|
+
globalRoles: string[];
|
|
1311
|
+
instanceRoles: string[];
|
|
1312
|
+
}[];
|
|
1313
|
+
localRelations: {
|
|
1314
|
+
ref: string;
|
|
1315
|
+
globalRoles: string[];
|
|
1316
|
+
instanceRoles: string[];
|
|
1317
|
+
}[];
|
|
1318
|
+
foreignRelations: {
|
|
1319
|
+
ref: string;
|
|
1320
|
+
globalRoles: string[];
|
|
1321
|
+
instanceRoles: string[];
|
|
1322
|
+
}[];
|
|
1323
|
+
};
|
|
1324
|
+
queries: {
|
|
1325
|
+
globalRoles: string[];
|
|
1326
|
+
instanceRoles: string[];
|
|
1327
|
+
get: {
|
|
1328
|
+
enabled: boolean;
|
|
1329
|
+
};
|
|
1330
|
+
list: {
|
|
1331
|
+
enabled: boolean;
|
|
1332
|
+
count: {
|
|
1333
|
+
enabled: boolean;
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
mutations: {
|
|
1338
|
+
create: {
|
|
1339
|
+
enabled: boolean;
|
|
1340
|
+
};
|
|
1341
|
+
update: {
|
|
1342
|
+
enabled: boolean;
|
|
1343
|
+
};
|
|
1344
|
+
delete: {
|
|
1345
|
+
enabled: boolean;
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
authorizer: {
|
|
1085
1350
|
roles: {
|
|
1086
1351
|
id: string;
|
|
1087
1352
|
name: string;
|
|
1088
1353
|
expression: string;
|
|
1089
1354
|
}[];
|
|
1090
|
-
}
|
|
1355
|
+
};
|
|
1091
1356
|
}, {
|
|
1092
1357
|
id: string;
|
|
1093
1358
|
name: string;
|
|
1094
1359
|
featureRef: string;
|
|
1095
1360
|
model: {
|
|
1096
|
-
fields: {
|
|
1361
|
+
fields: ({
|
|
1362
|
+
type: "string";
|
|
1097
1363
|
id: string;
|
|
1098
1364
|
name: string;
|
|
1099
|
-
|
|
1365
|
+
options?: {
|
|
1366
|
+
default?: string | undefined;
|
|
1367
|
+
} | undefined;
|
|
1100
1368
|
isOptional?: boolean | undefined;
|
|
1369
|
+
} | {
|
|
1370
|
+
type: "uuid";
|
|
1371
|
+
id: string;
|
|
1372
|
+
name: string;
|
|
1101
1373
|
options?: {
|
|
1102
1374
|
default?: string | undefined;
|
|
1103
1375
|
genUuid?: boolean | undefined;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
isOptional?: boolean | undefined;
|
|
1378
|
+
} | {
|
|
1379
|
+
type: "int";
|
|
1380
|
+
id: string;
|
|
1381
|
+
name: string;
|
|
1382
|
+
options?: {
|
|
1383
|
+
default?: string | undefined;
|
|
1384
|
+
} | undefined;
|
|
1385
|
+
isOptional?: boolean | undefined;
|
|
1386
|
+
} | {
|
|
1387
|
+
type: "boolean";
|
|
1388
|
+
id: string;
|
|
1389
|
+
name: string;
|
|
1390
|
+
options?: {
|
|
1391
|
+
default?: "" | "true" | "false" | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
isOptional?: boolean | undefined;
|
|
1394
|
+
} | {
|
|
1395
|
+
type: "dateTime";
|
|
1396
|
+
id: string;
|
|
1397
|
+
name: string;
|
|
1398
|
+
options?: {
|
|
1399
|
+
defaultToNow?: boolean | undefined;
|
|
1104
1400
|
updatedAt?: boolean | undefined;
|
|
1401
|
+
} | undefined;
|
|
1402
|
+
isOptional?: boolean | undefined;
|
|
1403
|
+
} | {
|
|
1404
|
+
type: "float";
|
|
1405
|
+
id: string;
|
|
1406
|
+
name: string;
|
|
1407
|
+
options?: {
|
|
1408
|
+
default?: string | undefined;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
isOptional?: boolean | undefined;
|
|
1411
|
+
} | {
|
|
1412
|
+
type: "decimal";
|
|
1413
|
+
id: string;
|
|
1414
|
+
name: string;
|
|
1415
|
+
options?: {
|
|
1416
|
+
default?: string | undefined;
|
|
1417
|
+
} | undefined;
|
|
1418
|
+
isOptional?: boolean | undefined;
|
|
1419
|
+
} | {
|
|
1420
|
+
type: "json";
|
|
1421
|
+
id: string;
|
|
1422
|
+
name: string;
|
|
1423
|
+
options?: {
|
|
1424
|
+
default?: string | undefined;
|
|
1425
|
+
} | undefined;
|
|
1426
|
+
isOptional?: boolean | undefined;
|
|
1427
|
+
} | {
|
|
1428
|
+
type: "date";
|
|
1429
|
+
id: string;
|
|
1430
|
+
name: string;
|
|
1431
|
+
options?: {
|
|
1432
|
+
default?: string | undefined;
|
|
1105
1433
|
defaultToNow?: boolean | undefined;
|
|
1106
|
-
enumRef?: string | undefined;
|
|
1107
|
-
defaultEnumValueRef?: string | undefined;
|
|
1108
1434
|
} | undefined;
|
|
1109
|
-
|
|
1435
|
+
isOptional?: boolean | undefined;
|
|
1436
|
+
} | {
|
|
1437
|
+
type: "enum";
|
|
1438
|
+
options: {
|
|
1439
|
+
enumRef: string;
|
|
1440
|
+
defaultEnumValueRef?: string | undefined;
|
|
1441
|
+
};
|
|
1442
|
+
id: string;
|
|
1443
|
+
name: string;
|
|
1444
|
+
isOptional?: boolean | undefined;
|
|
1445
|
+
})[];
|
|
1110
1446
|
primaryKeyFieldRefs: string[];
|
|
1111
1447
|
relations?: {
|
|
1112
1448
|
id: string;
|
|
@@ -1133,14 +1469,19 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1133
1469
|
enabled?: boolean | undefined;
|
|
1134
1470
|
fields?: string[] | undefined;
|
|
1135
1471
|
transformerNames?: string[] | undefined;
|
|
1472
|
+
globalRoles?: string[] | undefined;
|
|
1136
1473
|
} | undefined;
|
|
1137
1474
|
update?: {
|
|
1138
1475
|
enabled?: boolean | undefined;
|
|
1139
1476
|
fields?: string[] | undefined;
|
|
1140
1477
|
transformerNames?: string[] | undefined;
|
|
1478
|
+
globalRoles?: string[] | undefined;
|
|
1479
|
+
instanceRoles?: string[] | undefined;
|
|
1141
1480
|
} | undefined;
|
|
1142
1481
|
delete?: {
|
|
1143
1482
|
enabled?: boolean | undefined;
|
|
1483
|
+
globalRoles?: string[] | undefined;
|
|
1484
|
+
instanceRoles?: string[] | undefined;
|
|
1144
1485
|
} | undefined;
|
|
1145
1486
|
transformers?: {
|
|
1146
1487
|
[x: string]: unknown;
|
|
@@ -1151,32 +1492,44 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1151
1492
|
graphql?: {
|
|
1152
1493
|
objectType?: {
|
|
1153
1494
|
enabled?: boolean | undefined;
|
|
1154
|
-
fields?:
|
|
1155
|
-
|
|
1156
|
-
|
|
1495
|
+
fields?: {
|
|
1496
|
+
ref: string;
|
|
1497
|
+
globalRoles?: string[] | undefined;
|
|
1498
|
+
instanceRoles?: string[] | undefined;
|
|
1499
|
+
}[] | undefined;
|
|
1500
|
+
localRelations?: {
|
|
1501
|
+
ref: string;
|
|
1502
|
+
globalRoles?: string[] | undefined;
|
|
1503
|
+
instanceRoles?: string[] | undefined;
|
|
1504
|
+
}[] | undefined;
|
|
1505
|
+
foreignRelations?: {
|
|
1506
|
+
ref: string;
|
|
1507
|
+
globalRoles?: string[] | undefined;
|
|
1508
|
+
instanceRoles?: string[] | undefined;
|
|
1509
|
+
}[] | undefined;
|
|
1157
1510
|
} | undefined;
|
|
1158
1511
|
queries?: {
|
|
1512
|
+
globalRoles?: string[] | undefined;
|
|
1513
|
+
instanceRoles?: string[] | undefined;
|
|
1159
1514
|
get?: {
|
|
1160
1515
|
enabled?: boolean | undefined;
|
|
1161
|
-
roles?: string[] | undefined;
|
|
1162
1516
|
} | undefined;
|
|
1163
1517
|
list?: {
|
|
1164
1518
|
enabled?: boolean | undefined;
|
|
1165
|
-
|
|
1519
|
+
count?: {
|
|
1520
|
+
enabled?: boolean | undefined;
|
|
1521
|
+
} | undefined;
|
|
1166
1522
|
} | undefined;
|
|
1167
1523
|
} | undefined;
|
|
1168
1524
|
mutations?: {
|
|
1169
1525
|
create?: {
|
|
1170
1526
|
enabled?: boolean | undefined;
|
|
1171
|
-
roles?: string[] | undefined;
|
|
1172
1527
|
} | undefined;
|
|
1173
1528
|
update?: {
|
|
1174
1529
|
enabled?: boolean | undefined;
|
|
1175
|
-
roles?: string[] | undefined;
|
|
1176
1530
|
} | undefined;
|
|
1177
1531
|
delete?: {
|
|
1178
1532
|
enabled?: boolean | undefined;
|
|
1179
|
-
roles?: string[] | undefined;
|
|
1180
1533
|
} | undefined;
|
|
1181
1534
|
} | undefined;
|
|
1182
1535
|
} | undefined;
|
|
@@ -1231,7 +1584,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1231
1584
|
}>>>>;
|
|
1232
1585
|
isInitialized: z.ZodDefault<z.ZodBoolean>;
|
|
1233
1586
|
schemaVersion: z.ZodNumber;
|
|
1234
|
-
plugins: z.ZodOptional<z.ZodArray<z.
|
|
1587
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
1235
1588
|
id: string;
|
|
1236
1589
|
packageName: string;
|
|
1237
1590
|
name: string;
|
|
@@ -1259,25 +1612,11 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1259
1612
|
version: string;
|
|
1260
1613
|
config: unknown;
|
|
1261
1614
|
configSchemaVersion?: number | undefined;
|
|
1262
|
-
}>>, z.ZodTransform<{
|
|
1263
|
-
id: string;
|
|
1264
|
-
packageName: string;
|
|
1265
|
-
name: string;
|
|
1266
|
-
version: string;
|
|
1267
|
-
config: unknown;
|
|
1268
|
-
configSchemaVersion?: number | undefined;
|
|
1269
|
-
}, {
|
|
1270
|
-
id: string;
|
|
1271
|
-
packageName: string;
|
|
1272
|
-
name: string;
|
|
1273
|
-
version: string;
|
|
1274
|
-
config: unknown;
|
|
1275
|
-
configSchemaVersion?: number | undefined;
|
|
1276
1615
|
}>>>>;
|
|
1277
1616
|
settings: z.ZodObject<{
|
|
1278
1617
|
general: z.ZodObject<{
|
|
1279
1618
|
name: z.ZodString;
|
|
1280
|
-
packageScope: z.ZodDefault<z.
|
|
1619
|
+
packageScope: z.ZodDefault<z.ZodString>;
|
|
1281
1620
|
portOffset: z.ZodNumber;
|
|
1282
1621
|
}, z.core.$strip>;
|
|
1283
1622
|
infrastructure: z.ZodOptional<z.ZodObject<{
|
|
@@ -1335,6 +1674,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1335
1674
|
error: "error";
|
|
1336
1675
|
success: "success";
|
|
1337
1676
|
input: "input";
|
|
1677
|
+
warning: "warning";
|
|
1338
1678
|
link: "link";
|
|
1339
1679
|
primary: "primary";
|
|
1340
1680
|
background: "background";
|
|
@@ -1348,7 +1688,6 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1348
1688
|
accent: "accent";
|
|
1349
1689
|
accentForeground: "accentForeground";
|
|
1350
1690
|
successForeground: "successForeground";
|
|
1351
|
-
warning: "warning";
|
|
1352
1691
|
warningForeground: "warningForeground";
|
|
1353
1692
|
errorForeground: "errorForeground";
|
|
1354
1693
|
primaryHover: "primaryHover";
|
|
@@ -1367,6 +1706,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1367
1706
|
error: "error";
|
|
1368
1707
|
success: "success";
|
|
1369
1708
|
input: "input";
|
|
1709
|
+
warning: "warning";
|
|
1370
1710
|
link: "link";
|
|
1371
1711
|
primary: "primary";
|
|
1372
1712
|
background: "background";
|
|
@@ -1380,7 +1720,6 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1380
1720
|
accent: "accent";
|
|
1381
1721
|
accentForeground: "accentForeground";
|
|
1382
1722
|
successForeground: "successForeground";
|
|
1383
|
-
warning: "warning";
|
|
1384
1723
|
warningForeground: "warningForeground";
|
|
1385
1724
|
errorForeground: "errorForeground";
|
|
1386
1725
|
primaryHover: "primaryHover";
|
|
@@ -1402,4 +1741,11 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1402
1741
|
export type ProjectDefinitionInput = def.InferInput<typeof createProjectDefinitionSchema>;
|
|
1403
1742
|
export type ProjectDefinition = def.InferOutput<typeof createProjectDefinitionSchema>;
|
|
1404
1743
|
export type ProjectDefinitionSchema = def.InferSchema<typeof createProjectDefinitionSchema>;
|
|
1744
|
+
/**
|
|
1745
|
+
* A deeply partial version of ProjectDefinitionInput that recurses into arrays.
|
|
1746
|
+
* Use this for providing partial definition patches to `mergeDefinition` and `diffDefinition`.
|
|
1747
|
+
*/
|
|
1748
|
+
export type PartialProjectDefinitionInput = PartialDeep<ProjectDefinitionInput, {
|
|
1749
|
+
recurseIntoArrays: true;
|
|
1750
|
+
}>;
|
|
1405
1751
|
//# sourceMappingURL=project-definition.d.ts.map
|