@ekrist1/vulse 0.1.6-alpha.3
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/LICENSE +21 -0
- package/README.md +104 -0
- package/dist/admin/client/active-locale.d.ts +3 -0
- package/dist/admin/client/active-locale.d.ts.map +1 -0
- package/dist/admin/client/active-locale.js +14 -0
- package/dist/admin/client/api.d.ts +14 -0
- package/dist/admin/client/api.d.ts.map +1 -0
- package/dist/admin/client/api.js +26 -0
- package/dist/admin/client/form-from-zod.d.ts +2 -0
- package/dist/admin/client/form-from-zod.d.ts.map +1 -0
- package/dist/admin/client/form-from-zod.js +1 -0
- package/dist/admin/client/live-preview-enabled.d.ts +3 -0
- package/dist/admin/client/live-preview-enabled.d.ts.map +1 -0
- package/dist/admin/client/live-preview-enabled.js +6 -0
- package/dist/cli/collection-scaffold.d.ts +14 -0
- package/dist/cli/collection-scaffold.d.ts.map +1 -0
- package/dist/cli/collection-scaffold.js +44 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +74 -0
- package/dist/cli/migrate.d.ts +5 -0
- package/dist/cli/migrate.d.ts.map +1 -0
- package/dist/cli/migrate.js +10 -0
- package/dist/cli/platform.d.ts +12 -0
- package/dist/cli/platform.d.ts.map +1 -0
- package/dist/cli/platform.js +38 -0
- package/dist/cli/seed-admin.d.ts +19 -0
- package/dist/cli/seed-admin.d.ts.map +1 -0
- package/dist/cli/seed-admin.js +59 -0
- package/dist/cli/setup.d.ts +29 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +254 -0
- package/dist/core/access.d.ts +5 -0
- package/dist/core/access.d.ts.map +1 -0
- package/dist/core/access.js +6 -0
- package/dist/core/blocks/schema.d.ts +81 -0
- package/dist/core/blocks/schema.d.ts.map +1 -0
- package/dist/core/blocks/schema.js +54 -0
- package/dist/core/blueprints/code-to-definition.d.ts +6 -0
- package/dist/core/blueprints/code-to-definition.d.ts.map +1 -0
- package/dist/core/blueprints/code-to-definition.js +147 -0
- package/dist/core/blueprints/compile.d.ts +10 -0
- package/dist/core/blueprints/compile.d.ts.map +1 -0
- package/dist/core/blueprints/compile.js +153 -0
- package/dist/core/blueprints/define.d.ts +6 -0
- package/dist/core/blueprints/define.d.ts.map +1 -0
- package/dist/core/blueprints/define.js +8 -0
- package/dist/core/blueprints/definition.d.ts +963 -0
- package/dist/core/blueprints/definition.d.ts.map +1 -0
- package/dist/core/blueprints/definition.js +151 -0
- package/dist/core/blueprints/load.d.ts +11 -0
- package/dist/core/blueprints/load.d.ts.map +1 -0
- package/dist/core/blueprints/load.js +137 -0
- package/dist/core/blueprints/mutations.d.ts +8 -0
- package/dist/core/blueprints/mutations.d.ts.map +1 -0
- package/dist/core/blueprints/mutations.js +191 -0
- package/dist/core/blueprints/preview-path.d.ts +15 -0
- package/dist/core/blueprints/preview-path.d.ts.map +1 -0
- package/dist/core/blueprints/preview-path.js +25 -0
- package/dist/core/blueprints/reflect-fields.d.ts +36 -0
- package/dist/core/blueprints/reflect-fields.d.ts.map +1 -0
- package/dist/core/blueprints/reflect-fields.js +229 -0
- package/dist/core/blueprints/registry.d.ts +9 -0
- package/dist/core/blueprints/registry.d.ts.map +1 -0
- package/dist/core/blueprints/registry.js +11 -0
- package/dist/core/blueprints/seed.d.ts +5 -0
- package/dist/core/blueprints/seed.d.ts.map +1 -0
- package/dist/core/blueprints/seed.js +17 -0
- package/dist/core/blueprints/select-helpers.d.ts +10 -0
- package/dist/core/blueprints/select-helpers.d.ts.map +1 -0
- package/dist/core/blueprints/select-helpers.js +26 -0
- package/dist/core/blueprints/seo.d.ts +41 -0
- package/dist/core/blueprints/seo.d.ts.map +1 -0
- package/dist/core/blueprints/seo.js +125 -0
- package/dist/core/blueprints/types.d.ts +60 -0
- package/dist/core/blueprints/types.d.ts.map +1 -0
- package/dist/core/blueprints/types.js +1 -0
- package/dist/core/blueprints/zod-helpers.d.ts +79 -0
- package/dist/core/blueprints/zod-helpers.d.ts.map +1 -0
- package/dist/core/blueprints/zod-helpers.js +72 -0
- package/dist/core/db.d.ts +7 -0
- package/dist/core/db.d.ts.map +1 -0
- package/dist/core/db.js +8 -0
- package/dist/core/errors.d.ts +21 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +29 -0
- package/dist/core/forms/compile.d.ts +9 -0
- package/dist/core/forms/compile.d.ts.map +1 -0
- package/dist/core/forms/compile.js +80 -0
- package/dist/core/forms/definition.d.ts +226 -0
- package/dist/core/forms/definition.d.ts.map +1 -0
- package/dist/core/forms/definition.js +83 -0
- package/dist/core/forms/rate-limit.d.ts +10 -0
- package/dist/core/forms/rate-limit.d.ts.map +1 -0
- package/dist/core/forms/rate-limit.js +31 -0
- package/dist/core/forms/unique.d.ts +5 -0
- package/dist/core/forms/unique.d.ts.map +1 -0
- package/dist/core/forms/unique.js +30 -0
- package/dist/core/globals/compile.d.ts +13 -0
- package/dist/core/globals/compile.d.ts.map +1 -0
- package/dist/core/globals/compile.js +17 -0
- package/dist/core/globals/definition.d.ts +161 -0
- package/dist/core/globals/definition.d.ts.map +1 -0
- package/dist/core/globals/definition.js +23 -0
- package/dist/core/locales.d.ts +14 -0
- package/dist/core/locales.d.ts.map +1 -0
- package/dist/core/locales.js +35 -0
- package/dist/core/migrations.d.ts +3 -0
- package/dist/core/migrations.d.ts.map +1 -0
- package/dist/core/migrations.js +41 -0
- package/dist/core/parse-content.d.ts +14 -0
- package/dist/core/parse-content.d.ts.map +1 -0
- package/dist/core/parse-content.js +68 -0
- package/dist/core/plugins/definition.d.ts +99 -0
- package/dist/core/plugins/definition.d.ts.map +1 -0
- package/dist/core/plugins/definition.js +10 -0
- package/dist/core/preview-content.d.ts +16 -0
- package/dist/core/preview-content.d.ts.map +1 -0
- package/dist/core/preview-content.js +8 -0
- package/dist/core/repos/entries.d.ts +102 -0
- package/dist/core/repos/entries.d.ts.map +1 -0
- package/dist/core/repos/entries.js +393 -0
- package/dist/core/repos/forms.d.ts +82 -0
- package/dist/core/repos/forms.d.ts.map +1 -0
- package/dist/core/repos/forms.js +199 -0
- package/dist/core/repos/globals.d.ts +31 -0
- package/dist/core/repos/globals.d.ts.map +1 -0
- package/dist/core/repos/globals.js +150 -0
- package/dist/core/repos/media.d.ts +39 -0
- package/dist/core/repos/media.d.ts.map +1 -0
- package/dist/core/repos/media.js +81 -0
- package/dist/core/repos/preview-sessions.d.ts +35 -0
- package/dist/core/repos/preview-sessions.d.ts.map +1 -0
- package/dist/core/repos/preview-sessions.js +85 -0
- package/dist/core/repos/revisions.d.ts +24 -0
- package/dist/core/repos/revisions.d.ts.map +1 -0
- package/dist/core/repos/revisions.js +44 -0
- package/dist/core/repos/settings.d.ts +9 -0
- package/dist/core/repos/settings.d.ts.map +1 -0
- package/dist/core/repos/settings.js +21 -0
- package/dist/core/schema.d.ts +2717 -0
- package/dist/core/schema.d.ts.map +1 -0
- package/dist/core/schema.js +220 -0
- package/dist/core/sets/compile.d.ts +8 -0
- package/dist/core/sets/compile.d.ts.map +1 -0
- package/dist/core/sets/compile.js +4 -0
- package/dist/core/sets/definition.d.ts +53 -0
- package/dist/core/sets/definition.d.ts.map +1 -0
- package/dist/core/sets/definition.js +7 -0
- package/dist/core/sets/service.d.ts +13 -0
- package/dist/core/sets/service.d.ts.map +1 -0
- package/dist/core/sets/service.js +68 -0
- package/dist/core/sets/validate-tree.d.ts +4 -0
- package/dist/core/sets/validate-tree.d.ts.map +1 -0
- package/dist/core/sets/validate-tree.js +40 -0
- package/dist/core/slug.d.ts +5 -0
- package/dist/core/slug.d.ts.map +1 -0
- package/dist/core/slug.js +25 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/integration/cron.d.ts +4 -0
- package/dist/integration/cron.d.ts.map +1 -0
- package/dist/integration/cron.js +2 -0
- package/dist/integration/index.d.ts +9 -0
- package/dist/integration/index.d.ts.map +1 -0
- package/dist/integration/index.js +63 -0
- package/dist/integration/inject-admin-routes.d.ts +12 -0
- package/dist/integration/inject-admin-routes.d.ts.map +1 -0
- package/dist/integration/inject-admin-routes.js +35 -0
- package/dist/integration/inject-routes.d.ts +11 -0
- package/dist/integration/inject-routes.d.ts.map +1 -0
- package/dist/integration/inject-routes.js +51 -0
- package/dist/integration/install-hook.d.ts +2 -0
- package/dist/integration/install-hook.d.ts.map +1 -0
- package/dist/integration/install-hook.js +74 -0
- package/dist/integration/live-preview-middleware-helpers.d.ts +29 -0
- package/dist/integration/live-preview-middleware-helpers.d.ts.map +1 -0
- package/dist/integration/live-preview-middleware-helpers.js +75 -0
- package/dist/integration/loader-binding.d.ts +6 -0
- package/dist/integration/loader-binding.d.ts.map +1 -0
- package/dist/integration/loader-binding.js +15 -0
- package/dist/integration/middleware.d.ts +2 -0
- package/dist/integration/middleware.d.ts.map +1 -0
- package/dist/integration/middleware.js +51 -0
- package/dist/integration/type-gen.d.ts +2 -0
- package/dist/integration/type-gen.d.ts.map +1 -0
- package/dist/integration/type-gen.js +26 -0
- package/dist/integration/vite-plugin-blueprints.d.ts +3 -0
- package/dist/integration/vite-plugin-blueprints.d.ts.map +1 -0
- package/dist/integration/vite-plugin-blueprints.js +33 -0
- package/dist/integration/wrangler-patch.d.ts +6 -0
- package/dist/integration/wrangler-patch.d.ts.map +1 -0
- package/dist/integration/wrangler-patch.js +18 -0
- package/dist/integration.d.ts +3 -0
- package/dist/integration.d.ts.map +1 -0
- package/dist/integration.js +1 -0
- package/dist/loader.d.ts +3 -0
- package/dist/loader.d.ts.map +1 -0
- package/dist/loader.js +1 -0
- package/dist/package-name.d.ts +3 -0
- package/dist/package-name.d.ts.map +1 -0
- package/dist/package-name.js +2 -0
- package/dist/scaffold/collection-write.d.ts +14 -0
- package/dist/scaffold/collection-write.d.ts.map +1 -0
- package/dist/scaffold/collection-write.js +59 -0
- package/dist/scaffold/collection.d.ts +36 -0
- package/dist/scaffold/collection.d.ts.map +1 -0
- package/dist/scaffold/collection.js +231 -0
- package/dist/server/assets/live-preview-bridge.content.d.ts +2 -0
- package/dist/server/assets/live-preview-bridge.content.d.ts.map +1 -0
- package/dist/server/assets/live-preview-bridge.content.js +2 -0
- package/dist/server/better-auth.d.ts +71 -0
- package/dist/server/better-auth.d.ts.map +1 -0
- package/dist/server/better-auth.js +68 -0
- package/dist/server/cf-images.d.ts +12 -0
- package/dist/server/cf-images.d.ts.map +1 -0
- package/dist/server/cf-images.js +27 -0
- package/dist/server/cron.d.ts +9 -0
- package/dist/server/cron.d.ts.map +1 -0
- package/dist/server/cron.js +26 -0
- package/dist/server/email.d.ts +10 -0
- package/dist/server/email.d.ts.map +1 -0
- package/dist/server/email.js +9 -0
- package/dist/server/endpoints/api-auth.d.ts +5 -0
- package/dist/server/endpoints/api-auth.d.ts.map +1 -0
- package/dist/server/endpoints/api-auth.js +7 -0
- package/dist/server/endpoints/api-vulse-blueprints.d.ts +6 -0
- package/dist/server/endpoints/api-vulse-blueprints.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-blueprints.js +19 -0
- package/dist/server/endpoints/api-vulse-entries-locales.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-entries-locales.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-entries-locales.js +9 -0
- package/dist/server/endpoints/api-vulse-entries-move.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-entries-move.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-entries-move.js +5 -0
- package/dist/server/endpoints/api-vulse-entries-publish.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-entries-publish.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-entries-publish.js +5 -0
- package/dist/server/endpoints/api-vulse-entries-tree.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-entries-tree.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-entries-tree.js +5 -0
- package/dist/server/endpoints/api-vulse-entries.d.ts +6 -0
- package/dist/server/endpoints/api-vulse-entries.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-entries.js +19 -0
- package/dist/server/endpoints/api-vulse-form-handle.d.ts +6 -0
- package/dist/server/endpoints/api-vulse-form-handle.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-form-handle.js +27 -0
- package/dist/server/endpoints/api-vulse-form-public.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-form-public.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-form-public.js +5 -0
- package/dist/server/endpoints/api-vulse-form-submit.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-form-submit.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-form-submit.js +5 -0
- package/dist/server/endpoints/api-vulse-form-upload.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-form-upload.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-form-upload.js +5 -0
- package/dist/server/endpoints/api-vulse-forms.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-forms.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-forms.js +9 -0
- package/dist/server/endpoints/api-vulse-globals-handle.d.ts +5 -0
- package/dist/server/endpoints/api-vulse-globals-handle.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-globals-handle.js +19 -0
- package/dist/server/endpoints/api-vulse-globals-public-handle.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-globals-public-handle.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-globals-public-handle.js +5 -0
- package/dist/server/endpoints/api-vulse-globals-public.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-globals-public.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-globals-public.js +5 -0
- package/dist/server/endpoints/api-vulse-globals-value.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-globals-value.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-globals-value.js +7 -0
- package/dist/server/endpoints/api-vulse-globals.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-globals.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-globals.js +9 -0
- package/dist/server/endpoints/api-vulse-media-file.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-media-file.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-media-file.js +5 -0
- package/dist/server/endpoints/api-vulse-media-id.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-media-id.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-media-id.js +9 -0
- package/dist/server/endpoints/api-vulse-media.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-media.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-media.js +9 -0
- package/dist/server/endpoints/api-vulse-preview-bridge.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-preview-bridge.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-preview-bridge.js +9 -0
- package/dist/server/endpoints/api-vulse-preview-sessions-id.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-preview-sessions-id.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-preview-sessions-id.js +10 -0
- package/dist/server/endpoints/api-vulse-preview-sessions.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-preview-sessions.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-preview-sessions.js +5 -0
- package/dist/server/endpoints/api-vulse-preview-start.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-preview-start.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-preview-start.js +5 -0
- package/dist/server/endpoints/api-vulse-preview-stop.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-preview-stop.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-preview-stop.js +5 -0
- package/dist/server/endpoints/api-vulse-revisions-restore.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-revisions-restore.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-revisions-restore.js +5 -0
- package/dist/server/endpoints/api-vulse-revisions.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-revisions.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-revisions.js +5 -0
- package/dist/server/endpoints/api-vulse-search.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-search.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-search.js +5 -0
- package/dist/server/endpoints/api-vulse-sets.d.ts +6 -0
- package/dist/server/endpoints/api-vulse-sets.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-sets.js +19 -0
- package/dist/server/endpoints/api-vulse-settings.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-settings.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-settings.js +9 -0
- package/dist/server/endpoints/api-vulse-users-id.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-users-id.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-users-id.js +9 -0
- package/dist/server/endpoints/api-vulse-users-reset-password.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-users-reset-password.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-users-reset-password.js +5 -0
- package/dist/server/endpoints/api-vulse-users-role.d.ts +4 -0
- package/dist/server/endpoints/api-vulse-users-role.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-users-role.js +6 -0
- package/dist/server/endpoints/api-vulse-users.d.ts +3 -0
- package/dist/server/endpoints/api-vulse-users.d.ts.map +1 -0
- package/dist/server/endpoints/api-vulse-users.js +5 -0
- package/dist/server/endpoints/with-runtime.d.ts +2 -0
- package/dist/server/endpoints/with-runtime.d.ts.map +1 -0
- package/dist/server/endpoints/with-runtime.js +10 -0
- package/dist/server/env.d.ts +16 -0
- package/dist/server/env.d.ts.map +1 -0
- package/dist/server/env.js +9 -0
- package/dist/server/envelope.d.ts +15 -0
- package/dist/server/envelope.d.ts.map +1 -0
- package/dist/server/envelope.js +16 -0
- package/dist/server/forms/email.d.ts +8 -0
- package/dist/server/forms/email.d.ts.map +1 -0
- package/dist/server/forms/email.js +6 -0
- package/dist/server/forms/process-submission.d.ts +8 -0
- package/dist/server/forms/process-submission.d.ts.map +1 -0
- package/dist/server/forms/process-submission.js +75 -0
- package/dist/server/forms/queue.d.ts +8 -0
- package/dist/server/forms/queue.d.ts.map +1 -0
- package/dist/server/forms/queue.js +17 -0
- package/dist/server/forms/templates.d.ts +9 -0
- package/dist/server/forms/templates.d.ts.map +1 -0
- package/dist/server/forms/templates.js +14 -0
- package/dist/server/forms/webhook.d.ts +2 -0
- package/dist/server/forms/webhook.d.ts.map +1 -0
- package/dist/server/forms/webhook.js +17 -0
- package/dist/server/handler.d.ts +17 -0
- package/dist/server/handler.d.ts.map +1 -0
- package/dist/server/handler.js +45 -0
- package/dist/server/image-probe.d.ts +6 -0
- package/dist/server/image-probe.d.ts.map +1 -0
- package/dist/server/image-probe.js +38 -0
- package/dist/server/loader.d.ts +10 -0
- package/dist/server/loader.d.ts.map +1 -0
- package/dist/server/loader.js +42 -0
- package/dist/server/plugins.d.ts +17 -0
- package/dist/server/plugins.d.ts.map +1 -0
- package/dist/server/plugins.js +134 -0
- package/dist/server/preview.d.ts +7 -0
- package/dist/server/preview.d.ts.map +1 -0
- package/dist/server/preview.js +22 -0
- package/dist/server/r2.d.ts +8 -0
- package/dist/server/r2.d.ts.map +1 -0
- package/dist/server/r2.js +9 -0
- package/dist/server/routes/blueprints.d.ts +10 -0
- package/dist/server/routes/blueprints.d.ts.map +1 -0
- package/dist/server/routes/blueprints.js +46 -0
- package/dist/server/routes/entries.d.ts +16 -0
- package/dist/server/routes/entries.d.ts.map +1 -0
- package/dist/server/routes/entries.js +262 -0
- package/dist/server/routes/form-submit.d.ts +10 -0
- package/dist/server/routes/form-submit.d.ts.map +1 -0
- package/dist/server/routes/form-submit.js +155 -0
- package/dist/server/routes/form-upload.d.ts +11 -0
- package/dist/server/routes/form-upload.d.ts.map +1 -0
- package/dist/server/routes/form-upload.js +87 -0
- package/dist/server/routes/forms.d.ts +14 -0
- package/dist/server/routes/forms.d.ts.map +1 -0
- package/dist/server/routes/forms.js +78 -0
- package/dist/server/routes/globals-public.d.ts +6 -0
- package/dist/server/routes/globals-public.d.ts.map +1 -0
- package/dist/server/routes/globals-public.js +30 -0
- package/dist/server/routes/globals.d.ts +11 -0
- package/dist/server/routes/globals.d.ts.map +1 -0
- package/dist/server/routes/globals.js +84 -0
- package/dist/server/routes/media.d.ts +23 -0
- package/dist/server/routes/media.d.ts.map +1 -0
- package/dist/server/routes/media.js +129 -0
- package/dist/server/routes/preview-sessions.d.ts +9 -0
- package/dist/server/routes/preview-sessions.d.ts.map +1 -0
- package/dist/server/routes/preview-sessions.js +74 -0
- package/dist/server/routes/preview.d.ts +6 -0
- package/dist/server/routes/preview.d.ts.map +1 -0
- package/dist/server/routes/preview.js +37 -0
- package/dist/server/routes/revisions.d.ts +7 -0
- package/dist/server/routes/revisions.d.ts.map +1 -0
- package/dist/server/routes/revisions.js +26 -0
- package/dist/server/routes/search.d.ts +6 -0
- package/dist/server/routes/search.d.ts.map +1 -0
- package/dist/server/routes/search.js +28 -0
- package/dist/server/routes/sets.d.ts +10 -0
- package/dist/server/routes/sets.d.ts.map +1 -0
- package/dist/server/routes/sets.js +33 -0
- package/dist/server/routes/settings.d.ts +7 -0
- package/dist/server/routes/settings.d.ts.map +1 -0
- package/dist/server/routes/settings.js +21 -0
- package/dist/server/routes/users.d.ts +10 -0
- package/dist/server/routes/users.d.ts.map +1 -0
- package/dist/server/routes/users.js +113 -0
- package/dist/server/runtime.d.ts +49 -0
- package/dist/server/runtime.d.ts.map +1 -0
- package/dist/server/runtime.js +69 -0
- package/dist/server/sdk/collections.d.ts +25 -0
- package/dist/server/sdk/collections.d.ts.map +1 -0
- package/dist/server/sdk/collections.js +76 -0
- package/dist/server/sdk/index.d.ts +45 -0
- package/dist/server/sdk/index.d.ts.map +1 -0
- package/dist/server/sdk/index.js +13 -0
- package/dist/server/sdk/media.d.ts +7 -0
- package/dist/server/sdk/media.d.ts.map +1 -0
- package/dist/server/sdk/media.js +9 -0
- package/dist/server/sdk/search.d.ts +19 -0
- package/dist/server/sdk/search.d.ts.map +1 -0
- package/dist/server/sdk/search.js +58 -0
- package/dist/server.d.ts +8 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +6 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/migrations/0000_init.sql +114 -0
- package/migrations/0001_collections_sets.sql +21 -0
- package/migrations/0003_fts.sql +22 -0
- package/migrations/0004_forms.sql +58 -0
- package/migrations/0005_globals.sql +16 -0
- package/migrations/0006_preview_sessions.sql +16 -0
- package/migrations/meta/0000_snapshot.json +672 -0
- package/migrations/meta/_journal.json +13 -0
- package/package.json +130 -0
- package/src/client/BlockRenderer.astro +40 -0
- package/src/client/BlockRenderer.vue +42 -0
- package/src/client/Node.vue +21 -0
- package/src/client/ProseMirrorRenderer.vue +31 -0
- package/src/client/auth.ts +28 -0
- package/src/client/blocks/Blockquote.vue +12 -0
- package/src/client/blocks/BulletList.vue +12 -0
- package/src/client/blocks/CodeBlock.vue +12 -0
- package/src/client/blocks/Emoji.vue +14 -0
- package/src/client/blocks/HardBreak.vue +1 -0
- package/src/client/blocks/Heading.vue +17 -0
- package/src/client/blocks/ListItem.vue +12 -0
- package/src/client/blocks/OrderedList.vue +12 -0
- package/src/client/blocks/Paragraph.vue +12 -0
- package/src/client/blocks/Text.vue +33 -0
- package/src/client/blocks/VulseAccordion.vue +16 -0
- package/src/client/blocks/VulseAccordionGroup.vue +12 -0
- package/src/client/blocks/VulseCallout.vue +14 -0
- package/src/client/blocks/VulseIframe.vue +65 -0
- package/src/client/blocks/VulseImage.vue +30 -0
- package/src/client/blocks/VulseSet.vue +26 -0
- package/src/client/blocks/VulseVideo.vue +18 -0
- package/src/client/components/ForgotPasswordForm.astro +71 -0
- package/src/client/components/FormRenderer.astro +40 -0
- package/src/client/components/ResetPasswordForm.astro +72 -0
- package/src/client/components/SessionGuard.astro +27 -0
- package/src/client/components/SignInForm.astro +57 -0
- package/src/client/components/SignOutButton.astro +22 -0
- package/src/client/components/SignUpForm.astro +61 -0
- package/src/client/components/VulseImage.vue +25 -0
- package/src/client/embed.ts +52 -0
- package/src/client/index.ts +2 -0
- package/src/client/inject.ts +4 -0
- package/src/client/live-preview-bridge.ts +20 -0
- package/src/client/pm-defaults.ts +38 -0
- package/src/client/pm-types.ts +21 -0
- package/src/client/render-pm-html.ts +154 -0
- package/src/client/url.ts +35 -0
|
@@ -0,0 +1,963 @@
|
|
|
1
|
+
import { z } from 'astro/zod';
|
|
2
|
+
export declare const SelectOptionSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3
|
+
key: z.ZodString;
|
|
4
|
+
label: z.ZodString;
|
|
5
|
+
}, z.core.$strip>]>;
|
|
6
|
+
export declare const LinkValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
|
+
type: z.ZodLiteral<"url">;
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10
|
+
type: z.ZodLiteral<"entry">;
|
|
11
|
+
entryId: z.ZodString;
|
|
12
|
+
collection: z.ZodString;
|
|
13
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"first-child">;
|
|
15
|
+
}, z.core.$strip>], "type">;
|
|
16
|
+
export declare const NonReplicatorFieldUiSchema: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
17
|
+
kind: z.ZodLiteral<"text">;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
kind: z.ZodLiteral<"textarea">;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
kind: z.ZodLiteral<"blocks">;
|
|
22
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
kind: z.ZodLiteral<"date">;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
kind: z.ZodLiteral<"boolean">;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"select">;
|
|
29
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
30
|
+
key: z.ZodString;
|
|
31
|
+
label: z.ZodString;
|
|
32
|
+
}, z.core.$strip>]>>;
|
|
33
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
35
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
kind: z.ZodLiteral<"relationship">;
|
|
38
|
+
to: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
kind: z.ZodLiteral<"entry">;
|
|
41
|
+
collections: z.ZodArray<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
kind: z.ZodLiteral<"entries">;
|
|
44
|
+
collections: z.ZodArray<z.ZodString>;
|
|
45
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
kind: z.ZodLiteral<"link">;
|
|
48
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
kind: z.ZodLiteral<"asset">;
|
|
51
|
+
}, z.core.$strip>], "kind">;
|
|
52
|
+
export declare const FieldValidationSchema: z.ZodOptional<z.ZodObject<{
|
|
53
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
export declare const NestedFieldDefinitionSchema: z.ZodObject<{
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
label: z.ZodOptional<z.ZodString>;
|
|
59
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"text">;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
kind: z.ZodLiteral<"textarea">;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
kind: z.ZodLiteral<"blocks">;
|
|
65
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"date">;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
kind: z.ZodLiteral<"boolean">;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
+
kind: z.ZodLiteral<"select">;
|
|
72
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
73
|
+
key: z.ZodString;
|
|
74
|
+
label: z.ZodString;
|
|
75
|
+
}, z.core.$strip>]>>;
|
|
76
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
78
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
+
kind: z.ZodLiteral<"relationship">;
|
|
81
|
+
to: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
kind: z.ZodLiteral<"entry">;
|
|
84
|
+
collections: z.ZodArray<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
kind: z.ZodLiteral<"entries">;
|
|
87
|
+
collections: z.ZodArray<z.ZodString>;
|
|
88
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
kind: z.ZodLiteral<"link">;
|
|
91
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
+
kind: z.ZodLiteral<"asset">;
|
|
94
|
+
}, z.core.$strip>], "kind">;
|
|
95
|
+
optional: z.ZodBoolean;
|
|
96
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
97
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
export declare const ReplicatorSetSchema: z.ZodObject<{
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
label: z.ZodOptional<z.ZodString>;
|
|
105
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
106
|
+
name: z.ZodString;
|
|
107
|
+
label: z.ZodOptional<z.ZodString>;
|
|
108
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
109
|
+
kind: z.ZodLiteral<"text">;
|
|
110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"textarea">;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
kind: z.ZodLiteral<"blocks">;
|
|
114
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
116
|
+
kind: z.ZodLiteral<"date">;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"boolean">;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
kind: z.ZodLiteral<"select">;
|
|
121
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
122
|
+
key: z.ZodString;
|
|
123
|
+
label: z.ZodString;
|
|
124
|
+
}, z.core.$strip>]>>;
|
|
125
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
127
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"relationship">;
|
|
130
|
+
to: z.ZodString;
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"entry">;
|
|
133
|
+
collections: z.ZodArray<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
kind: z.ZodLiteral<"entries">;
|
|
136
|
+
collections: z.ZodArray<z.ZodString>;
|
|
137
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
kind: z.ZodLiteral<"link">;
|
|
140
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
kind: z.ZodLiteral<"asset">;
|
|
143
|
+
}, z.core.$strip>], "kind">;
|
|
144
|
+
optional: z.ZodBoolean;
|
|
145
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
146
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
|
+
}, z.core.$strip>>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
export declare const FieldUiSchema: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
153
|
+
kind: z.ZodLiteral<"text">;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
kind: z.ZodLiteral<"textarea">;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"blocks">;
|
|
158
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
kind: z.ZodLiteral<"date">;
|
|
161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
+
kind: z.ZodLiteral<"boolean">;
|
|
163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"select">;
|
|
165
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
166
|
+
key: z.ZodString;
|
|
167
|
+
label: z.ZodString;
|
|
168
|
+
}, z.core.$strip>]>>;
|
|
169
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
171
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
+
kind: z.ZodLiteral<"relationship">;
|
|
174
|
+
to: z.ZodString;
|
|
175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
176
|
+
kind: z.ZodLiteral<"entry">;
|
|
177
|
+
collections: z.ZodArray<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
+
kind: z.ZodLiteral<"entries">;
|
|
180
|
+
collections: z.ZodArray<z.ZodString>;
|
|
181
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"link">;
|
|
184
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"asset">;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"replicator">;
|
|
189
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
label: z.ZodOptional<z.ZodString>;
|
|
192
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
label: z.ZodOptional<z.ZodString>;
|
|
195
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"text">;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"textarea">;
|
|
199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
+
kind: z.ZodLiteral<"blocks">;
|
|
201
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
+
kind: z.ZodLiteral<"date">;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
kind: z.ZodLiteral<"boolean">;
|
|
206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
+
kind: z.ZodLiteral<"select">;
|
|
208
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
209
|
+
key: z.ZodString;
|
|
210
|
+
label: z.ZodString;
|
|
211
|
+
}, z.core.$strip>]>>;
|
|
212
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
214
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
kind: z.ZodLiteral<"relationship">;
|
|
217
|
+
to: z.ZodString;
|
|
218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
219
|
+
kind: z.ZodLiteral<"entry">;
|
|
220
|
+
collections: z.ZodArray<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
222
|
+
kind: z.ZodLiteral<"entries">;
|
|
223
|
+
collections: z.ZodArray<z.ZodString>;
|
|
224
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
kind: z.ZodLiteral<"link">;
|
|
227
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"asset">;
|
|
230
|
+
}, z.core.$strip>], "kind">;
|
|
231
|
+
optional: z.ZodBoolean;
|
|
232
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
233
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
}, z.core.$strip>>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
kind: z.ZodLiteral<"grid">;
|
|
241
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
242
|
+
name: z.ZodString;
|
|
243
|
+
label: z.ZodOptional<z.ZodString>;
|
|
244
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
245
|
+
kind: z.ZodLiteral<"text">;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
kind: z.ZodLiteral<"textarea">;
|
|
248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
249
|
+
kind: z.ZodLiteral<"blocks">;
|
|
250
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"date">;
|
|
253
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
254
|
+
kind: z.ZodLiteral<"boolean">;
|
|
255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
+
kind: z.ZodLiteral<"select">;
|
|
257
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
258
|
+
key: z.ZodString;
|
|
259
|
+
label: z.ZodString;
|
|
260
|
+
}, z.core.$strip>]>>;
|
|
261
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
263
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
+
kind: z.ZodLiteral<"relationship">;
|
|
266
|
+
to: z.ZodString;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
kind: z.ZodLiteral<"entry">;
|
|
269
|
+
collections: z.ZodArray<z.ZodString>;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
+
kind: z.ZodLiteral<"entries">;
|
|
272
|
+
collections: z.ZodArray<z.ZodString>;
|
|
273
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"link">;
|
|
276
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
278
|
+
kind: z.ZodLiteral<"asset">;
|
|
279
|
+
}, z.core.$strip>], "kind">;
|
|
280
|
+
optional: z.ZodBoolean;
|
|
281
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
282
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
283
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
284
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
285
|
+
}, z.core.$strip>>;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
288
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
table: "table";
|
|
291
|
+
stacked: "stacked";
|
|
292
|
+
}>>;
|
|
293
|
+
addLabel: z.ZodOptional<z.ZodString>;
|
|
294
|
+
}, z.core.$strip>], "kind">;
|
|
295
|
+
export declare const FieldDefinitionSchema: z.ZodObject<{
|
|
296
|
+
name: z.ZodString;
|
|
297
|
+
label: z.ZodOptional<z.ZodString>;
|
|
298
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"text">;
|
|
300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"textarea">;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"blocks">;
|
|
304
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
306
|
+
kind: z.ZodLiteral<"date">;
|
|
307
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
308
|
+
kind: z.ZodLiteral<"boolean">;
|
|
309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"select">;
|
|
311
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
312
|
+
key: z.ZodString;
|
|
313
|
+
label: z.ZodString;
|
|
314
|
+
}, z.core.$strip>]>>;
|
|
315
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
317
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
+
kind: z.ZodLiteral<"relationship">;
|
|
320
|
+
to: z.ZodString;
|
|
321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
322
|
+
kind: z.ZodLiteral<"entry">;
|
|
323
|
+
collections: z.ZodArray<z.ZodString>;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
kind: z.ZodLiteral<"entries">;
|
|
326
|
+
collections: z.ZodArray<z.ZodString>;
|
|
327
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
kind: z.ZodLiteral<"link">;
|
|
330
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"asset">;
|
|
333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
334
|
+
kind: z.ZodLiteral<"replicator">;
|
|
335
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
336
|
+
name: z.ZodString;
|
|
337
|
+
label: z.ZodOptional<z.ZodString>;
|
|
338
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
label: z.ZodOptional<z.ZodString>;
|
|
341
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
342
|
+
kind: z.ZodLiteral<"text">;
|
|
343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
+
kind: z.ZodLiteral<"textarea">;
|
|
345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
346
|
+
kind: z.ZodLiteral<"blocks">;
|
|
347
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
348
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
349
|
+
kind: z.ZodLiteral<"date">;
|
|
350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
+
kind: z.ZodLiteral<"boolean">;
|
|
352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
+
kind: z.ZodLiteral<"select">;
|
|
354
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
355
|
+
key: z.ZodString;
|
|
356
|
+
label: z.ZodString;
|
|
357
|
+
}, z.core.$strip>]>>;
|
|
358
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
360
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"relationship">;
|
|
363
|
+
to: z.ZodString;
|
|
364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
365
|
+
kind: z.ZodLiteral<"entry">;
|
|
366
|
+
collections: z.ZodArray<z.ZodString>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
kind: z.ZodLiteral<"entries">;
|
|
369
|
+
collections: z.ZodArray<z.ZodString>;
|
|
370
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
+
kind: z.ZodLiteral<"link">;
|
|
373
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
375
|
+
kind: z.ZodLiteral<"asset">;
|
|
376
|
+
}, z.core.$strip>], "kind">;
|
|
377
|
+
optional: z.ZodBoolean;
|
|
378
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
379
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
}, z.core.$strip>>;
|
|
384
|
+
}, z.core.$strip>>;
|
|
385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
386
|
+
kind: z.ZodLiteral<"grid">;
|
|
387
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
388
|
+
name: z.ZodString;
|
|
389
|
+
label: z.ZodOptional<z.ZodString>;
|
|
390
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
391
|
+
kind: z.ZodLiteral<"text">;
|
|
392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
393
|
+
kind: z.ZodLiteral<"textarea">;
|
|
394
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
395
|
+
kind: z.ZodLiteral<"blocks">;
|
|
396
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
398
|
+
kind: z.ZodLiteral<"date">;
|
|
399
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
400
|
+
kind: z.ZodLiteral<"boolean">;
|
|
401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
402
|
+
kind: z.ZodLiteral<"select">;
|
|
403
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
404
|
+
key: z.ZodString;
|
|
405
|
+
label: z.ZodString;
|
|
406
|
+
}, z.core.$strip>]>>;
|
|
407
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
409
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
411
|
+
kind: z.ZodLiteral<"relationship">;
|
|
412
|
+
to: z.ZodString;
|
|
413
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
414
|
+
kind: z.ZodLiteral<"entry">;
|
|
415
|
+
collections: z.ZodArray<z.ZodString>;
|
|
416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
kind: z.ZodLiteral<"entries">;
|
|
418
|
+
collections: z.ZodArray<z.ZodString>;
|
|
419
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
|
+
kind: z.ZodLiteral<"link">;
|
|
422
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
+
kind: z.ZodLiteral<"asset">;
|
|
425
|
+
}, z.core.$strip>], "kind">;
|
|
426
|
+
optional: z.ZodBoolean;
|
|
427
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
428
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
}, z.core.$strip>>;
|
|
432
|
+
}, z.core.$strip>>;
|
|
433
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
table: "table";
|
|
437
|
+
stacked: "stacked";
|
|
438
|
+
}>>;
|
|
439
|
+
addLabel: z.ZodOptional<z.ZodString>;
|
|
440
|
+
}, z.core.$strip>], "kind">;
|
|
441
|
+
optional: z.ZodBoolean;
|
|
442
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
443
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
445
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
export declare const PreviewDefinitionSchema: z.ZodObject<{
|
|
449
|
+
path: z.ZodString;
|
|
450
|
+
rootSelector: z.ZodOptional<z.ZodString>;
|
|
451
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
452
|
+
}, z.core.$strip>;
|
|
453
|
+
export declare const BlueprintDefinitionSchema: z.ZodObject<{
|
|
454
|
+
handle: z.ZodString;
|
|
455
|
+
label: z.ZodString;
|
|
456
|
+
singleton: z.ZodBoolean;
|
|
457
|
+
tree: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
seo: z.ZodOptional<z.ZodBoolean>;
|
|
461
|
+
seoMapping: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
metaTitle: z.ZodOptional<z.ZodString>;
|
|
463
|
+
metaDescription: z.ZodOptional<z.ZodString>;
|
|
464
|
+
ogImage: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.core.$strip>>;
|
|
466
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
467
|
+
path: z.ZodString;
|
|
468
|
+
rootSelector: z.ZodOptional<z.ZodString>;
|
|
469
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
}, z.core.$strip>>;
|
|
471
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
472
|
+
name: z.ZodString;
|
|
473
|
+
label: z.ZodOptional<z.ZodString>;
|
|
474
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
475
|
+
kind: z.ZodLiteral<"text">;
|
|
476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
477
|
+
kind: z.ZodLiteral<"textarea">;
|
|
478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
479
|
+
kind: z.ZodLiteral<"blocks">;
|
|
480
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"date">;
|
|
483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"boolean">;
|
|
485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
486
|
+
kind: z.ZodLiteral<"select">;
|
|
487
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
488
|
+
key: z.ZodString;
|
|
489
|
+
label: z.ZodString;
|
|
490
|
+
}, z.core.$strip>]>>;
|
|
491
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
492
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
493
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
495
|
+
kind: z.ZodLiteral<"relationship">;
|
|
496
|
+
to: z.ZodString;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
kind: z.ZodLiteral<"entry">;
|
|
499
|
+
collections: z.ZodArray<z.ZodString>;
|
|
500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
+
kind: z.ZodLiteral<"entries">;
|
|
502
|
+
collections: z.ZodArray<z.ZodString>;
|
|
503
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
504
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
505
|
+
kind: z.ZodLiteral<"link">;
|
|
506
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
508
|
+
kind: z.ZodLiteral<"asset">;
|
|
509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
510
|
+
kind: z.ZodLiteral<"replicator">;
|
|
511
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
512
|
+
name: z.ZodString;
|
|
513
|
+
label: z.ZodOptional<z.ZodString>;
|
|
514
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
515
|
+
name: z.ZodString;
|
|
516
|
+
label: z.ZodOptional<z.ZodString>;
|
|
517
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
518
|
+
kind: z.ZodLiteral<"text">;
|
|
519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
520
|
+
kind: z.ZodLiteral<"textarea">;
|
|
521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
522
|
+
kind: z.ZodLiteral<"blocks">;
|
|
523
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
524
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
+
kind: z.ZodLiteral<"date">;
|
|
526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
527
|
+
kind: z.ZodLiteral<"boolean">;
|
|
528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
529
|
+
kind: z.ZodLiteral<"select">;
|
|
530
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
531
|
+
key: z.ZodString;
|
|
532
|
+
label: z.ZodString;
|
|
533
|
+
}, z.core.$strip>]>>;
|
|
534
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
536
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"relationship">;
|
|
539
|
+
to: z.ZodString;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
|
+
kind: z.ZodLiteral<"entry">;
|
|
542
|
+
collections: z.ZodArray<z.ZodString>;
|
|
543
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
+
kind: z.ZodLiteral<"entries">;
|
|
545
|
+
collections: z.ZodArray<z.ZodString>;
|
|
546
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
548
|
+
kind: z.ZodLiteral<"link">;
|
|
549
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
551
|
+
kind: z.ZodLiteral<"asset">;
|
|
552
|
+
}, z.core.$strip>], "kind">;
|
|
553
|
+
optional: z.ZodBoolean;
|
|
554
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
555
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
557
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
558
|
+
}, z.core.$strip>>;
|
|
559
|
+
}, z.core.$strip>>;
|
|
560
|
+
}, z.core.$strip>>;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
kind: z.ZodLiteral<"grid">;
|
|
563
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
564
|
+
name: z.ZodString;
|
|
565
|
+
label: z.ZodOptional<z.ZodString>;
|
|
566
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
567
|
+
kind: z.ZodLiteral<"text">;
|
|
568
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
569
|
+
kind: z.ZodLiteral<"textarea">;
|
|
570
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"blocks">;
|
|
572
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
+
kind: z.ZodLiteral<"date">;
|
|
575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
kind: z.ZodLiteral<"boolean">;
|
|
577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"select">;
|
|
579
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
580
|
+
key: z.ZodString;
|
|
581
|
+
label: z.ZodString;
|
|
582
|
+
}, z.core.$strip>]>>;
|
|
583
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
585
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
587
|
+
kind: z.ZodLiteral<"relationship">;
|
|
588
|
+
to: z.ZodString;
|
|
589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
590
|
+
kind: z.ZodLiteral<"entry">;
|
|
591
|
+
collections: z.ZodArray<z.ZodString>;
|
|
592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
593
|
+
kind: z.ZodLiteral<"entries">;
|
|
594
|
+
collections: z.ZodArray<z.ZodString>;
|
|
595
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"link">;
|
|
598
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
600
|
+
kind: z.ZodLiteral<"asset">;
|
|
601
|
+
}, z.core.$strip>], "kind">;
|
|
602
|
+
optional: z.ZodBoolean;
|
|
603
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
604
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
605
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
606
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
607
|
+
}, z.core.$strip>>;
|
|
608
|
+
}, z.core.$strip>>;
|
|
609
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
table: "table";
|
|
613
|
+
stacked: "stacked";
|
|
614
|
+
}>>;
|
|
615
|
+
addLabel: z.ZodOptional<z.ZodString>;
|
|
616
|
+
}, z.core.$strip>], "kind">;
|
|
617
|
+
optional: z.ZodBoolean;
|
|
618
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
619
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
620
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
621
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
}, z.core.$strip>>;
|
|
624
|
+
}, z.core.$strip>;
|
|
625
|
+
export type SelectOption = z.infer<typeof SelectOptionSchema>;
|
|
626
|
+
export type LinkValue = z.infer<typeof LinkValueSchema>;
|
|
627
|
+
export type NonReplicatorFieldUi = z.infer<typeof NonReplicatorFieldUiSchema>;
|
|
628
|
+
export type NestedFieldDefinition = z.infer<typeof NestedFieldDefinitionSchema>;
|
|
629
|
+
export type ReplicatorSetDefinition = z.infer<typeof ReplicatorSetSchema>;
|
|
630
|
+
export type FieldUi = z.infer<typeof FieldUiSchema>;
|
|
631
|
+
export type FieldDefinition = z.infer<typeof FieldDefinitionSchema>;
|
|
632
|
+
export type PreviewDefinition = z.infer<typeof PreviewDefinitionSchema>;
|
|
633
|
+
export type BlueprintDefinition = z.infer<typeof BlueprintDefinitionSchema>;
|
|
634
|
+
export declare const FieldDefinitionWithRenameSchema: z.ZodObject<{
|
|
635
|
+
name: z.ZodString;
|
|
636
|
+
label: z.ZodOptional<z.ZodString>;
|
|
637
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
638
|
+
kind: z.ZodLiteral<"text">;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
kind: z.ZodLiteral<"textarea">;
|
|
641
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
642
|
+
kind: z.ZodLiteral<"blocks">;
|
|
643
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
645
|
+
kind: z.ZodLiteral<"date">;
|
|
646
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
647
|
+
kind: z.ZodLiteral<"boolean">;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
kind: z.ZodLiteral<"select">;
|
|
650
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
651
|
+
key: z.ZodString;
|
|
652
|
+
label: z.ZodString;
|
|
653
|
+
}, z.core.$strip>]>>;
|
|
654
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
655
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
656
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
657
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
658
|
+
kind: z.ZodLiteral<"relationship">;
|
|
659
|
+
to: z.ZodString;
|
|
660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
+
kind: z.ZodLiteral<"entry">;
|
|
662
|
+
collections: z.ZodArray<z.ZodString>;
|
|
663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
664
|
+
kind: z.ZodLiteral<"entries">;
|
|
665
|
+
collections: z.ZodArray<z.ZodString>;
|
|
666
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
668
|
+
kind: z.ZodLiteral<"link">;
|
|
669
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
671
|
+
kind: z.ZodLiteral<"asset">;
|
|
672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
673
|
+
kind: z.ZodLiteral<"replicator">;
|
|
674
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
675
|
+
name: z.ZodString;
|
|
676
|
+
label: z.ZodOptional<z.ZodString>;
|
|
677
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
678
|
+
name: z.ZodString;
|
|
679
|
+
label: z.ZodOptional<z.ZodString>;
|
|
680
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
681
|
+
kind: z.ZodLiteral<"text">;
|
|
682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
683
|
+
kind: z.ZodLiteral<"textarea">;
|
|
684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
685
|
+
kind: z.ZodLiteral<"blocks">;
|
|
686
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
kind: z.ZodLiteral<"date">;
|
|
689
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
690
|
+
kind: z.ZodLiteral<"boolean">;
|
|
691
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
692
|
+
kind: z.ZodLiteral<"select">;
|
|
693
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
694
|
+
key: z.ZodString;
|
|
695
|
+
label: z.ZodString;
|
|
696
|
+
}, z.core.$strip>]>>;
|
|
697
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
698
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
699
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
701
|
+
kind: z.ZodLiteral<"relationship">;
|
|
702
|
+
to: z.ZodString;
|
|
703
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
704
|
+
kind: z.ZodLiteral<"entry">;
|
|
705
|
+
collections: z.ZodArray<z.ZodString>;
|
|
706
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
707
|
+
kind: z.ZodLiteral<"entries">;
|
|
708
|
+
collections: z.ZodArray<z.ZodString>;
|
|
709
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
711
|
+
kind: z.ZodLiteral<"link">;
|
|
712
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
714
|
+
kind: z.ZodLiteral<"asset">;
|
|
715
|
+
}, z.core.$strip>], "kind">;
|
|
716
|
+
optional: z.ZodBoolean;
|
|
717
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
718
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
719
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
720
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
}, z.core.$strip>>;
|
|
722
|
+
}, z.core.$strip>>;
|
|
723
|
+
}, z.core.$strip>>;
|
|
724
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"grid">;
|
|
726
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
727
|
+
name: z.ZodString;
|
|
728
|
+
label: z.ZodOptional<z.ZodString>;
|
|
729
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
730
|
+
kind: z.ZodLiteral<"text">;
|
|
731
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
732
|
+
kind: z.ZodLiteral<"textarea">;
|
|
733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
734
|
+
kind: z.ZodLiteral<"blocks">;
|
|
735
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
736
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
737
|
+
kind: z.ZodLiteral<"date">;
|
|
738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
739
|
+
kind: z.ZodLiteral<"boolean">;
|
|
740
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
741
|
+
kind: z.ZodLiteral<"select">;
|
|
742
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
743
|
+
key: z.ZodString;
|
|
744
|
+
label: z.ZodString;
|
|
745
|
+
}, z.core.$strip>]>>;
|
|
746
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
747
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
748
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
750
|
+
kind: z.ZodLiteral<"relationship">;
|
|
751
|
+
to: z.ZodString;
|
|
752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
753
|
+
kind: z.ZodLiteral<"entry">;
|
|
754
|
+
collections: z.ZodArray<z.ZodString>;
|
|
755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
756
|
+
kind: z.ZodLiteral<"entries">;
|
|
757
|
+
collections: z.ZodArray<z.ZodString>;
|
|
758
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"link">;
|
|
761
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
762
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
763
|
+
kind: z.ZodLiteral<"asset">;
|
|
764
|
+
}, z.core.$strip>], "kind">;
|
|
765
|
+
optional: z.ZodBoolean;
|
|
766
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
767
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
769
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
}, z.core.$strip>>;
|
|
771
|
+
}, z.core.$strip>>;
|
|
772
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
773
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
774
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
775
|
+
table: "table";
|
|
776
|
+
stacked: "stacked";
|
|
777
|
+
}>>;
|
|
778
|
+
addLabel: z.ZodOptional<z.ZodString>;
|
|
779
|
+
}, z.core.$strip>], "kind">;
|
|
780
|
+
optional: z.ZodBoolean;
|
|
781
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
782
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
783
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
784
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
785
|
+
}, z.core.$strip>>;
|
|
786
|
+
previousName: z.ZodOptional<z.ZodString>;
|
|
787
|
+
}, z.core.$strip>;
|
|
788
|
+
export declare const BlueprintDefinitionWithRenamesSchema: z.ZodObject<{
|
|
789
|
+
handle: z.ZodString;
|
|
790
|
+
label: z.ZodString;
|
|
791
|
+
singleton: z.ZodBoolean;
|
|
792
|
+
tree: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
795
|
+
seo: z.ZodOptional<z.ZodBoolean>;
|
|
796
|
+
seoMapping: z.ZodOptional<z.ZodObject<{
|
|
797
|
+
metaTitle: z.ZodOptional<z.ZodString>;
|
|
798
|
+
metaDescription: z.ZodOptional<z.ZodString>;
|
|
799
|
+
ogImage: z.ZodOptional<z.ZodString>;
|
|
800
|
+
}, z.core.$strip>>;
|
|
801
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
802
|
+
path: z.ZodString;
|
|
803
|
+
rootSelector: z.ZodOptional<z.ZodString>;
|
|
804
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
805
|
+
}, z.core.$strip>>;
|
|
806
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
807
|
+
name: z.ZodString;
|
|
808
|
+
label: z.ZodOptional<z.ZodString>;
|
|
809
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
810
|
+
kind: z.ZodLiteral<"text">;
|
|
811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
812
|
+
kind: z.ZodLiteral<"textarea">;
|
|
813
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
814
|
+
kind: z.ZodLiteral<"blocks">;
|
|
815
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
817
|
+
kind: z.ZodLiteral<"date">;
|
|
818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
kind: z.ZodLiteral<"boolean">;
|
|
820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
821
|
+
kind: z.ZodLiteral<"select">;
|
|
822
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
823
|
+
key: z.ZodString;
|
|
824
|
+
label: z.ZodString;
|
|
825
|
+
}, z.core.$strip>]>>;
|
|
826
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
827
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
828
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
830
|
+
kind: z.ZodLiteral<"relationship">;
|
|
831
|
+
to: z.ZodString;
|
|
832
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
833
|
+
kind: z.ZodLiteral<"entry">;
|
|
834
|
+
collections: z.ZodArray<z.ZodString>;
|
|
835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
836
|
+
kind: z.ZodLiteral<"entries">;
|
|
837
|
+
collections: z.ZodArray<z.ZodString>;
|
|
838
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
840
|
+
kind: z.ZodLiteral<"link">;
|
|
841
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
842
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
843
|
+
kind: z.ZodLiteral<"asset">;
|
|
844
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
845
|
+
kind: z.ZodLiteral<"replicator">;
|
|
846
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
847
|
+
name: z.ZodString;
|
|
848
|
+
label: z.ZodOptional<z.ZodString>;
|
|
849
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
850
|
+
name: z.ZodString;
|
|
851
|
+
label: z.ZodOptional<z.ZodString>;
|
|
852
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
853
|
+
kind: z.ZodLiteral<"text">;
|
|
854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
855
|
+
kind: z.ZodLiteral<"textarea">;
|
|
856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
857
|
+
kind: z.ZodLiteral<"blocks">;
|
|
858
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
860
|
+
kind: z.ZodLiteral<"date">;
|
|
861
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
862
|
+
kind: z.ZodLiteral<"boolean">;
|
|
863
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
864
|
+
kind: z.ZodLiteral<"select">;
|
|
865
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
866
|
+
key: z.ZodString;
|
|
867
|
+
label: z.ZodString;
|
|
868
|
+
}, z.core.$strip>]>>;
|
|
869
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
870
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
871
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
873
|
+
kind: z.ZodLiteral<"relationship">;
|
|
874
|
+
to: z.ZodString;
|
|
875
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
876
|
+
kind: z.ZodLiteral<"entry">;
|
|
877
|
+
collections: z.ZodArray<z.ZodString>;
|
|
878
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
879
|
+
kind: z.ZodLiteral<"entries">;
|
|
880
|
+
collections: z.ZodArray<z.ZodString>;
|
|
881
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
883
|
+
kind: z.ZodLiteral<"link">;
|
|
884
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
886
|
+
kind: z.ZodLiteral<"asset">;
|
|
887
|
+
}, z.core.$strip>], "kind">;
|
|
888
|
+
optional: z.ZodBoolean;
|
|
889
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
890
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
891
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
892
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
893
|
+
}, z.core.$strip>>;
|
|
894
|
+
}, z.core.$strip>>;
|
|
895
|
+
}, z.core.$strip>>;
|
|
896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
897
|
+
kind: z.ZodLiteral<"grid">;
|
|
898
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
899
|
+
name: z.ZodString;
|
|
900
|
+
label: z.ZodOptional<z.ZodString>;
|
|
901
|
+
ui: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
902
|
+
kind: z.ZodLiteral<"text">;
|
|
903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
904
|
+
kind: z.ZodLiteral<"textarea">;
|
|
905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
906
|
+
kind: z.ZodLiteral<"blocks">;
|
|
907
|
+
sets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
908
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
909
|
+
kind: z.ZodLiteral<"date">;
|
|
910
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
911
|
+
kind: z.ZodLiteral<"boolean">;
|
|
912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
+
kind: z.ZodLiteral<"select">;
|
|
914
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
915
|
+
key: z.ZodString;
|
|
916
|
+
label: z.ZodString;
|
|
917
|
+
}, z.core.$strip>]>>;
|
|
918
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
919
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
920
|
+
clearable: z.ZodOptional<z.ZodBoolean>;
|
|
921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
922
|
+
kind: z.ZodLiteral<"relationship">;
|
|
923
|
+
to: z.ZodString;
|
|
924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
925
|
+
kind: z.ZodLiteral<"entry">;
|
|
926
|
+
collections: z.ZodArray<z.ZodString>;
|
|
927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
928
|
+
kind: z.ZodLiteral<"entries">;
|
|
929
|
+
collections: z.ZodArray<z.ZodString>;
|
|
930
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
931
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
932
|
+
kind: z.ZodLiteral<"link">;
|
|
933
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
934
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
935
|
+
kind: z.ZodLiteral<"asset">;
|
|
936
|
+
}, z.core.$strip>], "kind">;
|
|
937
|
+
optional: z.ZodBoolean;
|
|
938
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
939
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
940
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
941
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
942
|
+
}, z.core.$strip>>;
|
|
943
|
+
}, z.core.$strip>>;
|
|
944
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
945
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
946
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
947
|
+
table: "table";
|
|
948
|
+
stacked: "stacked";
|
|
949
|
+
}>>;
|
|
950
|
+
addLabel: z.ZodOptional<z.ZodString>;
|
|
951
|
+
}, z.core.$strip>], "kind">;
|
|
952
|
+
optional: z.ZodBoolean;
|
|
953
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
954
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
955
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
956
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
957
|
+
}, z.core.$strip>>;
|
|
958
|
+
previousName: z.ZodOptional<z.ZodString>;
|
|
959
|
+
}, z.core.$strip>>;
|
|
960
|
+
}, z.core.$strip>;
|
|
961
|
+
export type FieldDefinitionWithRename = z.infer<typeof FieldDefinitionWithRenameSchema>;
|
|
962
|
+
export type BlueprintDefinitionWithRenames = z.infer<typeof BlueprintDefinitionWithRenamesSchema>;
|
|
963
|
+
//# sourceMappingURL=definition.d.ts.map
|