@revealui/core 0.0.1-pre.4 → 0.2.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/LICENSE +22 -202
- package/README.md +29 -180
- package/dist/api/compression.d.ts +83 -0
- package/dist/api/compression.d.ts.map +1 -0
- package/dist/api/compression.js +233 -0
- package/dist/api/payload-optimization.d.ts +138 -0
- package/dist/api/payload-optimization.d.ts.map +1 -0
- package/dist/api/payload-optimization.js +320 -0
- package/dist/api/rate-limit.d.ts +113 -0
- package/dist/api/rate-limit.d.ts.map +1 -0
- package/dist/api/rate-limit.js +301 -0
- package/dist/api/response-cache.d.ts +125 -0
- package/dist/api/response-cache.d.ts.map +1 -0
- package/dist/api/response-cache.js +335 -0
- package/dist/api/rest.d.ts +54 -0
- package/dist/api/rest.d.ts.map +1 -0
- package/dist/api/rest.js +464 -0
- package/dist/auth/access.d.ts +25 -0
- package/dist/auth/access.d.ts.map +1 -0
- package/dist/auth/access.js +20 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +2 -0
- package/dist/cache/query-cache.d.ts +98 -0
- package/dist/cache/query-cache.d.ts.map +1 -0
- package/dist/cache/query-cache.js +260 -0
- package/dist/caching/app-cache.d.ts +237 -0
- package/dist/caching/app-cache.d.ts.map +1 -0
- package/dist/caching/app-cache.js +430 -0
- package/dist/caching/cdn-config.d.ts +155 -0
- package/dist/caching/cdn-config.d.ts.map +1 -0
- package/dist/caching/cdn-config.js +425 -0
- package/dist/caching/edge-cache.d.ts +177 -0
- package/dist/caching/edge-cache.d.ts.map +1 -0
- package/dist/caching/edge-cache.js +381 -0
- package/dist/caching/service-worker.d.ts +165 -0
- package/dist/caching/service-worker.d.ts.map +1 -0
- package/dist/caching/service-worker.js +437 -0
- package/dist/client/admin/RichText.d.ts +12 -0
- package/dist/client/admin/RichText.d.ts.map +1 -0
- package/dist/client/admin/RichText.js +5 -0
- package/dist/client/admin/components/AdminDashboard.d.ts +7 -0
- package/dist/client/admin/components/AdminDashboard.d.ts.map +1 -0
- package/dist/client/admin/components/AdminDashboard.js +318 -0
- package/dist/client/admin/components/CollectionList.d.ts +16 -0
- package/dist/client/admin/components/CollectionList.d.ts.map +1 -0
- package/dist/client/admin/components/CollectionList.js +67 -0
- package/dist/client/admin/components/DocumentForm.d.ts +11 -0
- package/dist/client/admin/components/DocumentForm.d.ts.map +1 -0
- package/dist/client/admin/components/DocumentForm.js +99 -0
- package/dist/client/admin/components/GlobalForm.d.ts +11 -0
- package/dist/client/admin/components/GlobalForm.d.ts.map +1 -0
- package/dist/client/admin/components/GlobalForm.js +74 -0
- package/dist/client/admin/i18n/en.d.ts +25 -0
- package/dist/client/admin/i18n/en.d.ts.map +1 -0
- package/dist/client/admin/i18n/en.js +25 -0
- package/dist/client/admin/index.d.ts +10 -0
- package/dist/client/admin/index.d.ts.map +1 -0
- package/dist/client/admin/index.js +10 -0
- package/dist/client/admin/layout.d.ts +10 -0
- package/dist/client/admin/layout.d.ts.map +1 -0
- package/dist/client/admin/layout.js +6 -0
- package/dist/client/admin/page.d.ts +38 -0
- package/dist/client/admin/page.d.ts.map +1 -0
- package/dist/client/admin/page.js +15 -0
- package/dist/client/admin/utils/apiClient.d.ts +110 -0
- package/dist/client/admin/utils/apiClient.d.ts.map +1 -0
- package/dist/client/admin/utils/apiClient.js +220 -0
- package/dist/client/admin/utils/auth.d.ts +27 -0
- package/dist/client/admin/utils/auth.d.ts.map +1 -0
- package/dist/client/admin/utils/auth.js +58 -0
- package/dist/client/admin/utils/index.d.ts +6 -0
- package/dist/client/admin/utils/index.d.ts.map +1 -0
- package/dist/client/admin/utils/index.js +5 -0
- package/dist/client/admin/utils/serializeConfig.d.ts +7 -0
- package/dist/client/admin/utils/serializeConfig.d.ts.map +1 -0
- package/dist/client/admin/utils/serializeConfig.js +35 -0
- package/dist/client/hooks.d.ts +18 -0
- package/dist/client/hooks.d.ts.map +1 -0
- package/dist/client/hooks.js +29 -0
- package/dist/client/http/client.d.ts +15 -0
- package/dist/client/http/client.d.ts.map +1 -0
- package/dist/client/http/client.js +49 -0
- package/dist/client/http/fetchBanner.d.ts +18 -0
- package/dist/client/http/fetchBanner.d.ts.map +1 -0
- package/dist/client/http/fetchBanner.js +44 -0
- package/dist/client/http/fetchCard.d.ts +18 -0
- package/dist/client/http/fetchCard.d.ts.map +1 -0
- package/dist/client/http/fetchCard.js +46 -0
- package/dist/client/http/fetchEvents.d.ts +18 -0
- package/dist/client/http/fetchEvents.d.ts.map +1 -0
- package/dist/client/http/fetchEvents.js +44 -0
- package/dist/client/http/fetchHero.d.ts +17 -0
- package/dist/client/http/fetchHero.d.ts.map +1 -0
- package/dist/client/http/fetchHero.js +55 -0
- package/dist/client/http/fetchMainInfos.d.ts +17 -0
- package/dist/client/http/fetchMainInfos.d.ts.map +1 -0
- package/dist/client/http/fetchMainInfos.js +44 -0
- package/dist/client/http/fetchVideos.d.ts +13 -0
- package/dist/client/http/fetchVideos.d.ts.map +1 -0
- package/dist/client/http/fetchVideos.js +36 -0
- package/dist/client/http/index.d.ts +19 -0
- package/dist/client/http/index.d.ts.map +1 -0
- package/dist/client/http/index.js +11 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +15 -0
- package/dist/client/richtext/RichTextEditor.d.ts +48 -0
- package/dist/client/richtext/RichTextEditor.d.ts.map +1 -0
- package/dist/client/richtext/RichTextEditor.js +360 -0
- package/dist/client/richtext/components/ImageNodeComponent.d.ts +9 -0
- package/dist/client/richtext/components/ImageNodeComponent.d.ts.map +1 -0
- package/dist/client/richtext/components/ImageNodeComponent.js +99 -0
- package/dist/client/richtext/components/ImageUploadButton.d.ts +11 -0
- package/dist/client/richtext/components/ImageUploadButton.d.ts.map +1 -0
- package/dist/client/richtext/components/ImageUploadButton.js +103 -0
- package/dist/client/richtext/index.d.ts +92 -0
- package/dist/client/richtext/index.d.ts.map +1 -0
- package/dist/client/richtext/index.js +74 -0
- package/dist/client/richtext/nodes/DecoratorBlockNode.d.ts +20 -0
- package/dist/client/richtext/nodes/DecoratorBlockNode.d.ts.map +1 -0
- package/dist/client/richtext/nodes/DecoratorBlockNode.js +29 -0
- package/dist/client/richtext/nodes/ImageNode.d.ts +51 -0
- package/dist/client/richtext/nodes/ImageNode.d.ts.map +1 -0
- package/dist/client/richtext/nodes/ImageNode.js +95 -0
- package/dist/client/richtext/plugins/CollaborationPlugin.d.ts +13 -0
- package/dist/client/richtext/plugins/CollaborationPlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/CollaborationPlugin.js +8 -0
- package/dist/client/richtext/plugins/CursorsOverlayPlugin.d.ts +4 -0
- package/dist/client/richtext/plugins/CursorsOverlayPlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/CursorsOverlayPlugin.js +50 -0
- package/dist/client/richtext/plugins/FloatingToolbarPlugin.d.ts +7 -0
- package/dist/client/richtext/plugins/FloatingToolbarPlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/FloatingToolbarPlugin.js +248 -0
- package/dist/client/richtext/plugins/ImagePlugin.d.ts +3 -0
- package/dist/client/richtext/plugins/ImagePlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/ImagePlugin.js +73 -0
- package/dist/client/richtext/plugins/PastePlugin.d.ts +2 -0
- package/dist/client/richtext/plugins/PastePlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/PastePlugin.js +36 -0
- package/dist/client/richtext/plugins/ToolbarPlugin.d.ts +8 -0
- package/dist/client/richtext/plugins/ToolbarPlugin.d.ts.map +1 -0
- package/dist/client/richtext/plugins/ToolbarPlugin.js +204 -0
- package/dist/client/ui/index.d.ts +111 -0
- package/dist/client/ui/index.d.ts.map +1 -0
- package/dist/client/ui/index.js +130 -0
- package/dist/collections/CollectionOperations.d.ts +27 -0
- package/dist/collections/CollectionOperations.d.ts.map +1 -0
- package/dist/collections/CollectionOperations.js +34 -0
- package/dist/collections/hooks.d.ts +11 -0
- package/dist/collections/hooks.d.ts.map +1 -0
- package/dist/collections/hooks.js +35 -0
- package/dist/collections/index.d.ts +2 -0
- package/dist/collections/index.d.ts.map +1 -0
- package/dist/collections/index.js +1 -0
- package/dist/collections/operations/create.d.ts +10 -0
- package/dist/collections/operations/create.d.ts.map +1 -0
- package/dist/collections/operations/create.js +101 -0
- package/dist/collections/operations/delete.d.ts +10 -0
- package/dist/collections/operations/delete.d.ts.map +1 -0
- package/dist/collections/operations/delete.js +16 -0
- package/dist/collections/operations/fieldHooks.d.ts +21 -0
- package/dist/collections/operations/fieldHooks.d.ts.map +1 -0
- package/dist/collections/operations/fieldHooks.js +51 -0
- package/dist/collections/operations/find.d.ts +10 -0
- package/dist/collections/operations/find.d.ts.map +1 -0
- package/dist/collections/operations/find.js +124 -0
- package/dist/collections/operations/findById.d.ts +15 -0
- package/dist/collections/operations/findById.d.ts.map +1 -0
- package/dist/collections/operations/findById.js +59 -0
- package/dist/collections/operations/update.d.ts +10 -0
- package/dist/collections/operations/update.d.ts.map +1 -0
- package/dist/collections/operations/update.js +134 -0
- package/dist/config/index.d.ts +9 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +61 -0
- package/dist/config/runtime.d.ts +22 -0
- package/dist/config/runtime.d.ts.map +1 -0
- package/dist/config/runtime.js +32 -0
- package/dist/config/utils.d.ts +12 -0
- package/dist/config/utils.d.ts.map +1 -0
- package/dist/config/utils.js +20 -0
- package/dist/database/index.d.ts +1 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +6 -0
- package/dist/database/ssl-config.d.ts +9 -0
- package/dist/database/ssl-config.d.ts.map +1 -0
- package/dist/database/ssl-config.js +7 -0
- package/dist/database/type-adapter.d.ts +113 -0
- package/dist/database/type-adapter.d.ts.map +1 -0
- package/dist/database/type-adapter.js +97 -0
- package/dist/database/universal-postgres.d.ts +45 -0
- package/dist/database/universal-postgres.d.ts.map +1 -0
- package/dist/database/universal-postgres.js +526 -0
- package/dist/dataloader.d.ts +26 -0
- package/dist/dataloader.d.ts.map +1 -0
- package/dist/dataloader.js +162 -0
- package/dist/error-handling/circuit-breaker.d.ts +262 -0
- package/dist/error-handling/circuit-breaker.d.ts.map +1 -0
- package/dist/error-handling/circuit-breaker.js +542 -0
- package/dist/error-handling/error-boundary.d.ts +94 -0
- package/dist/error-handling/error-boundary.d.ts.map +1 -0
- package/dist/error-handling/error-boundary.js +285 -0
- package/dist/error-handling/error-reporter.d.ts +213 -0
- package/dist/error-handling/error-reporter.d.ts.map +1 -0
- package/dist/error-handling/error-reporter.js +506 -0
- package/dist/error-handling/fallback-components.d.ts +131 -0
- package/dist/error-handling/fallback-components.d.ts.map +1 -0
- package/dist/error-handling/fallback-components.js +371 -0
- package/dist/error-handling/index.d.ts +16 -0
- package/dist/error-handling/index.d.ts.map +1 -0
- package/dist/error-handling/index.js +15 -0
- package/dist/error-handling/retry.d.ts +194 -0
- package/dist/error-handling/retry.d.ts.map +1 -0
- package/dist/error-handling/retry.js +450 -0
- package/dist/errors/index.d.ts +23 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +40 -0
- package/dist/factories/builders.d.ts +50 -0
- package/dist/factories/builders.d.ts.map +1 -0
- package/dist/factories/builders.js +77 -0
- package/dist/factories/index.d.ts +2 -0
- package/dist/factories/index.d.ts.map +1 -0
- package/dist/factories/index.js +1 -0
- package/dist/features.d.ts +82 -0
- package/dist/features.d.ts.map +1 -0
- package/dist/features.js +89 -0
- package/dist/fieldTraversal.d.ts +26 -0
- package/dist/fieldTraversal.d.ts.map +1 -0
- package/dist/fieldTraversal.js +132 -0
- package/dist/fields/config/types.d.ts +48 -0
- package/dist/fields/config/types.d.ts.map +1 -0
- package/dist/fields/config/types.js +20 -0
- package/dist/fields/getDefaultValue.d.ts +16 -0
- package/dist/fields/getDefaultValue.d.ts.map +1 -0
- package/dist/fields/getDefaultValue.js +20 -0
- package/dist/fields/getFieldPaths.d.ts +25 -0
- package/dist/fields/getFieldPaths.d.ts.map +1 -0
- package/dist/fields/getFieldPaths.js +23 -0
- package/dist/fields/hooks/afterRead/index.d.ts +36 -0
- package/dist/fields/hooks/afterRead/index.d.ts.map +1 -0
- package/dist/fields/hooks/afterRead/index.js +70 -0
- package/dist/fields/hooks/afterRead/promise.d.ts +46 -0
- package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -0
- package/dist/fields/hooks/afterRead/promise.js +178 -0
- package/dist/fields/hooks/afterRead/traverseFields.d.ts +44 -0
- package/dist/fields/hooks/afterRead/traverseFields.d.ts.map +1 -0
- package/dist/fields/hooks/afterRead/traverseFields.js +37 -0
- package/dist/generated/agents/index.d.ts +8 -0
- package/dist/generated/agents/index.d.ts.map +1 -0
- package/dist/generated/agents/index.js +7 -0
- package/dist/generated/components/index.d.ts +8 -0
- package/dist/generated/components/index.d.ts.map +1 -0
- package/dist/generated/components/index.js +7 -0
- package/dist/generated/functions/index.d.ts +8 -0
- package/dist/generated/functions/index.d.ts.map +1 -0
- package/dist/generated/functions/index.js +7 -0
- package/dist/generated/hooks/index.d.ts +8 -0
- package/dist/generated/hooks/index.d.ts.map +1 -0
- package/dist/generated/hooks/index.js +7 -0
- package/dist/generated/index.d.ts +10 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +9 -0
- package/dist/generated/plans/index.d.ts +8 -0
- package/dist/generated/plans/index.d.ts.map +1 -0
- package/dist/generated/plans/index.js +7 -0
- package/dist/generated/prompts/index.d.ts +8 -0
- package/dist/generated/prompts/index.d.ts.map +1 -0
- package/dist/generated/prompts/index.js +7 -0
- package/dist/generated/tools/index.d.ts +8 -0
- package/dist/generated/tools/index.d.ts.map +1 -0
- package/dist/generated/tools/index.js +7 -0
- package/dist/generated/types/cms.d.ts +1766 -0
- package/dist/generated/types/cms.d.ts.map +1 -0
- package/dist/generated/types/cms.js +12 -0
- package/dist/generated/types/index.d.ts +19 -0
- package/dist/generated/types/index.d.ts.map +1 -0
- package/dist/generated/types/index.js +28 -0
- package/dist/generated/types/neon.d.ts +11 -0
- package/dist/generated/types/neon.d.ts.map +1 -0
- package/dist/generated/types/neon.js +11 -0
- package/dist/generated/types/supabase.d.ts +193 -0
- package/dist/generated/types/supabase.d.ts.map +1 -0
- package/dist/generated/types/supabase.js +5 -0
- package/dist/globals/GlobalOperations.d.ts +24 -0
- package/dist/globals/GlobalOperations.d.ts.map +1 -0
- package/dist/globals/GlobalOperations.js +149 -0
- package/dist/globals/index.d.ts +2 -0
- package/dist/globals/index.d.ts.map +1 -0
- package/dist/globals/index.js +1 -0
- package/dist/index.d.ts +64 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +128 -33
- package/dist/instance/RevealUIInstance.d.ts +6 -0
- package/dist/instance/RevealUIInstance.d.ts.map +1 -0
- package/dist/instance/RevealUIInstance.js +312 -0
- package/dist/instance/index.d.ts +3 -0
- package/dist/instance/index.d.ts.map +1 -0
- package/dist/instance/index.js +2 -0
- package/dist/instance/logger.d.ts +31 -0
- package/dist/instance/logger.d.ts.map +1 -0
- package/dist/instance/logger.js +42 -0
- package/dist/instance/methods/create.d.ts +10 -0
- package/dist/instance/methods/create.d.ts.map +1 -0
- package/dist/instance/methods/create.js +38 -0
- package/dist/instance/methods/delete.d.ts +10 -0
- package/dist/instance/methods/delete.d.ts.map +1 -0
- package/dist/instance/methods/delete.js +24 -0
- package/dist/instance/methods/find.d.ts +10 -0
- package/dist/instance/methods/find.d.ts.map +1 -0
- package/dist/instance/methods/find.js +23 -0
- package/dist/instance/methods/findById.d.ts +13 -0
- package/dist/instance/methods/findById.d.ts.map +1 -0
- package/dist/instance/methods/findById.js +23 -0
- package/dist/instance/methods/hooks.d.ts +14 -0
- package/dist/instance/methods/hooks.d.ts.map +1 -0
- package/dist/instance/methods/hooks.js +32 -0
- package/dist/instance/methods/update.d.ts +10 -0
- package/dist/instance/methods/update.d.ts.map +1 -0
- package/dist/instance/methods/update.js +42 -0
- package/dist/license.d.ts +73 -0
- package/dist/license.d.ts.map +1 -0
- package/dist/license.js +157 -0
- package/dist/monitoring/alerts.d.ts +118 -0
- package/dist/monitoring/alerts.d.ts.map +1 -0
- package/dist/monitoring/alerts.js +324 -0
- package/dist/monitoring/cleanup-manager.d.ts +71 -0
- package/dist/monitoring/cleanup-manager.d.ts.map +1 -0
- package/dist/monitoring/cleanup-manager.js +226 -0
- package/dist/monitoring/health-monitor.d.ts +22 -0
- package/dist/monitoring/health-monitor.d.ts.map +1 -0
- package/dist/monitoring/health-monitor.js +142 -0
- package/dist/monitoring/index.d.ts +14 -0
- package/dist/monitoring/index.d.ts.map +1 -0
- package/dist/monitoring/index.js +17 -0
- package/dist/monitoring/process-registry.d.ts +97 -0
- package/dist/monitoring/process-registry.d.ts.map +1 -0
- package/dist/monitoring/process-registry.js +222 -0
- package/dist/monitoring/query-monitor.d.ts +153 -0
- package/dist/monitoring/query-monitor.d.ts.map +1 -0
- package/dist/monitoring/query-monitor.js +209 -0
- package/dist/monitoring/types.d.ts +231 -0
- package/dist/monitoring/types.d.ts.map +1 -0
- package/dist/monitoring/types.js +42 -0
- package/dist/monitoring/zombie-detector.d.ts +81 -0
- package/dist/monitoring/zombie-detector.d.ts.map +1 -0
- package/dist/monitoring/zombie-detector.js +231 -0
- package/dist/nextjs/index.d.ts +4 -0
- package/dist/nextjs/index.d.ts.map +1 -0
- package/dist/nextjs/index.js +3 -0
- package/dist/nextjs/utilities.d.ts +5 -0
- package/dist/nextjs/utilities.d.ts.map +1 -0
- package/dist/nextjs/utilities.js +16 -0
- package/dist/nextjs/withRevealUI.d.ts +20 -0
- package/dist/nextjs/withRevealUI.d.ts.map +1 -0
- package/dist/nextjs/withRevealUI.js +181 -0
- package/dist/observability/alerts.d.ts +138 -0
- package/dist/observability/alerts.d.ts.map +1 -0
- package/dist/observability/alerts.js +390 -0
- package/dist/observability/health-check.d.ts +95 -0
- package/dist/observability/health-check.d.ts.map +1 -0
- package/dist/observability/health-check.js +345 -0
- package/dist/observability/index.d.ts +12 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +11 -0
- package/dist/observability/logger.d.ts +47 -0
- package/dist/observability/logger.d.ts.map +1 -0
- package/dist/observability/logger.js +140 -0
- package/dist/observability/metrics.d.ts +205 -0
- package/dist/observability/metrics.d.ts.map +1 -0
- package/dist/observability/metrics.js +429 -0
- package/dist/observability/tracing.d.ts +149 -0
- package/dist/observability/tracing.d.ts.map +1 -0
- package/dist/observability/tracing.js +381 -0
- package/dist/optimization/asset-optimizer.d.ts +202 -0
- package/dist/optimization/asset-optimizer.d.ts.map +1 -0
- package/dist/optimization/asset-optimizer.js +312 -0
- package/dist/optimization/build-optimizer.d.ts +202 -0
- package/dist/optimization/build-optimizer.d.ts.map +1 -0
- package/dist/optimization/build-optimizer.js +271 -0
- package/dist/optimization/bundle-analyzer.d.ts +98 -0
- package/dist/optimization/bundle-analyzer.d.ts.map +1 -0
- package/dist/optimization/bundle-analyzer.js +322 -0
- package/dist/optimization/code-splitting.d.ts +144 -0
- package/dist/optimization/code-splitting.d.ts.map +1 -0
- package/dist/optimization/code-splitting.js +290 -0
- package/dist/plugin/index.d.ts +12 -0
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/index.js +4 -0
- package/dist/plugins/form-builder.d.ts +115 -0
- package/dist/plugins/form-builder.d.ts.map +1 -0
- package/dist/plugins/form-builder.js +239 -0
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +4 -0
- package/dist/plugins/nested-docs.d.ts +8 -0
- package/dist/plugins/nested-docs.d.ts.map +1 -0
- package/dist/plugins/nested-docs.js +67 -0
- package/dist/plugins/redirects.d.ts +17 -0
- package/dist/plugins/redirects.d.ts.map +1 -0
- package/dist/plugins/redirects.js +62 -0
- package/dist/queries/index.d.ts +2 -0
- package/dist/queries/index.d.ts.map +1 -0
- package/dist/queries/index.js +1 -0
- package/dist/queries/queryBuilder.d.ts +47 -0
- package/dist/queries/queryBuilder.d.ts.map +1 -0
- package/dist/queries/queryBuilder.js +252 -0
- package/dist/relationships/analyzer.d.ts +39 -0
- package/dist/relationships/analyzer.d.ts.map +1 -0
- package/dist/relationships/analyzer.js +127 -0
- package/dist/relationships/index.d.ts +3 -0
- package/dist/relationships/index.d.ts.map +1 -0
- package/dist/relationships/index.js +2 -0
- package/dist/relationships/populate-helpers.d.ts +104 -0
- package/dist/relationships/populate-helpers.d.ts.map +1 -0
- package/dist/relationships/populate-helpers.js +187 -0
- package/dist/relationships/population.d.ts +42 -0
- package/dist/relationships/population.d.ts.map +1 -0
- package/dist/relationships/population.js +188 -0
- package/dist/revealui.d.ts +46 -0
- package/dist/revealui.d.ts.map +1 -0
- package/dist/revealui.js +92 -0
- package/dist/richtext/exports/client/rcc.d.ts +37 -0
- package/dist/richtext/exports/client/rcc.d.ts.map +1 -0
- package/dist/richtext/exports/client/rcc.js +182 -0
- package/dist/richtext/exports/server/rsc.d.ts +117 -0
- package/dist/richtext/exports/server/rsc.d.ts.map +1 -0
- package/dist/richtext/exports/server/rsc.js +288 -0
- package/dist/richtext/index.d.ts +161 -0
- package/dist/richtext/index.d.ts.map +1 -0
- package/dist/richtext/index.js +243 -0
- package/dist/richtext/lexical.d.ts +23 -0
- package/dist/richtext/lexical.d.ts.map +1 -0
- package/dist/richtext/lexical.js +35 -0
- package/dist/security/audit.d.ts +188 -0
- package/dist/security/audit.d.ts.map +1 -0
- package/dist/security/audit.js +431 -0
- package/dist/security/auth.d.ts +241 -0
- package/dist/security/auth.d.ts.map +1 -0
- package/dist/security/auth.js +474 -0
- package/dist/security/authorization.d.ts +235 -0
- package/dist/security/authorization.d.ts.map +1 -0
- package/dist/security/authorization.js +434 -0
- package/dist/security/encryption.d.ts +214 -0
- package/dist/security/encryption.d.ts.map +1 -0
- package/dist/security/encryption.js +506 -0
- package/dist/security/gdpr.d.ts +300 -0
- package/dist/security/gdpr.d.ts.map +1 -0
- package/dist/security/gdpr.js +470 -0
- package/dist/security/headers.d.ts +182 -0
- package/dist/security/headers.d.ts.map +1 -0
- package/dist/security/headers.js +402 -0
- package/dist/security/index.d.ts +19 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +18 -0
- package/dist/server/index.d.ts +21 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +28 -0
- package/dist/server/renderPage.d.ts +69 -0
- package/dist/server/renderPage.d.ts.map +1 -0
- package/dist/server/renderPage.js +109 -0
- package/dist/storage/index.d.ts +1 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +4 -0
- package/dist/storage/vercel-blob.d.ts +17 -0
- package/dist/storage/vercel-blob.d.ts.map +1 -0
- package/dist/storage/vercel-blob.js +83 -0
- package/dist/translations/index.d.ts +17 -0
- package/dist/translations/index.d.ts.map +1 -0
- package/dist/translations/index.js +1 -0
- package/dist/types/access.d.ts +67 -0
- package/dist/types/access.d.ts.map +1 -0
- package/dist/types/access.js +8 -0
- package/dist/types/api.d.ts +57 -0
- package/dist/types/api.d.ts.map +1 -0
- package/dist/types/api.js +8 -0
- package/dist/types/cms.d.ts +8 -0
- package/dist/types/cms.d.ts.map +1 -0
- package/dist/types/cms.js +6 -0
- package/dist/types/config.d.ts +152 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +9 -0
- package/dist/types/core.d.ts +11 -0
- package/dist/types/core.d.ts.map +1 -0
- package/dist/types/core.js +9 -0
- package/dist/types/extensions.d.ts +116 -0
- package/dist/types/extensions.d.ts.map +1 -0
- package/dist/types/extensions.js +8 -0
- package/dist/types/frontend.d.ts +53 -0
- package/dist/types/frontend.d.ts.map +1 -0
- package/dist/types/frontend.js +7 -0
- package/dist/types/generated.d.ts +14 -0
- package/dist/types/generated.d.ts.map +1 -0
- package/dist/types/generated.js +11 -0
- package/dist/types/hooks.d.ts +53 -0
- package/dist/types/hooks.d.ts.map +1 -0
- package/dist/types/hooks.js +8 -0
- package/dist/types/index.d.ts +49 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +61 -0
- package/dist/types/interfaces/app.d.ts +50 -0
- package/dist/types/interfaces/app.d.ts.map +1 -0
- package/dist/types/interfaces/app.js +5 -0
- package/dist/types/jobs.d.ts +112 -0
- package/dist/types/jobs.d.ts.map +1 -0
- package/dist/types/jobs.js +7 -0
- package/dist/types/legacy.d.ts +147 -0
- package/dist/types/legacy.d.ts.map +1 -0
- package/dist/types/legacy.js +8 -0
- package/dist/types/plugins.d.ts +17 -0
- package/dist/types/plugins.d.ts.map +1 -0
- package/dist/types/plugins.js +8 -0
- package/dist/types/query.d.ts +99 -0
- package/dist/types/query.d.ts.map +1 -0
- package/dist/types/query.js +24 -0
- package/dist/types/request.d.ts +40 -0
- package/dist/types/request.d.ts.map +1 -0
- package/dist/types/request.js +8 -0
- package/dist/types/richtext.d.ts +23 -0
- package/dist/types/richtext.d.ts.map +1 -0
- package/dist/types/richtext.js +8 -0
- package/dist/types/runtime.d.ts +216 -0
- package/dist/types/runtime.d.ts.map +1 -0
- package/dist/types/runtime.js +9 -0
- package/dist/types/schema.d.ts +9 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types/schema.js +7 -0
- package/dist/types/user.d.ts +48 -0
- package/dist/types/user.d.ts.map +1 -0
- package/dist/types/user.js +8 -0
- package/dist/utils/access-conversion.d.ts +17 -0
- package/dist/utils/access-conversion.d.ts.map +1 -0
- package/dist/utils/access-conversion.js +96 -0
- package/dist/utils/api-wrapper.d.ts +63 -0
- package/dist/utils/api-wrapper.d.ts.map +1 -0
- package/dist/utils/api-wrapper.js +151 -0
- package/dist/utils/block-conversion.d.ts +21 -0
- package/dist/utils/block-conversion.d.ts.map +1 -0
- package/dist/utils/block-conversion.js +109 -0
- package/dist/utils/cache.d.ts +86 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/cache.js +154 -0
- package/dist/utils/deep-clone.d.ts +25 -0
- package/dist/utils/deep-clone.d.ts.map +1 -0
- package/dist/utils/deep-clone.js +115 -0
- package/dist/utils/error-responses.d.ts +57 -0
- package/dist/utils/error-responses.d.ts.map +1 -0
- package/dist/utils/error-responses.js +96 -0
- package/dist/utils/errors.d.ts +97 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +397 -0
- package/dist/utils/field-conversion.d.ts +40 -0
- package/dist/utils/field-conversion.d.ts.map +1 -0
- package/dist/utils/field-conversion.js +275 -0
- package/dist/utils/flattenResult.d.ts +7 -0
- package/dist/utils/flattenResult.d.ts.map +1 -0
- package/dist/utils/flattenResult.js +23 -0
- package/dist/utils/getBlockSelect.d.ts +12 -0
- package/dist/utils/getBlockSelect.d.ts.map +1 -0
- package/dist/utils/getBlockSelect.js +12 -0
- package/dist/utils/getSelectMode.d.ts +8 -0
- package/dist/utils/getSelectMode.d.ts.map +1 -0
- package/dist/utils/getSelectMode.js +21 -0
- package/dist/utils/isValidID.d.ts +5 -0
- package/dist/utils/isValidID.d.ts.map +1 -0
- package/dist/utils/isValidID.js +13 -0
- package/dist/utils/json-parsing.d.ts +48 -0
- package/dist/utils/json-parsing.d.ts.map +1 -0
- package/dist/utils/json-parsing.js +130 -0
- package/dist/utils/jwt-validation.d.ts +14 -0
- package/dist/utils/jwt-validation.d.ts.map +1 -0
- package/dist/utils/jwt-validation.js +36 -0
- package/dist/utils/logger-client.d.ts +32 -0
- package/dist/utils/logger-client.d.ts.map +1 -0
- package/dist/utils/logger-client.js +55 -0
- package/dist/utils/logger-server.d.ts +32 -0
- package/dist/utils/logger-server.d.ts.map +1 -0
- package/dist/utils/logger-server.js +68 -0
- package/dist/utils/logger.d.ts +14 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +12 -0
- package/dist/utils/request-context.d.ts +143 -0
- package/dist/utils/request-context.d.ts.map +1 -0
- package/dist/utils/request-context.js +168 -0
- package/dist/utils/request-headers.d.ts +15 -0
- package/dist/utils/request-headers.d.ts.map +1 -0
- package/dist/utils/request-headers.js +31 -0
- package/dist/utils/stripUnselectedFields.d.ts +10 -0
- package/dist/utils/stripUnselectedFields.d.ts.map +1 -0
- package/dist/utils/stripUnselectedFields.js +20 -0
- package/dist/utils/type-guards.d.ts +33 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +63 -0
- package/dist/utils/user.d.ts +14 -0
- package/dist/utils/user.d.ts.map +1 -0
- package/dist/utils/user.js +15 -0
- package/package.json +250 -724
- package/LICENSE_SUMMARY.md +0 -55
- package/NOTICE +0 -34
- package/dist/exports/RenderErrorPage.js +0 -3
- package/dist/exports/__internal.js +0 -3
- package/dist/exports/abort.js +0 -3
- package/dist/exports/bin-entry.js +0 -5
- package/dist/exports/client.js +0 -3
- package/dist/exports/config.js +0 -1
- package/dist/exports/helpers.js +0 -1
- package/dist/exports/index.js +0 -33
- package/dist/exports/plugin.js +0 -3
- package/dist/exports/prerender.js +0 -3
- package/dist/exports/router.js +0 -3
- package/dist/exports/routing.js +0 -3
- package/dist/exports/server.js +0 -3
- package/dist/exports/setup.js +0 -3
- package/dist/exports/types.js +0 -1
- package/dist/integration/styles.css +0 -141
- package/dist/shared/RenderErrorPage.d.ts +0 -3
- package/dist/shared/RenderErrorPage.js +0 -3
- package/dist/shared/abort.js +0 -3
- package/dist/shared/route/routing.js +0 -3
|
@@ -0,0 +1,1766 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated and copied from ./apps/cms/src/types/revealui.ts
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, regenerate the source file and re-run this script.
|
|
4
|
+
*
|
|
5
|
+
* Last updated: 2026-01-16T04:18:38.750Z
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* This file was automatically generated by RevealUI.
|
|
9
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify your source RevealUI config,
|
|
10
|
+
* and re-run `revealui generate:types` to regenerate this file.
|
|
11
|
+
*/
|
|
12
|
+
export interface Config {
|
|
13
|
+
auth: {
|
|
14
|
+
users: UserAuthOperations;
|
|
15
|
+
};
|
|
16
|
+
collections: {
|
|
17
|
+
users: User;
|
|
18
|
+
tenants: Tenant;
|
|
19
|
+
pages: Page;
|
|
20
|
+
media: Media;
|
|
21
|
+
slug: Slug;
|
|
22
|
+
contents: Content;
|
|
23
|
+
categories: Category;
|
|
24
|
+
tags: Tag;
|
|
25
|
+
events: Event;
|
|
26
|
+
cards: Card;
|
|
27
|
+
heros: Hero;
|
|
28
|
+
products: Product;
|
|
29
|
+
prices: Price;
|
|
30
|
+
orders: Order;
|
|
31
|
+
posts: Post;
|
|
32
|
+
subscriptions: Subscription;
|
|
33
|
+
banners: Banner;
|
|
34
|
+
redirects: Redirect;
|
|
35
|
+
forms: Form;
|
|
36
|
+
'form-submissions': FormSubmission;
|
|
37
|
+
'revealui-locked-documents': RevealUILockedDocument;
|
|
38
|
+
'revealui-preferences': RevealUIPreference;
|
|
39
|
+
'revealui-migrations': RevealUIMigration;
|
|
40
|
+
};
|
|
41
|
+
collectionsJoins: {};
|
|
42
|
+
collectionsSelect: {
|
|
43
|
+
users: UsersSelect<false> | UsersSelect<true>;
|
|
44
|
+
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
45
|
+
pages: PagesSelect<false> | PagesSelect<true>;
|
|
46
|
+
media: MediaSelect<false> | MediaSelect<true>;
|
|
47
|
+
slug: SlugSelect<false> | SlugSelect<true>;
|
|
48
|
+
contents: ContentsSelect<false> | ContentsSelect<true>;
|
|
49
|
+
categories: CategoriesSelect<false> | CategoriesSelect<true>;
|
|
50
|
+
tags: TagsSelect<false> | TagsSelect<true>;
|
|
51
|
+
events: EventsSelect<false> | EventsSelect<true>;
|
|
52
|
+
cards: CardsSelect<false> | CardsSelect<true>;
|
|
53
|
+
heros: HerosSelect<false> | HerosSelect<true>;
|
|
54
|
+
products: ProductsSelect<false> | ProductsSelect<true>;
|
|
55
|
+
prices: PricesSelect<false> | PricesSelect<true>;
|
|
56
|
+
orders: OrdersSelect<false> | OrdersSelect<true>;
|
|
57
|
+
posts: PostsSelect<false> | PostsSelect<true>;
|
|
58
|
+
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
59
|
+
banners: BannersSelect<false> | BannersSelect<true>;
|
|
60
|
+
redirects: RedirectsSelect<false> | RedirectsSelect<true>;
|
|
61
|
+
forms: FormsSelect<false> | FormsSelect<true>;
|
|
62
|
+
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
63
|
+
'revealui-locked-documents': RevealUILockedDocumentsSelect<false> | RevealUILockedDocumentsSelect<true>;
|
|
64
|
+
'revealui-preferences': RevealUIPreferencesSelect<false> | RevealUIPreferencesSelect<true>;
|
|
65
|
+
'revealui-migrations': RevealUIMigrationsSelect<false> | RevealUIMigrationsSelect<true>;
|
|
66
|
+
};
|
|
67
|
+
db: {
|
|
68
|
+
defaultIDType: number;
|
|
69
|
+
};
|
|
70
|
+
globals: {
|
|
71
|
+
settings: Settings;
|
|
72
|
+
header: Header;
|
|
73
|
+
footer: Footer;
|
|
74
|
+
};
|
|
75
|
+
globalsSelect: {
|
|
76
|
+
settings: SettingsSelect<false> | SettingsSelect<true>;
|
|
77
|
+
header: HeaderSelect<false> | HeaderSelect<true>;
|
|
78
|
+
footer: FooterSelect<false> | FooterSelect<true>;
|
|
79
|
+
};
|
|
80
|
+
locale: 'en' | 'es' | 'de';
|
|
81
|
+
user: User & {
|
|
82
|
+
collection: 'users';
|
|
83
|
+
};
|
|
84
|
+
jobs: {
|
|
85
|
+
tasks: import('@revealui/core/types').JobTask | import('@revealui/core/types').JobTask[] | Record<string, import('@revealui/core/types').JobTask>;
|
|
86
|
+
workflows: import('@revealui/core/types').JobWorkflow | import('@revealui/core/types').JobWorkflow[] | Record<string, import('@revealui/core/types').JobWorkflow>;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export interface UserAuthOperations {
|
|
90
|
+
forgotPassword: {
|
|
91
|
+
email: string;
|
|
92
|
+
password: string;
|
|
93
|
+
};
|
|
94
|
+
login: {
|
|
95
|
+
email: string;
|
|
96
|
+
password: string;
|
|
97
|
+
};
|
|
98
|
+
registerFirstUser: {
|
|
99
|
+
email: string;
|
|
100
|
+
password: string;
|
|
101
|
+
};
|
|
102
|
+
unlock: {
|
|
103
|
+
email: string;
|
|
104
|
+
password: string;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
109
|
+
* via the `definition` "users".
|
|
110
|
+
*/
|
|
111
|
+
export interface User {
|
|
112
|
+
id: number;
|
|
113
|
+
firstName?: string | null;
|
|
114
|
+
lastName?: string | null;
|
|
115
|
+
roles: ('user-super-admin' | 'user-admin')[];
|
|
116
|
+
tenants?: {
|
|
117
|
+
tenant: number | Tenant;
|
|
118
|
+
roles: ('tenant-super-admin' | 'tenant-admin')[];
|
|
119
|
+
id?: string | null;
|
|
120
|
+
}[] | null;
|
|
121
|
+
lastLoggedInTenant?: (number | null) | Tenant;
|
|
122
|
+
updatedAt: string;
|
|
123
|
+
createdAt: string;
|
|
124
|
+
email: string;
|
|
125
|
+
resetPasswordToken?: string | null;
|
|
126
|
+
resetPasswordExpiration?: string | null;
|
|
127
|
+
salt?: string | null;
|
|
128
|
+
hash?: string | null;
|
|
129
|
+
loginAttempts?: number | null;
|
|
130
|
+
lockUntil?: string | null;
|
|
131
|
+
password?: string | null;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
135
|
+
* via the `definition` "tenants".
|
|
136
|
+
*/
|
|
137
|
+
export interface Tenant {
|
|
138
|
+
id: number;
|
|
139
|
+
name: string;
|
|
140
|
+
domains?: {
|
|
141
|
+
domain: string;
|
|
142
|
+
id?: string | null;
|
|
143
|
+
}[] | null;
|
|
144
|
+
roles: ('tenant-super-admin' | 'tenant-admin' | 'user-admin' | 'user-super-admin' | 'support-agent' | 'billing-manager' | 'compliance-officer' | 'content-manager' | 'project-manager' | 'viewer' | 'marketer' | 'api-consumer' | 'trainer' | 'moderator' | 'user' | 'customer')[];
|
|
145
|
+
updatedAt: string;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
150
|
+
* via the `definition` "pages".
|
|
151
|
+
*/
|
|
152
|
+
export interface Page {
|
|
153
|
+
id: number;
|
|
154
|
+
title: string;
|
|
155
|
+
hero: {
|
|
156
|
+
type: 'none' | 'highImpact' | 'mediumImpact' | 'lowImpact';
|
|
157
|
+
richText?: {
|
|
158
|
+
root: {
|
|
159
|
+
type: string;
|
|
160
|
+
children: {
|
|
161
|
+
type: string;
|
|
162
|
+
version: number;
|
|
163
|
+
[key: string]: unknown;
|
|
164
|
+
}[];
|
|
165
|
+
direction: ('ltr' | 'rtl') | null;
|
|
166
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
167
|
+
indent: number;
|
|
168
|
+
version: number;
|
|
169
|
+
};
|
|
170
|
+
[key: string]: unknown;
|
|
171
|
+
} | null;
|
|
172
|
+
links?: {
|
|
173
|
+
link: {
|
|
174
|
+
type?: ('reference' | 'custom') | null;
|
|
175
|
+
newTab?: boolean | null;
|
|
176
|
+
reference?: {
|
|
177
|
+
relationTo: 'pages';
|
|
178
|
+
value: number | Page;
|
|
179
|
+
} | null;
|
|
180
|
+
url?: string | null;
|
|
181
|
+
label: string;
|
|
182
|
+
appearance?: ('default' | 'outline') | null;
|
|
183
|
+
};
|
|
184
|
+
id?: string | null;
|
|
185
|
+
}[] | null;
|
|
186
|
+
media?: (number | null) | Media;
|
|
187
|
+
};
|
|
188
|
+
layout: (CallToActionBlock | ContentBlock | MediaBlock | ArchiveBlock | FormBlock | CodeBlock | BannerBlock)[];
|
|
189
|
+
meta?: {
|
|
190
|
+
image?: (number | null) | Media;
|
|
191
|
+
title?: string | null;
|
|
192
|
+
description?: string | null;
|
|
193
|
+
};
|
|
194
|
+
publishedAt?: string | null;
|
|
195
|
+
slug: string;
|
|
196
|
+
slugLock?: boolean | null;
|
|
197
|
+
updatedAt: string;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
_status?: ('draft' | 'published') | null;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
203
|
+
* via the `definition` "media".
|
|
204
|
+
*/
|
|
205
|
+
export interface Media {
|
|
206
|
+
id: number;
|
|
207
|
+
alt: string;
|
|
208
|
+
caption?: {
|
|
209
|
+
root: {
|
|
210
|
+
type: string;
|
|
211
|
+
children: {
|
|
212
|
+
type: string;
|
|
213
|
+
version: number;
|
|
214
|
+
[key: string]: unknown;
|
|
215
|
+
}[];
|
|
216
|
+
direction: ('ltr' | 'rtl') | null;
|
|
217
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
218
|
+
indent: number;
|
|
219
|
+
version: number;
|
|
220
|
+
};
|
|
221
|
+
[key: string]: unknown;
|
|
222
|
+
} | null;
|
|
223
|
+
updatedAt: string;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
url?: string | null;
|
|
226
|
+
thumbnailURL?: string | null;
|
|
227
|
+
filename?: string | null;
|
|
228
|
+
mimeType?: string | null;
|
|
229
|
+
filesize?: number | null;
|
|
230
|
+
width?: number | null;
|
|
231
|
+
height?: number | null;
|
|
232
|
+
focalX?: number | null;
|
|
233
|
+
focalY?: number | null;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
237
|
+
* via the `definition` "CallToActionBlock".
|
|
238
|
+
*/
|
|
239
|
+
export interface CallToActionBlock {
|
|
240
|
+
richText?: {
|
|
241
|
+
root: {
|
|
242
|
+
type: string;
|
|
243
|
+
children: {
|
|
244
|
+
type: string;
|
|
245
|
+
version: number;
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
}[];
|
|
248
|
+
direction: ('ltr' | 'rtl') | null;
|
|
249
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
250
|
+
indent: number;
|
|
251
|
+
version: number;
|
|
252
|
+
};
|
|
253
|
+
[key: string]: unknown;
|
|
254
|
+
} | null;
|
|
255
|
+
links?: {
|
|
256
|
+
link: {
|
|
257
|
+
type?: ('reference' | 'custom') | null;
|
|
258
|
+
newTab?: boolean | null;
|
|
259
|
+
reference?: {
|
|
260
|
+
relationTo: 'pages';
|
|
261
|
+
value: number | Page;
|
|
262
|
+
} | null;
|
|
263
|
+
url?: string | null;
|
|
264
|
+
label: string;
|
|
265
|
+
appearance?: ('default' | 'outline') | null;
|
|
266
|
+
};
|
|
267
|
+
id?: string | null;
|
|
268
|
+
}[] | null;
|
|
269
|
+
id?: string | null;
|
|
270
|
+
blockName?: string | null;
|
|
271
|
+
blockType: 'cta';
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
275
|
+
* via the `definition` "ContentBlock".
|
|
276
|
+
*/
|
|
277
|
+
export interface ContentBlock {
|
|
278
|
+
columns?: {
|
|
279
|
+
size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null;
|
|
280
|
+
richText?: {
|
|
281
|
+
root: {
|
|
282
|
+
type: string;
|
|
283
|
+
children: {
|
|
284
|
+
type: string;
|
|
285
|
+
version: number;
|
|
286
|
+
[key: string]: unknown;
|
|
287
|
+
}[];
|
|
288
|
+
direction: ('ltr' | 'rtl') | null;
|
|
289
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
290
|
+
indent: number;
|
|
291
|
+
version: number;
|
|
292
|
+
};
|
|
293
|
+
[key: string]: unknown;
|
|
294
|
+
} | null;
|
|
295
|
+
enableLink?: boolean | null;
|
|
296
|
+
link: {
|
|
297
|
+
type?: ('reference' | 'custom') | null;
|
|
298
|
+
newTab?: boolean | null;
|
|
299
|
+
reference?: {
|
|
300
|
+
relationTo: 'pages';
|
|
301
|
+
value: number | Page;
|
|
302
|
+
} | null;
|
|
303
|
+
url?: string | null;
|
|
304
|
+
label: string;
|
|
305
|
+
appearance?: ('default' | 'outline') | null;
|
|
306
|
+
};
|
|
307
|
+
id?: string | null;
|
|
308
|
+
}[] | null;
|
|
309
|
+
id?: string | null;
|
|
310
|
+
blockName?: string | null;
|
|
311
|
+
blockType: 'content';
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
315
|
+
* via the `definition` "MediaBlock".
|
|
316
|
+
*/
|
|
317
|
+
export interface MediaBlock {
|
|
318
|
+
position?: ('default' | 'fullscreen') | null;
|
|
319
|
+
media: number | Media;
|
|
320
|
+
id?: string | null;
|
|
321
|
+
blockName?: string | null;
|
|
322
|
+
blockType: 'mediaBlock';
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
326
|
+
* via the `definition` "ArchiveBlock".
|
|
327
|
+
*/
|
|
328
|
+
export interface ArchiveBlock {
|
|
329
|
+
introContent?: {
|
|
330
|
+
root: {
|
|
331
|
+
type: string;
|
|
332
|
+
children: {
|
|
333
|
+
type: string;
|
|
334
|
+
version: number;
|
|
335
|
+
[key: string]: unknown;
|
|
336
|
+
}[];
|
|
337
|
+
direction: ('ltr' | 'rtl') | null;
|
|
338
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
339
|
+
indent: number;
|
|
340
|
+
version: number;
|
|
341
|
+
};
|
|
342
|
+
[key: string]: unknown;
|
|
343
|
+
} | null;
|
|
344
|
+
populateBy?: ('collection' | 'selection') | null;
|
|
345
|
+
relationTo?: 'posts' | null;
|
|
346
|
+
categories?: (number | Category)[] | null;
|
|
347
|
+
limit?: number | null;
|
|
348
|
+
selectedDocs?: {
|
|
349
|
+
relationTo: 'posts';
|
|
350
|
+
value: number | Post;
|
|
351
|
+
}[] | null;
|
|
352
|
+
id?: string | null;
|
|
353
|
+
blockName?: string | null;
|
|
354
|
+
blockType: 'archive';
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
358
|
+
* via the `definition` "categories".
|
|
359
|
+
*/
|
|
360
|
+
export interface Category {
|
|
361
|
+
id: number;
|
|
362
|
+
title: string;
|
|
363
|
+
parent?: (number | null) | Category;
|
|
364
|
+
breadcrumbs?: {
|
|
365
|
+
doc?: (number | null) | Category;
|
|
366
|
+
url?: string | null;
|
|
367
|
+
label?: string | null;
|
|
368
|
+
id?: string | null;
|
|
369
|
+
}[] | null;
|
|
370
|
+
updatedAt: string;
|
|
371
|
+
createdAt: string;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
375
|
+
* via the `definition` "posts".
|
|
376
|
+
*/
|
|
377
|
+
export interface Post {
|
|
378
|
+
id: number;
|
|
379
|
+
title: string;
|
|
380
|
+
content: {
|
|
381
|
+
root: {
|
|
382
|
+
type: string;
|
|
383
|
+
children: {
|
|
384
|
+
type: string;
|
|
385
|
+
version: number;
|
|
386
|
+
[key: string]: unknown;
|
|
387
|
+
}[];
|
|
388
|
+
direction: ('ltr' | 'rtl') | null;
|
|
389
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
390
|
+
indent: number;
|
|
391
|
+
version: number;
|
|
392
|
+
};
|
|
393
|
+
[key: string]: unknown;
|
|
394
|
+
};
|
|
395
|
+
relatedPosts?: (number | Post)[] | null;
|
|
396
|
+
categories?: (number | Category)[] | null;
|
|
397
|
+
meta?: {
|
|
398
|
+
image?: (number | null) | Media;
|
|
399
|
+
title?: string | null;
|
|
400
|
+
description?: string | null;
|
|
401
|
+
};
|
|
402
|
+
publishedAt?: string | null;
|
|
403
|
+
authors?: (number | User)[] | null;
|
|
404
|
+
populatedAuthors?: {
|
|
405
|
+
id?: string | null;
|
|
406
|
+
name?: string | null;
|
|
407
|
+
}[] | null;
|
|
408
|
+
slug: string;
|
|
409
|
+
slugLock?: boolean | null;
|
|
410
|
+
updatedAt: string;
|
|
411
|
+
createdAt: string;
|
|
412
|
+
_status?: ('draft' | 'published') | null;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
416
|
+
* via the `definition` "FormBlock".
|
|
417
|
+
*/
|
|
418
|
+
export interface FormBlock {
|
|
419
|
+
form: number | Form;
|
|
420
|
+
enableIntro?: boolean | null;
|
|
421
|
+
introContent?: {
|
|
422
|
+
root: {
|
|
423
|
+
type: string;
|
|
424
|
+
children: {
|
|
425
|
+
type: string;
|
|
426
|
+
version: number;
|
|
427
|
+
[key: string]: unknown;
|
|
428
|
+
}[];
|
|
429
|
+
direction: ('ltr' | 'rtl') | null;
|
|
430
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
431
|
+
indent: number;
|
|
432
|
+
version: number;
|
|
433
|
+
};
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
} | null;
|
|
436
|
+
id?: string | null;
|
|
437
|
+
blockName?: string | null;
|
|
438
|
+
blockType: 'formBlock';
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
442
|
+
* via the `definition` "forms".
|
|
443
|
+
*/
|
|
444
|
+
export interface Form {
|
|
445
|
+
id: number;
|
|
446
|
+
title: string;
|
|
447
|
+
fields?: ({
|
|
448
|
+
name: string;
|
|
449
|
+
label?: string | null;
|
|
450
|
+
width?: number | null;
|
|
451
|
+
required?: boolean | null;
|
|
452
|
+
defaultValue?: boolean | null;
|
|
453
|
+
id?: string | null;
|
|
454
|
+
blockName?: string | null;
|
|
455
|
+
blockType: 'checkbox';
|
|
456
|
+
} | {
|
|
457
|
+
name: string;
|
|
458
|
+
label?: string | null;
|
|
459
|
+
width?: number | null;
|
|
460
|
+
required?: boolean | null;
|
|
461
|
+
id?: string | null;
|
|
462
|
+
blockName?: string | null;
|
|
463
|
+
blockType: 'country';
|
|
464
|
+
} | {
|
|
465
|
+
name: string;
|
|
466
|
+
label?: string | null;
|
|
467
|
+
width?: number | null;
|
|
468
|
+
required?: boolean | null;
|
|
469
|
+
id?: string | null;
|
|
470
|
+
blockName?: string | null;
|
|
471
|
+
blockType: 'email';
|
|
472
|
+
} | {
|
|
473
|
+
message?: {
|
|
474
|
+
root: {
|
|
475
|
+
type: string;
|
|
476
|
+
children: {
|
|
477
|
+
type: string;
|
|
478
|
+
version: number;
|
|
479
|
+
[key: string]: unknown;
|
|
480
|
+
}[];
|
|
481
|
+
direction: ('ltr' | 'rtl') | null;
|
|
482
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
483
|
+
indent: number;
|
|
484
|
+
version: number;
|
|
485
|
+
};
|
|
486
|
+
[key: string]: unknown;
|
|
487
|
+
} | null;
|
|
488
|
+
id?: string | null;
|
|
489
|
+
blockName?: string | null;
|
|
490
|
+
blockType: 'message';
|
|
491
|
+
} | {
|
|
492
|
+
name: string;
|
|
493
|
+
label?: string | null;
|
|
494
|
+
width?: number | null;
|
|
495
|
+
defaultValue?: number | null;
|
|
496
|
+
required?: boolean | null;
|
|
497
|
+
id?: string | null;
|
|
498
|
+
blockName?: string | null;
|
|
499
|
+
blockType: 'number';
|
|
500
|
+
} | {
|
|
501
|
+
name: string;
|
|
502
|
+
label?: string | null;
|
|
503
|
+
width?: number | null;
|
|
504
|
+
defaultValue?: string | null;
|
|
505
|
+
options?: {
|
|
506
|
+
label: string;
|
|
507
|
+
value: string;
|
|
508
|
+
id?: string | null;
|
|
509
|
+
}[] | null;
|
|
510
|
+
required?: boolean | null;
|
|
511
|
+
id?: string | null;
|
|
512
|
+
blockName?: string | null;
|
|
513
|
+
blockType: 'select';
|
|
514
|
+
} | {
|
|
515
|
+
name: string;
|
|
516
|
+
label?: string | null;
|
|
517
|
+
width?: number | null;
|
|
518
|
+
required?: boolean | null;
|
|
519
|
+
id?: string | null;
|
|
520
|
+
blockName?: string | null;
|
|
521
|
+
blockType: 'state';
|
|
522
|
+
} | {
|
|
523
|
+
name: string;
|
|
524
|
+
label?: string | null;
|
|
525
|
+
width?: number | null;
|
|
526
|
+
defaultValue?: string | null;
|
|
527
|
+
required?: boolean | null;
|
|
528
|
+
id?: string | null;
|
|
529
|
+
blockName?: string | null;
|
|
530
|
+
blockType: 'text';
|
|
531
|
+
} | {
|
|
532
|
+
name: string;
|
|
533
|
+
label?: string | null;
|
|
534
|
+
width?: number | null;
|
|
535
|
+
defaultValue?: string | null;
|
|
536
|
+
required?: boolean | null;
|
|
537
|
+
id?: string | null;
|
|
538
|
+
blockName?: string | null;
|
|
539
|
+
blockType: 'textarea';
|
|
540
|
+
})[] | null;
|
|
541
|
+
submitButtonLabel?: string | null;
|
|
542
|
+
confirmationType?: ('message' | 'redirect') | null;
|
|
543
|
+
confirmationMessage?: {
|
|
544
|
+
root: {
|
|
545
|
+
type: string;
|
|
546
|
+
children: {
|
|
547
|
+
type: string;
|
|
548
|
+
version: number;
|
|
549
|
+
[key: string]: unknown;
|
|
550
|
+
}[];
|
|
551
|
+
direction: ('ltr' | 'rtl') | null;
|
|
552
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
553
|
+
indent: number;
|
|
554
|
+
version: number;
|
|
555
|
+
};
|
|
556
|
+
[key: string]: unknown;
|
|
557
|
+
} | null;
|
|
558
|
+
redirect?: {
|
|
559
|
+
url: string;
|
|
560
|
+
};
|
|
561
|
+
emails?: {
|
|
562
|
+
emailTo?: string | null;
|
|
563
|
+
cc?: string | null;
|
|
564
|
+
bcc?: string | null;
|
|
565
|
+
replyTo?: string | null;
|
|
566
|
+
emailFrom?: string | null;
|
|
567
|
+
subject: string;
|
|
568
|
+
message?: {
|
|
569
|
+
root: {
|
|
570
|
+
type: string;
|
|
571
|
+
children: {
|
|
572
|
+
type: string;
|
|
573
|
+
version: number;
|
|
574
|
+
[key: string]: unknown;
|
|
575
|
+
}[];
|
|
576
|
+
direction: ('ltr' | 'rtl') | null;
|
|
577
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
578
|
+
indent: number;
|
|
579
|
+
version: number;
|
|
580
|
+
};
|
|
581
|
+
[key: string]: unknown;
|
|
582
|
+
} | null;
|
|
583
|
+
id?: string | null;
|
|
584
|
+
}[] | null;
|
|
585
|
+
updatedAt: string;
|
|
586
|
+
createdAt: string;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
590
|
+
* via the `definition` "CodeBlock".
|
|
591
|
+
*/
|
|
592
|
+
export interface CodeBlock {
|
|
593
|
+
language?: ('typescript' | 'javascript' | 'css') | null;
|
|
594
|
+
code: string;
|
|
595
|
+
id?: string | null;
|
|
596
|
+
blockName?: string | null;
|
|
597
|
+
blockType: 'code';
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
601
|
+
* via the `definition` "BannerBlock".
|
|
602
|
+
*/
|
|
603
|
+
export interface BannerBlock {
|
|
604
|
+
style: 'info' | 'warning' | 'error' | 'success';
|
|
605
|
+
content: {
|
|
606
|
+
root: {
|
|
607
|
+
type: string;
|
|
608
|
+
children: {
|
|
609
|
+
type: string;
|
|
610
|
+
version: number;
|
|
611
|
+
[key: string]: unknown;
|
|
612
|
+
}[];
|
|
613
|
+
direction: ('ltr' | 'rtl') | null;
|
|
614
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
615
|
+
indent: number;
|
|
616
|
+
version: number;
|
|
617
|
+
};
|
|
618
|
+
[key: string]: unknown;
|
|
619
|
+
};
|
|
620
|
+
id?: string | null;
|
|
621
|
+
blockName?: string | null;
|
|
622
|
+
blockType: 'banner';
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
626
|
+
* via the `definition` "slug".
|
|
627
|
+
*/
|
|
628
|
+
export interface Slug {
|
|
629
|
+
id: number;
|
|
630
|
+
name: string;
|
|
631
|
+
slug?: string | null;
|
|
632
|
+
description?: string | null;
|
|
633
|
+
header?: {
|
|
634
|
+
blocks?: ReusableContent[] | null;
|
|
635
|
+
};
|
|
636
|
+
body?: {
|
|
637
|
+
blocks?: ReusableContent[] | null;
|
|
638
|
+
};
|
|
639
|
+
footer?: {
|
|
640
|
+
blocks?: ReusableContent[] | null;
|
|
641
|
+
};
|
|
642
|
+
updatedAt: string;
|
|
643
|
+
createdAt: string;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
647
|
+
* via the `definition` "ReusableContent".
|
|
648
|
+
*/
|
|
649
|
+
export interface ReusableContent {
|
|
650
|
+
reference?: (number | null) | Content;
|
|
651
|
+
id?: string | null;
|
|
652
|
+
blockName?: string | null;
|
|
653
|
+
blockType: 'reusableContent';
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
657
|
+
* via the `definition` "contents".
|
|
658
|
+
*/
|
|
659
|
+
export interface Content {
|
|
660
|
+
id: number;
|
|
661
|
+
name: string;
|
|
662
|
+
description?: string | null;
|
|
663
|
+
blocks?: unknown[] | null;
|
|
664
|
+
updatedAt: string;
|
|
665
|
+
createdAt: string;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
669
|
+
* via the `definition` "tags".
|
|
670
|
+
*/
|
|
671
|
+
export interface Tag {
|
|
672
|
+
id: number;
|
|
673
|
+
name: string;
|
|
674
|
+
slug: string;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
678
|
+
* via the `definition` "events".
|
|
679
|
+
*/
|
|
680
|
+
export interface Event {
|
|
681
|
+
id: number;
|
|
682
|
+
title?: string | null;
|
|
683
|
+
name?: string | null;
|
|
684
|
+
description?: string | null;
|
|
685
|
+
image?: (number | null) | Media;
|
|
686
|
+
alt?: string | null;
|
|
687
|
+
updatedAt: string;
|
|
688
|
+
createdAt: string;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
692
|
+
* via the `definition` "cards".
|
|
693
|
+
*/
|
|
694
|
+
export interface Card {
|
|
695
|
+
id: number;
|
|
696
|
+
name?: string | null;
|
|
697
|
+
image?: (number | null) | Media;
|
|
698
|
+
label?: string | null;
|
|
699
|
+
cta?: string | null;
|
|
700
|
+
href?: string | null;
|
|
701
|
+
loading?: ('eager' | 'lazy') | null;
|
|
702
|
+
updatedAt: string;
|
|
703
|
+
createdAt: string;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
707
|
+
* via the `definition` "heros".
|
|
708
|
+
*/
|
|
709
|
+
export interface Hero {
|
|
710
|
+
id: number;
|
|
711
|
+
href?: string | null;
|
|
712
|
+
altText?: string | null;
|
|
713
|
+
updatedAt: string;
|
|
714
|
+
createdAt: string;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
718
|
+
* via the `definition` "products".
|
|
719
|
+
*/
|
|
720
|
+
export interface Product {
|
|
721
|
+
id: number;
|
|
722
|
+
title: string;
|
|
723
|
+
publishedOn?: string | null;
|
|
724
|
+
layout?: (CallToActionBlock | MediaBlock | ArchiveBlock)[] | null;
|
|
725
|
+
stripeProductID?: string | null;
|
|
726
|
+
priceJSON?: string | null;
|
|
727
|
+
enablePaywall?: boolean | null;
|
|
728
|
+
paywall?: (CallToActionBlock | MediaBlock | ArchiveBlock)[] | null;
|
|
729
|
+
categories?: (number | Category)[] | null;
|
|
730
|
+
relatedProducts?: (number | Product)[] | null;
|
|
731
|
+
skipSync?: boolean | null;
|
|
732
|
+
updatedAt: string;
|
|
733
|
+
createdAt: string;
|
|
734
|
+
_status?: ('draft' | 'published') | null;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
738
|
+
* via the `definition` "prices".
|
|
739
|
+
*/
|
|
740
|
+
export interface Price {
|
|
741
|
+
id: number;
|
|
742
|
+
title: string;
|
|
743
|
+
publishedOn?: string | null;
|
|
744
|
+
layout?: (CallToActionBlock | MediaBlock | ArchiveBlock)[] | null;
|
|
745
|
+
stripePriceID?: string | null;
|
|
746
|
+
priceJSON?: string | null;
|
|
747
|
+
enablePaywall?: boolean | null;
|
|
748
|
+
paywall?: (CallToActionBlock | MediaBlock | ArchiveBlock)[] | null;
|
|
749
|
+
categories?: (number | Category)[] | null;
|
|
750
|
+
relatedPrices?: (number | Price)[] | null;
|
|
751
|
+
skipSync?: boolean | null;
|
|
752
|
+
updatedAt: string;
|
|
753
|
+
createdAt: string;
|
|
754
|
+
_status?: ('draft' | 'published') | null;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
758
|
+
* via the `definition` "orders".
|
|
759
|
+
*/
|
|
760
|
+
export interface Order {
|
|
761
|
+
id: number;
|
|
762
|
+
orderedBy?: (number | null) | User;
|
|
763
|
+
stripePaymentIntentID?: string | null;
|
|
764
|
+
total: number;
|
|
765
|
+
items?: {
|
|
766
|
+
product: number | Product;
|
|
767
|
+
price?: number | null;
|
|
768
|
+
quantity?: number | null;
|
|
769
|
+
id?: string | null;
|
|
770
|
+
}[] | null;
|
|
771
|
+
updatedAt: string;
|
|
772
|
+
createdAt: string;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
776
|
+
* via the `definition` "subscriptions".
|
|
777
|
+
*/
|
|
778
|
+
export interface Subscription {
|
|
779
|
+
id: string;
|
|
780
|
+
userId: number | User;
|
|
781
|
+
status: 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'trialing' | 'unpaid';
|
|
782
|
+
priceId: string;
|
|
783
|
+
quantity?: number | null;
|
|
784
|
+
cancelAt?: string | null;
|
|
785
|
+
canceledAt?: string | null;
|
|
786
|
+
currentPeriodStart?: string | null;
|
|
787
|
+
currentPeriodEnd?: string | null;
|
|
788
|
+
trialStart?: string | null;
|
|
789
|
+
trialEnd?: string | null;
|
|
790
|
+
metadata?: {
|
|
791
|
+
[key: string]: unknown;
|
|
792
|
+
} | unknown[] | string | number | boolean | null;
|
|
793
|
+
updatedAt: string;
|
|
794
|
+
createdAt: string;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
798
|
+
* via the `definition` "banners".
|
|
799
|
+
*/
|
|
800
|
+
export interface Banner {
|
|
801
|
+
id: number;
|
|
802
|
+
image?: (number | null) | Media;
|
|
803
|
+
alt?: string | null;
|
|
804
|
+
heading?: string | null;
|
|
805
|
+
subheading?: string | null;
|
|
806
|
+
description?: string | null;
|
|
807
|
+
cta?: string | null;
|
|
808
|
+
highlight?: string | null;
|
|
809
|
+
punctuation?: string | null;
|
|
810
|
+
stats?: {
|
|
811
|
+
label?: string | null;
|
|
812
|
+
value?: string | null;
|
|
813
|
+
id?: string | null;
|
|
814
|
+
}[] | null;
|
|
815
|
+
link?: {
|
|
816
|
+
href?: string | null;
|
|
817
|
+
text?: string | null;
|
|
818
|
+
};
|
|
819
|
+
updatedAt: string;
|
|
820
|
+
createdAt: string;
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
824
|
+
* via the `definition` "redirects".
|
|
825
|
+
*/
|
|
826
|
+
export interface Redirect {
|
|
827
|
+
id: number;
|
|
828
|
+
from: string;
|
|
829
|
+
to?: {
|
|
830
|
+
type?: ('reference' | 'custom') | null;
|
|
831
|
+
reference?: ({
|
|
832
|
+
relationTo: 'pages';
|
|
833
|
+
value: number | Page;
|
|
834
|
+
} | null) | ({
|
|
835
|
+
relationTo: 'posts';
|
|
836
|
+
value: number | Post;
|
|
837
|
+
} | null);
|
|
838
|
+
url?: string | null;
|
|
839
|
+
};
|
|
840
|
+
updatedAt: string;
|
|
841
|
+
createdAt: string;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
845
|
+
* via the `definition` "form-submissions".
|
|
846
|
+
*/
|
|
847
|
+
export interface FormSubmission {
|
|
848
|
+
id: number;
|
|
849
|
+
form: number | Form;
|
|
850
|
+
submissionData?: {
|
|
851
|
+
field: string;
|
|
852
|
+
value: string;
|
|
853
|
+
id?: string | null;
|
|
854
|
+
}[] | null;
|
|
855
|
+
updatedAt: string;
|
|
856
|
+
createdAt: string;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
860
|
+
* via the `definition` "revealui-locked-documents".
|
|
861
|
+
*/
|
|
862
|
+
export interface RevealUILockedDocument {
|
|
863
|
+
id: number;
|
|
864
|
+
document?: ({
|
|
865
|
+
relationTo: 'users';
|
|
866
|
+
value: number | User;
|
|
867
|
+
} | null) | ({
|
|
868
|
+
relationTo: 'tenants';
|
|
869
|
+
value: number | Tenant;
|
|
870
|
+
} | null) | ({
|
|
871
|
+
relationTo: 'pages';
|
|
872
|
+
value: number | Page;
|
|
873
|
+
} | null) | ({
|
|
874
|
+
relationTo: 'media';
|
|
875
|
+
value: number | Media;
|
|
876
|
+
} | null) | ({
|
|
877
|
+
relationTo: 'slug';
|
|
878
|
+
value: number | Slug;
|
|
879
|
+
} | null) | ({
|
|
880
|
+
relationTo: 'contents';
|
|
881
|
+
value: number | Content;
|
|
882
|
+
} | null) | ({
|
|
883
|
+
relationTo: 'categories';
|
|
884
|
+
value: number | Category;
|
|
885
|
+
} | null) | ({
|
|
886
|
+
relationTo: 'tags';
|
|
887
|
+
value: number | Tag;
|
|
888
|
+
} | null) | ({
|
|
889
|
+
relationTo: 'events';
|
|
890
|
+
value: number | Event;
|
|
891
|
+
} | null) | ({
|
|
892
|
+
relationTo: 'cards';
|
|
893
|
+
value: number | Card;
|
|
894
|
+
} | null) | ({
|
|
895
|
+
relationTo: 'heros';
|
|
896
|
+
value: number | Hero;
|
|
897
|
+
} | null) | ({
|
|
898
|
+
relationTo: 'products';
|
|
899
|
+
value: number | Product;
|
|
900
|
+
} | null) | ({
|
|
901
|
+
relationTo: 'prices';
|
|
902
|
+
value: number | Price;
|
|
903
|
+
} | null) | ({
|
|
904
|
+
relationTo: 'orders';
|
|
905
|
+
value: number | Order;
|
|
906
|
+
} | null) | ({
|
|
907
|
+
relationTo: 'posts';
|
|
908
|
+
value: number | Post;
|
|
909
|
+
} | null) | ({
|
|
910
|
+
relationTo: 'subscriptions';
|
|
911
|
+
value: string | Subscription;
|
|
912
|
+
} | null) | ({
|
|
913
|
+
relationTo: 'banners';
|
|
914
|
+
value: number | Banner;
|
|
915
|
+
} | null) | ({
|
|
916
|
+
relationTo: 'redirects';
|
|
917
|
+
value: number | Redirect;
|
|
918
|
+
} | null) | ({
|
|
919
|
+
relationTo: 'forms';
|
|
920
|
+
value: number | Form;
|
|
921
|
+
} | null) | ({
|
|
922
|
+
relationTo: 'form-submissions';
|
|
923
|
+
value: number | FormSubmission;
|
|
924
|
+
} | null);
|
|
925
|
+
globalSlug?: string | null;
|
|
926
|
+
user: {
|
|
927
|
+
relationTo: 'users';
|
|
928
|
+
value: number | User;
|
|
929
|
+
};
|
|
930
|
+
updatedAt: string;
|
|
931
|
+
createdAt: string;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
935
|
+
* via the `definition` "revealui-preferences".
|
|
936
|
+
*/
|
|
937
|
+
export interface RevealUIPreference {
|
|
938
|
+
id: number;
|
|
939
|
+
user: {
|
|
940
|
+
relationTo: 'users';
|
|
941
|
+
value: number | User;
|
|
942
|
+
};
|
|
943
|
+
key?: string | null;
|
|
944
|
+
value?: {
|
|
945
|
+
[key: string]: unknown;
|
|
946
|
+
} | unknown[] | string | number | boolean | null;
|
|
947
|
+
updatedAt: string;
|
|
948
|
+
createdAt: string;
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
952
|
+
* via the `definition` "revealui-migrations".
|
|
953
|
+
*/
|
|
954
|
+
export interface RevealUIMigration {
|
|
955
|
+
id: number;
|
|
956
|
+
name?: string | null;
|
|
957
|
+
batch?: number | null;
|
|
958
|
+
updatedAt: string;
|
|
959
|
+
createdAt: string;
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
963
|
+
* via the `definition` "users_select".
|
|
964
|
+
*/
|
|
965
|
+
export interface UsersSelect<T extends boolean = true> {
|
|
966
|
+
firstName?: T;
|
|
967
|
+
lastName?: T;
|
|
968
|
+
roles?: T;
|
|
969
|
+
tenants?: T | {
|
|
970
|
+
tenant?: T;
|
|
971
|
+
roles?: T;
|
|
972
|
+
id?: T;
|
|
973
|
+
};
|
|
974
|
+
lastLoggedInTenant?: T;
|
|
975
|
+
updatedAt?: T;
|
|
976
|
+
createdAt?: T;
|
|
977
|
+
email?: T;
|
|
978
|
+
resetPasswordToken?: T;
|
|
979
|
+
resetPasswordExpiration?: T;
|
|
980
|
+
salt?: T;
|
|
981
|
+
hash?: T;
|
|
982
|
+
loginAttempts?: T;
|
|
983
|
+
lockUntil?: T;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
987
|
+
* via the `definition` "tenants_select".
|
|
988
|
+
*/
|
|
989
|
+
export interface TenantsSelect<T extends boolean = true> {
|
|
990
|
+
name?: T;
|
|
991
|
+
domains?: T | {
|
|
992
|
+
domain?: T;
|
|
993
|
+
id?: T;
|
|
994
|
+
};
|
|
995
|
+
roles?: T;
|
|
996
|
+
updatedAt?: T;
|
|
997
|
+
createdAt?: T;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1001
|
+
* via the `definition` "pages_select".
|
|
1002
|
+
*/
|
|
1003
|
+
export interface PagesSelect<T extends boolean = true> {
|
|
1004
|
+
title?: T;
|
|
1005
|
+
hero?: T | {
|
|
1006
|
+
type?: T;
|
|
1007
|
+
richText?: T;
|
|
1008
|
+
links?: T | {
|
|
1009
|
+
link?: T | {
|
|
1010
|
+
type?: T;
|
|
1011
|
+
newTab?: T;
|
|
1012
|
+
reference?: T;
|
|
1013
|
+
url?: T;
|
|
1014
|
+
label?: T;
|
|
1015
|
+
appearance?: T;
|
|
1016
|
+
};
|
|
1017
|
+
id?: T;
|
|
1018
|
+
};
|
|
1019
|
+
media?: T;
|
|
1020
|
+
};
|
|
1021
|
+
layout?: T | {
|
|
1022
|
+
cta?: T | {
|
|
1023
|
+
richText?: T;
|
|
1024
|
+
links?: T | {
|
|
1025
|
+
link?: T | {
|
|
1026
|
+
type?: T;
|
|
1027
|
+
newTab?: T;
|
|
1028
|
+
reference?: T;
|
|
1029
|
+
url?: T;
|
|
1030
|
+
label?: T;
|
|
1031
|
+
appearance?: T;
|
|
1032
|
+
};
|
|
1033
|
+
id?: T;
|
|
1034
|
+
};
|
|
1035
|
+
id?: T;
|
|
1036
|
+
blockName?: T;
|
|
1037
|
+
};
|
|
1038
|
+
content?: T | {
|
|
1039
|
+
columns?: T | {
|
|
1040
|
+
size?: T;
|
|
1041
|
+
richText?: T;
|
|
1042
|
+
enableLink?: T;
|
|
1043
|
+
link?: T | {
|
|
1044
|
+
type?: T;
|
|
1045
|
+
newTab?: T;
|
|
1046
|
+
reference?: T;
|
|
1047
|
+
url?: T;
|
|
1048
|
+
label?: T;
|
|
1049
|
+
appearance?: T;
|
|
1050
|
+
};
|
|
1051
|
+
id?: T;
|
|
1052
|
+
};
|
|
1053
|
+
id?: T;
|
|
1054
|
+
blockName?: T;
|
|
1055
|
+
};
|
|
1056
|
+
mediaBlock?: T | {
|
|
1057
|
+
position?: T;
|
|
1058
|
+
media?: T;
|
|
1059
|
+
id?: T;
|
|
1060
|
+
blockName?: T;
|
|
1061
|
+
};
|
|
1062
|
+
archive?: T | {
|
|
1063
|
+
introContent?: T;
|
|
1064
|
+
populateBy?: T;
|
|
1065
|
+
relationTo?: T;
|
|
1066
|
+
categories?: T;
|
|
1067
|
+
limit?: T;
|
|
1068
|
+
selectedDocs?: T;
|
|
1069
|
+
id?: T;
|
|
1070
|
+
blockName?: T;
|
|
1071
|
+
};
|
|
1072
|
+
formBlock?: T | {
|
|
1073
|
+
form?: T;
|
|
1074
|
+
enableIntro?: T;
|
|
1075
|
+
introContent?: T;
|
|
1076
|
+
id?: T;
|
|
1077
|
+
blockName?: T;
|
|
1078
|
+
};
|
|
1079
|
+
code?: T | {
|
|
1080
|
+
language?: T;
|
|
1081
|
+
code?: T;
|
|
1082
|
+
id?: T;
|
|
1083
|
+
blockName?: T;
|
|
1084
|
+
};
|
|
1085
|
+
banner?: T | {
|
|
1086
|
+
style?: T;
|
|
1087
|
+
content?: T;
|
|
1088
|
+
id?: T;
|
|
1089
|
+
blockName?: T;
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
meta?: T | {
|
|
1093
|
+
image?: T;
|
|
1094
|
+
title?: T;
|
|
1095
|
+
description?: T;
|
|
1096
|
+
};
|
|
1097
|
+
publishedAt?: T;
|
|
1098
|
+
slug?: T;
|
|
1099
|
+
slugLock?: T;
|
|
1100
|
+
updatedAt?: T;
|
|
1101
|
+
createdAt?: T;
|
|
1102
|
+
_status?: T;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1106
|
+
* via the `definition` "media_select".
|
|
1107
|
+
*/
|
|
1108
|
+
export interface MediaSelect<T extends boolean = true> {
|
|
1109
|
+
alt?: T;
|
|
1110
|
+
caption?: T;
|
|
1111
|
+
updatedAt?: T;
|
|
1112
|
+
createdAt?: T;
|
|
1113
|
+
url?: T;
|
|
1114
|
+
thumbnailURL?: T;
|
|
1115
|
+
filename?: T;
|
|
1116
|
+
mimeType?: T;
|
|
1117
|
+
filesize?: T;
|
|
1118
|
+
width?: T;
|
|
1119
|
+
height?: T;
|
|
1120
|
+
focalX?: T;
|
|
1121
|
+
focalY?: T;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1125
|
+
* via the `definition` "slug_select".
|
|
1126
|
+
*/
|
|
1127
|
+
export interface SlugSelect<T extends boolean = true> {
|
|
1128
|
+
name?: T;
|
|
1129
|
+
slug?: T;
|
|
1130
|
+
description?: T;
|
|
1131
|
+
header?: T | {
|
|
1132
|
+
blocks?: T | {
|
|
1133
|
+
reusableContent?: T | {
|
|
1134
|
+
reference?: T;
|
|
1135
|
+
id?: T;
|
|
1136
|
+
blockName?: T;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
body?: T | {
|
|
1141
|
+
blocks?: T | {
|
|
1142
|
+
reusableContent?: T | {
|
|
1143
|
+
reference?: T;
|
|
1144
|
+
id?: T;
|
|
1145
|
+
blockName?: T;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
footer?: T | {
|
|
1150
|
+
blocks?: T | {
|
|
1151
|
+
reusableContent?: T | {
|
|
1152
|
+
reference?: T;
|
|
1153
|
+
id?: T;
|
|
1154
|
+
blockName?: T;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
updatedAt?: T;
|
|
1159
|
+
createdAt?: T;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1163
|
+
* via the `definition` "contents_select".
|
|
1164
|
+
*/
|
|
1165
|
+
export interface ContentsSelect<T extends boolean = true> {
|
|
1166
|
+
name?: T;
|
|
1167
|
+
description?: T;
|
|
1168
|
+
blocks?: T | {};
|
|
1169
|
+
updatedAt?: T;
|
|
1170
|
+
createdAt?: T;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1174
|
+
* via the `definition` "categories_select".
|
|
1175
|
+
*/
|
|
1176
|
+
export interface CategoriesSelect<T extends boolean = true> {
|
|
1177
|
+
title?: T;
|
|
1178
|
+
parent?: T;
|
|
1179
|
+
breadcrumbs?: T | {
|
|
1180
|
+
doc?: T;
|
|
1181
|
+
url?: T;
|
|
1182
|
+
label?: T;
|
|
1183
|
+
id?: T;
|
|
1184
|
+
};
|
|
1185
|
+
updatedAt?: T;
|
|
1186
|
+
createdAt?: T;
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1190
|
+
* via the `definition` "tags_select".
|
|
1191
|
+
*/
|
|
1192
|
+
export interface TagsSelect<T extends boolean = true> {
|
|
1193
|
+
name?: T;
|
|
1194
|
+
slug?: T;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1198
|
+
* via the `definition` "events_select".
|
|
1199
|
+
*/
|
|
1200
|
+
export interface EventsSelect<T extends boolean = true> {
|
|
1201
|
+
title?: T;
|
|
1202
|
+
name?: T;
|
|
1203
|
+
description?: T;
|
|
1204
|
+
image?: T;
|
|
1205
|
+
alt?: T;
|
|
1206
|
+
updatedAt?: T;
|
|
1207
|
+
createdAt?: T;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1211
|
+
* via the `definition` "cards_select".
|
|
1212
|
+
*/
|
|
1213
|
+
export interface CardsSelect<T extends boolean = true> {
|
|
1214
|
+
name?: T;
|
|
1215
|
+
image?: T;
|
|
1216
|
+
label?: T;
|
|
1217
|
+
cta?: T;
|
|
1218
|
+
href?: T;
|
|
1219
|
+
loading?: T;
|
|
1220
|
+
updatedAt?: T;
|
|
1221
|
+
createdAt?: T;
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1225
|
+
* via the `definition` "heros_select".
|
|
1226
|
+
*/
|
|
1227
|
+
export interface HerosSelect<T extends boolean = true> {
|
|
1228
|
+
href?: T;
|
|
1229
|
+
altText?: T;
|
|
1230
|
+
updatedAt?: T;
|
|
1231
|
+
createdAt?: T;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1235
|
+
* via the `definition` "products_select".
|
|
1236
|
+
*/
|
|
1237
|
+
export interface ProductsSelect<T extends boolean = true> {
|
|
1238
|
+
title?: T;
|
|
1239
|
+
publishedOn?: T;
|
|
1240
|
+
layout?: T | {
|
|
1241
|
+
cta?: T | {
|
|
1242
|
+
richText?: T;
|
|
1243
|
+
links?: T | {
|
|
1244
|
+
link?: T | {
|
|
1245
|
+
type?: T;
|
|
1246
|
+
newTab?: T;
|
|
1247
|
+
reference?: T;
|
|
1248
|
+
url?: T;
|
|
1249
|
+
label?: T;
|
|
1250
|
+
appearance?: T;
|
|
1251
|
+
};
|
|
1252
|
+
id?: T;
|
|
1253
|
+
};
|
|
1254
|
+
id?: T;
|
|
1255
|
+
blockName?: T;
|
|
1256
|
+
};
|
|
1257
|
+
mediaBlock?: T | {
|
|
1258
|
+
position?: T;
|
|
1259
|
+
media?: T;
|
|
1260
|
+
id?: T;
|
|
1261
|
+
blockName?: T;
|
|
1262
|
+
};
|
|
1263
|
+
archive?: T | {
|
|
1264
|
+
introContent?: T;
|
|
1265
|
+
populateBy?: T;
|
|
1266
|
+
relationTo?: T;
|
|
1267
|
+
categories?: T;
|
|
1268
|
+
limit?: T;
|
|
1269
|
+
selectedDocs?: T;
|
|
1270
|
+
id?: T;
|
|
1271
|
+
blockName?: T;
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
stripeProductID?: T;
|
|
1275
|
+
priceJSON?: T;
|
|
1276
|
+
enablePaywall?: T;
|
|
1277
|
+
paywall?: T | {
|
|
1278
|
+
cta?: T | {
|
|
1279
|
+
richText?: T;
|
|
1280
|
+
links?: T | {
|
|
1281
|
+
link?: T | {
|
|
1282
|
+
type?: T;
|
|
1283
|
+
newTab?: T;
|
|
1284
|
+
reference?: T;
|
|
1285
|
+
url?: T;
|
|
1286
|
+
label?: T;
|
|
1287
|
+
appearance?: T;
|
|
1288
|
+
};
|
|
1289
|
+
id?: T;
|
|
1290
|
+
};
|
|
1291
|
+
id?: T;
|
|
1292
|
+
blockName?: T;
|
|
1293
|
+
};
|
|
1294
|
+
mediaBlock?: T | {
|
|
1295
|
+
position?: T;
|
|
1296
|
+
media?: T;
|
|
1297
|
+
id?: T;
|
|
1298
|
+
blockName?: T;
|
|
1299
|
+
};
|
|
1300
|
+
archive?: T | {
|
|
1301
|
+
introContent?: T;
|
|
1302
|
+
populateBy?: T;
|
|
1303
|
+
relationTo?: T;
|
|
1304
|
+
categories?: T;
|
|
1305
|
+
limit?: T;
|
|
1306
|
+
selectedDocs?: T;
|
|
1307
|
+
id?: T;
|
|
1308
|
+
blockName?: T;
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
categories?: T;
|
|
1312
|
+
relatedProducts?: T;
|
|
1313
|
+
skipSync?: T;
|
|
1314
|
+
updatedAt?: T;
|
|
1315
|
+
createdAt?: T;
|
|
1316
|
+
_status?: T;
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1320
|
+
* via the `definition` "prices_select".
|
|
1321
|
+
*/
|
|
1322
|
+
export interface PricesSelect<T extends boolean = true> {
|
|
1323
|
+
title?: T;
|
|
1324
|
+
publishedOn?: T;
|
|
1325
|
+
layout?: T | {
|
|
1326
|
+
cta?: T | {
|
|
1327
|
+
richText?: T;
|
|
1328
|
+
links?: T | {
|
|
1329
|
+
link?: T | {
|
|
1330
|
+
type?: T;
|
|
1331
|
+
newTab?: T;
|
|
1332
|
+
reference?: T;
|
|
1333
|
+
url?: T;
|
|
1334
|
+
label?: T;
|
|
1335
|
+
appearance?: T;
|
|
1336
|
+
};
|
|
1337
|
+
id?: T;
|
|
1338
|
+
};
|
|
1339
|
+
id?: T;
|
|
1340
|
+
blockName?: T;
|
|
1341
|
+
};
|
|
1342
|
+
mediaBlock?: T | {
|
|
1343
|
+
position?: T;
|
|
1344
|
+
media?: T;
|
|
1345
|
+
id?: T;
|
|
1346
|
+
blockName?: T;
|
|
1347
|
+
};
|
|
1348
|
+
archive?: T | {
|
|
1349
|
+
introContent?: T;
|
|
1350
|
+
populateBy?: T;
|
|
1351
|
+
relationTo?: T;
|
|
1352
|
+
categories?: T;
|
|
1353
|
+
limit?: T;
|
|
1354
|
+
selectedDocs?: T;
|
|
1355
|
+
id?: T;
|
|
1356
|
+
blockName?: T;
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
stripePriceID?: T;
|
|
1360
|
+
priceJSON?: T;
|
|
1361
|
+
enablePaywall?: T;
|
|
1362
|
+
paywall?: T | {
|
|
1363
|
+
cta?: T | {
|
|
1364
|
+
richText?: T;
|
|
1365
|
+
links?: T | {
|
|
1366
|
+
link?: T | {
|
|
1367
|
+
type?: T;
|
|
1368
|
+
newTab?: T;
|
|
1369
|
+
reference?: T;
|
|
1370
|
+
url?: T;
|
|
1371
|
+
label?: T;
|
|
1372
|
+
appearance?: T;
|
|
1373
|
+
};
|
|
1374
|
+
id?: T;
|
|
1375
|
+
};
|
|
1376
|
+
id?: T;
|
|
1377
|
+
blockName?: T;
|
|
1378
|
+
};
|
|
1379
|
+
mediaBlock?: T | {
|
|
1380
|
+
position?: T;
|
|
1381
|
+
media?: T;
|
|
1382
|
+
id?: T;
|
|
1383
|
+
blockName?: T;
|
|
1384
|
+
};
|
|
1385
|
+
archive?: T | {
|
|
1386
|
+
introContent?: T;
|
|
1387
|
+
populateBy?: T;
|
|
1388
|
+
relationTo?: T;
|
|
1389
|
+
categories?: T;
|
|
1390
|
+
limit?: T;
|
|
1391
|
+
selectedDocs?: T;
|
|
1392
|
+
id?: T;
|
|
1393
|
+
blockName?: T;
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
categories?: T;
|
|
1397
|
+
relatedPrices?: T;
|
|
1398
|
+
skipSync?: T;
|
|
1399
|
+
updatedAt?: T;
|
|
1400
|
+
createdAt?: T;
|
|
1401
|
+
_status?: T;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1405
|
+
* via the `definition` "orders_select".
|
|
1406
|
+
*/
|
|
1407
|
+
export interface OrdersSelect<T extends boolean = true> {
|
|
1408
|
+
orderedBy?: T;
|
|
1409
|
+
stripePaymentIntentID?: T;
|
|
1410
|
+
total?: T;
|
|
1411
|
+
items?: T | {
|
|
1412
|
+
product?: T;
|
|
1413
|
+
price?: T;
|
|
1414
|
+
quantity?: T;
|
|
1415
|
+
id?: T;
|
|
1416
|
+
};
|
|
1417
|
+
updatedAt?: T;
|
|
1418
|
+
createdAt?: T;
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1422
|
+
* via the `definition` "posts_select".
|
|
1423
|
+
*/
|
|
1424
|
+
export interface PostsSelect<T extends boolean = true> {
|
|
1425
|
+
title?: T;
|
|
1426
|
+
content?: T;
|
|
1427
|
+
relatedPosts?: T;
|
|
1428
|
+
categories?: T;
|
|
1429
|
+
meta?: T | {
|
|
1430
|
+
image?: T;
|
|
1431
|
+
title?: T;
|
|
1432
|
+
description?: T;
|
|
1433
|
+
};
|
|
1434
|
+
publishedAt?: T;
|
|
1435
|
+
authors?: T;
|
|
1436
|
+
populatedAuthors?: T | {
|
|
1437
|
+
id?: T;
|
|
1438
|
+
name?: T;
|
|
1439
|
+
};
|
|
1440
|
+
slug?: T;
|
|
1441
|
+
slugLock?: T;
|
|
1442
|
+
updatedAt?: T;
|
|
1443
|
+
createdAt?: T;
|
|
1444
|
+
_status?: T;
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1448
|
+
* via the `definition` "subscriptions_select".
|
|
1449
|
+
*/
|
|
1450
|
+
export interface SubscriptionsSelect<T extends boolean = true> {
|
|
1451
|
+
id?: T;
|
|
1452
|
+
userId?: T;
|
|
1453
|
+
status?: T;
|
|
1454
|
+
priceId?: T;
|
|
1455
|
+
quantity?: T;
|
|
1456
|
+
cancelAt?: T;
|
|
1457
|
+
canceledAt?: T;
|
|
1458
|
+
currentPeriodStart?: T;
|
|
1459
|
+
currentPeriodEnd?: T;
|
|
1460
|
+
trialStart?: T;
|
|
1461
|
+
trialEnd?: T;
|
|
1462
|
+
metadata?: T;
|
|
1463
|
+
updatedAt?: T;
|
|
1464
|
+
createdAt?: T;
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1468
|
+
* via the `definition` "banners_select".
|
|
1469
|
+
*/
|
|
1470
|
+
export interface BannersSelect<T extends boolean = true> {
|
|
1471
|
+
image?: T;
|
|
1472
|
+
alt?: T;
|
|
1473
|
+
heading?: T;
|
|
1474
|
+
subheading?: T;
|
|
1475
|
+
description?: T;
|
|
1476
|
+
cta?: T;
|
|
1477
|
+
highlight?: T;
|
|
1478
|
+
punctuation?: T;
|
|
1479
|
+
stats?: T | {
|
|
1480
|
+
label?: T;
|
|
1481
|
+
value?: T;
|
|
1482
|
+
id?: T;
|
|
1483
|
+
};
|
|
1484
|
+
link?: T | {
|
|
1485
|
+
href?: T;
|
|
1486
|
+
text?: T;
|
|
1487
|
+
};
|
|
1488
|
+
updatedAt?: T;
|
|
1489
|
+
createdAt?: T;
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1493
|
+
* via the `definition` "redirects_select".
|
|
1494
|
+
*/
|
|
1495
|
+
export interface RedirectsSelect<T extends boolean = true> {
|
|
1496
|
+
from?: T;
|
|
1497
|
+
to?: T | {
|
|
1498
|
+
type?: T;
|
|
1499
|
+
reference?: T;
|
|
1500
|
+
url?: T;
|
|
1501
|
+
};
|
|
1502
|
+
updatedAt?: T;
|
|
1503
|
+
createdAt?: T;
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1507
|
+
* via the `definition` "forms_select".
|
|
1508
|
+
*/
|
|
1509
|
+
export interface FormsSelect<T extends boolean = true> {
|
|
1510
|
+
title?: T;
|
|
1511
|
+
fields?: T | {
|
|
1512
|
+
checkbox?: T | {
|
|
1513
|
+
name?: T;
|
|
1514
|
+
label?: T;
|
|
1515
|
+
width?: T;
|
|
1516
|
+
required?: T;
|
|
1517
|
+
defaultValue?: T;
|
|
1518
|
+
id?: T;
|
|
1519
|
+
blockName?: T;
|
|
1520
|
+
};
|
|
1521
|
+
country?: T | {
|
|
1522
|
+
name?: T;
|
|
1523
|
+
label?: T;
|
|
1524
|
+
width?: T;
|
|
1525
|
+
required?: T;
|
|
1526
|
+
id?: T;
|
|
1527
|
+
blockName?: T;
|
|
1528
|
+
};
|
|
1529
|
+
email?: T | {
|
|
1530
|
+
name?: T;
|
|
1531
|
+
label?: T;
|
|
1532
|
+
width?: T;
|
|
1533
|
+
required?: T;
|
|
1534
|
+
id?: T;
|
|
1535
|
+
blockName?: T;
|
|
1536
|
+
};
|
|
1537
|
+
message?: T | {
|
|
1538
|
+
message?: T;
|
|
1539
|
+
id?: T;
|
|
1540
|
+
blockName?: T;
|
|
1541
|
+
};
|
|
1542
|
+
number?: T | {
|
|
1543
|
+
name?: T;
|
|
1544
|
+
label?: T;
|
|
1545
|
+
width?: T;
|
|
1546
|
+
defaultValue?: T;
|
|
1547
|
+
required?: T;
|
|
1548
|
+
id?: T;
|
|
1549
|
+
blockName?: T;
|
|
1550
|
+
};
|
|
1551
|
+
select?: T | {
|
|
1552
|
+
name?: T;
|
|
1553
|
+
label?: T;
|
|
1554
|
+
width?: T;
|
|
1555
|
+
defaultValue?: T;
|
|
1556
|
+
options?: T | {
|
|
1557
|
+
label?: T;
|
|
1558
|
+
value?: T;
|
|
1559
|
+
id?: T;
|
|
1560
|
+
};
|
|
1561
|
+
required?: T;
|
|
1562
|
+
id?: T;
|
|
1563
|
+
blockName?: T;
|
|
1564
|
+
};
|
|
1565
|
+
state?: T | {
|
|
1566
|
+
name?: T;
|
|
1567
|
+
label?: T;
|
|
1568
|
+
width?: T;
|
|
1569
|
+
required?: T;
|
|
1570
|
+
id?: T;
|
|
1571
|
+
blockName?: T;
|
|
1572
|
+
};
|
|
1573
|
+
text?: T | {
|
|
1574
|
+
name?: T;
|
|
1575
|
+
label?: T;
|
|
1576
|
+
width?: T;
|
|
1577
|
+
defaultValue?: T;
|
|
1578
|
+
required?: T;
|
|
1579
|
+
id?: T;
|
|
1580
|
+
blockName?: T;
|
|
1581
|
+
};
|
|
1582
|
+
textarea?: T | {
|
|
1583
|
+
name?: T;
|
|
1584
|
+
label?: T;
|
|
1585
|
+
width?: T;
|
|
1586
|
+
defaultValue?: T;
|
|
1587
|
+
required?: T;
|
|
1588
|
+
id?: T;
|
|
1589
|
+
blockName?: T;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
submitButtonLabel?: T;
|
|
1593
|
+
confirmationType?: T;
|
|
1594
|
+
confirmationMessage?: T;
|
|
1595
|
+
redirect?: T | {
|
|
1596
|
+
url?: T;
|
|
1597
|
+
};
|
|
1598
|
+
emails?: T | {
|
|
1599
|
+
emailTo?: T;
|
|
1600
|
+
cc?: T;
|
|
1601
|
+
bcc?: T;
|
|
1602
|
+
replyTo?: T;
|
|
1603
|
+
emailFrom?: T;
|
|
1604
|
+
subject?: T;
|
|
1605
|
+
message?: T;
|
|
1606
|
+
id?: T;
|
|
1607
|
+
};
|
|
1608
|
+
updatedAt?: T;
|
|
1609
|
+
createdAt?: T;
|
|
1610
|
+
}
|
|
1611
|
+
/**
|
|
1612
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1613
|
+
* via the `definition` "form-submissions_select".
|
|
1614
|
+
*/
|
|
1615
|
+
export interface FormSubmissionsSelect<T extends boolean = true> {
|
|
1616
|
+
form?: T;
|
|
1617
|
+
submissionData?: T | {
|
|
1618
|
+
field?: T;
|
|
1619
|
+
value?: T;
|
|
1620
|
+
id?: T;
|
|
1621
|
+
};
|
|
1622
|
+
updatedAt?: T;
|
|
1623
|
+
createdAt?: T;
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1627
|
+
* via the `definition` "revealui-locked-documents_select".
|
|
1628
|
+
*/
|
|
1629
|
+
export interface RevealUILockedDocumentsSelect<T extends boolean = true> {
|
|
1630
|
+
document?: T;
|
|
1631
|
+
globalSlug?: T;
|
|
1632
|
+
user?: T;
|
|
1633
|
+
updatedAt?: T;
|
|
1634
|
+
createdAt?: T;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1638
|
+
* via the `definition` "revealui-preferences_select".
|
|
1639
|
+
*/
|
|
1640
|
+
export interface RevealUIPreferencesSelect<T extends boolean = true> {
|
|
1641
|
+
user?: T;
|
|
1642
|
+
key?: T;
|
|
1643
|
+
value?: T;
|
|
1644
|
+
updatedAt?: T;
|
|
1645
|
+
createdAt?: T;
|
|
1646
|
+
}
|
|
1647
|
+
/**
|
|
1648
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1649
|
+
* via the `definition` "revealui-migrations_select".
|
|
1650
|
+
*/
|
|
1651
|
+
export interface RevealUIMigrationsSelect<T extends boolean = true> {
|
|
1652
|
+
name?: T;
|
|
1653
|
+
batch?: T;
|
|
1654
|
+
updatedAt?: T;
|
|
1655
|
+
createdAt?: T;
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1659
|
+
* via the `definition` "settings".
|
|
1660
|
+
*/
|
|
1661
|
+
export interface Settings {
|
|
1662
|
+
id: number;
|
|
1663
|
+
productsPage?: (number | null) | Page;
|
|
1664
|
+
updatedAt?: string | null;
|
|
1665
|
+
createdAt?: string | null;
|
|
1666
|
+
}
|
|
1667
|
+
/**
|
|
1668
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1669
|
+
* via the `definition` "header".
|
|
1670
|
+
*/
|
|
1671
|
+
export interface Header {
|
|
1672
|
+
id: number;
|
|
1673
|
+
navItems?: {
|
|
1674
|
+
link: {
|
|
1675
|
+
type?: ('reference' | 'custom') | null;
|
|
1676
|
+
newTab?: boolean | null;
|
|
1677
|
+
reference?: {
|
|
1678
|
+
relationTo: 'pages';
|
|
1679
|
+
value: number | Page;
|
|
1680
|
+
} | null;
|
|
1681
|
+
url?: string | null;
|
|
1682
|
+
label: string;
|
|
1683
|
+
};
|
|
1684
|
+
id?: string | null;
|
|
1685
|
+
}[] | null;
|
|
1686
|
+
updatedAt?: string | null;
|
|
1687
|
+
createdAt?: string | null;
|
|
1688
|
+
}
|
|
1689
|
+
/**
|
|
1690
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1691
|
+
* via the `definition` "footer".
|
|
1692
|
+
*/
|
|
1693
|
+
export interface Footer {
|
|
1694
|
+
id: number;
|
|
1695
|
+
navItems?: {
|
|
1696
|
+
link: {
|
|
1697
|
+
type?: ('reference' | 'custom') | null;
|
|
1698
|
+
newTab?: boolean | null;
|
|
1699
|
+
reference?: {
|
|
1700
|
+
relationTo: 'pages';
|
|
1701
|
+
value: number | Page;
|
|
1702
|
+
} | null;
|
|
1703
|
+
url?: string | null;
|
|
1704
|
+
label: string;
|
|
1705
|
+
};
|
|
1706
|
+
id?: string | null;
|
|
1707
|
+
}[] | null;
|
|
1708
|
+
updatedAt?: string | null;
|
|
1709
|
+
createdAt?: string | null;
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1713
|
+
* via the `definition` "settings_select".
|
|
1714
|
+
*/
|
|
1715
|
+
export interface SettingsSelect<T extends boolean = true> {
|
|
1716
|
+
productsPage?: T;
|
|
1717
|
+
updatedAt?: T;
|
|
1718
|
+
createdAt?: T;
|
|
1719
|
+
globalType?: T;
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1723
|
+
* via the `definition` "header_select".
|
|
1724
|
+
*/
|
|
1725
|
+
export interface HeaderSelect<T extends boolean = true> {
|
|
1726
|
+
navItems?: T | {
|
|
1727
|
+
link?: T | {
|
|
1728
|
+
type?: T;
|
|
1729
|
+
newTab?: T;
|
|
1730
|
+
reference?: T;
|
|
1731
|
+
url?: T;
|
|
1732
|
+
label?: T;
|
|
1733
|
+
};
|
|
1734
|
+
id?: T;
|
|
1735
|
+
};
|
|
1736
|
+
updatedAt?: T;
|
|
1737
|
+
createdAt?: T;
|
|
1738
|
+
globalType?: T;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1742
|
+
* via the `definition` "footer_select".
|
|
1743
|
+
*/
|
|
1744
|
+
export interface FooterSelect<T extends boolean = true> {
|
|
1745
|
+
navItems?: T | {
|
|
1746
|
+
link?: T | {
|
|
1747
|
+
type?: T;
|
|
1748
|
+
newTab?: T;
|
|
1749
|
+
reference?: T;
|
|
1750
|
+
url?: T;
|
|
1751
|
+
label?: T;
|
|
1752
|
+
};
|
|
1753
|
+
id?: T;
|
|
1754
|
+
};
|
|
1755
|
+
updatedAt?: T;
|
|
1756
|
+
createdAt?: T;
|
|
1757
|
+
globalType?: T;
|
|
1758
|
+
}
|
|
1759
|
+
/**
|
|
1760
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1761
|
+
* via the `definition` "auth".
|
|
1762
|
+
*/
|
|
1763
|
+
export interface Auth {
|
|
1764
|
+
[key: string]: unknown;
|
|
1765
|
+
}
|
|
1766
|
+
//# sourceMappingURL=cms.d.ts.map
|