@riverbankcms/sdk 0.129.0 → 0.129.1
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/README.md +19 -256
- package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
- package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +3 -3
- package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +460 -393
- package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
- package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
- package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/config/types.d.ts +4 -4
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
- package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
- package/dist/client/client.mjs +492 -426
- package/dist/client/hooks.mjs +59 -36
- package/dist/client/rendering/client.mjs +593 -547
- package/dist/client/rendering.mjs +491 -425
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
- package/dist/{separator-DkTe68HE.mjs → separator-BE3NCquy.mjs} +1 -1
- package/dist/server/components.mjs +72 -49
- package/dist/server/config-validation.mjs +59 -36
- package/dist/server/config.mjs +59 -36
- package/dist/server/data.mjs +59 -36
- package/dist/server/index.mjs +1 -1
- package/dist/server/manifest.mjs +4966 -0
- package/dist/server/next.mjs +73 -50
- package/dist/server/page-converter.mjs +40 -36
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +72 -49
- package/dist/server/rendering.mjs +72 -49
- package/dist/server/routing.mjs +472 -402
- package/dist/server/server.mjs +60 -37
- package/dist/server/theme-bridge.mjs +70 -66
- package/package.json +9 -12
- package/dist/_dts/api/src/event-presentation.d.ts +0 -14
- package/dist/_dts/blocks/src/definitions.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
- package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
- package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
- package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
- package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
- package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
- package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
- package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
- package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
- package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
- package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
- package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
- package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
- package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
- package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
- package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
- package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
- package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
- package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
- package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
- package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
- package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
- package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
- package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
- package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
- package/dist/_dts/sdk/src/test/env.d.ts +0 -4
- package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
- package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
- package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
- package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
- package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
- package/dist/_dts/site-commands/src/domain.d.ts +0 -104
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
- package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
- package/dist/_dts/site-commands/src/guards.d.ts +0 -1
- package/dist/_dts/site-commands/src/index.d.ts +0 -18
- package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
- package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
- package/dist/_dts/site-commands/src/planner.d.ts +0 -58
- package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
- package/dist/_dts/site-commands/src/refs.d.ts +0 -90
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
- package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
- package/dist/_dts/theme-core/src/data.d.ts +0 -12
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
- package/dist/cli/index.mjs +0 -162988
- package/dist/cli/init-docs/content/agents-section.md +0 -67
- package/dist/cli/init-docs/content/cli-reference.md +0 -1238
- package/dist/cli/init-docs/content/content-management.md +0 -792
- package/dist/cli/init-docs/content/context-brand.md +0 -125
- package/dist/cli/init-docs/content/context-brief.md +0 -77
- package/dist/cli/init-docs/content/context-knowledge.md +0 -111
- package/dist/cli/init-docs/content/getting-started.md +0 -171
- package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
- package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
- package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
- package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
- package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
- package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
- package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
- package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
- package/dist/cli/init-docs/content/workflow-publish.md +0 -285
- package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
- package/dist/cli/init-docs/content/workflow-templates.md +0 -381
- /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type EnvSnapshot<T extends readonly string[]> = Record<T[number], string | undefined>;
|
|
2
|
-
export declare function snapshotEnv<T extends readonly string[]>(keys: T): EnvSnapshot<T>;
|
|
3
|
-
export declare function restoreEnv<T extends readonly string[]>(keys: T, snapshot: EnvSnapshot<T>): void;
|
|
4
|
-
export declare function clearEnv(keys: readonly string[]): void;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Result, SiteId } from '../../core/src/index';
|
|
2
|
-
import type { SiteCommand } from './commandContract';
|
|
3
|
-
import type { AllowedRuntime, SiteCommandResourceIds } from './domain';
|
|
4
|
-
import type { SiteCommandRef } from './refs';
|
|
5
|
-
export type SiteCommandExecutionContext = Readonly<{
|
|
6
|
-
siteId: SiteId;
|
|
7
|
-
runtime: AllowedRuntime;
|
|
8
|
-
}>;
|
|
9
|
-
export type SiteCommandExecutionSuccess = Readonly<{
|
|
10
|
-
commandRef: SiteCommandRef;
|
|
11
|
-
commandType: SiteCommand['type'];
|
|
12
|
-
status: 'applied' | 'skipped';
|
|
13
|
-
resourceIds?: SiteCommandResourceIds;
|
|
14
|
-
}>;
|
|
15
|
-
export type SiteCommandExecutionError = Readonly<{
|
|
16
|
-
commandRef: SiteCommandRef;
|
|
17
|
-
commandType: SiteCommand['type'];
|
|
18
|
-
code: 'unsupported_command' | 'adapter_failed';
|
|
19
|
-
message: string;
|
|
20
|
-
}>;
|
|
21
|
-
export type SiteCommandExecutionAdapter = Readonly<{
|
|
22
|
-
executeCommand(command: SiteCommand, context: SiteCommandExecutionContext): Promise<Result<SiteCommandExecutionSuccess, SiteCommandExecutionError>>;
|
|
23
|
-
}>;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type AppointmentAvailabilityRef, type AppointmentResourceRef, type AppointmentServiceRef, type CommandRef } from './refs';
|
|
3
|
-
export declare const upsertAppointmentServiceCommandSchema: z.ZodObject<{
|
|
4
|
-
type: z.ZodLiteral<"upsertAppointmentService">;
|
|
5
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
6
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
7
|
-
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
|
-
payment: z.ZodDefault<z.ZodObject<{
|
|
9
|
-
mode: z.ZodLiteral<"manual_request">;
|
|
10
|
-
}, z.core.$strict>>;
|
|
11
|
-
title: z.ZodString;
|
|
12
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
durationMinutes: z.ZodNumber;
|
|
14
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
15
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
16
|
-
virtual: "virtual";
|
|
17
|
-
in_person: "in_person";
|
|
18
|
-
hybrid: "hybrid";
|
|
19
|
-
}>>;
|
|
20
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
22
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
23
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
24
|
-
}, z.core.$strict>>;
|
|
25
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
26
|
-
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
27
|
-
payment: z.ZodObject<{
|
|
28
|
-
mode: z.ZodLiteral<"free">;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
title: z.ZodString;
|
|
31
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
durationMinutes: z.ZodNumber;
|
|
33
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
35
|
-
virtual: "virtual";
|
|
36
|
-
in_person: "in_person";
|
|
37
|
-
hybrid: "hybrid";
|
|
38
|
-
}>>;
|
|
39
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
41
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
42
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
43
|
-
}, z.core.$strict>>;
|
|
44
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
45
|
-
priceAmount: z.ZodNumber;
|
|
46
|
-
payment: z.ZodObject<{
|
|
47
|
-
mode: z.ZodLiteral<"paid_online_intent">;
|
|
48
|
-
}, z.core.$strict>;
|
|
49
|
-
title: z.ZodString;
|
|
50
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
durationMinutes: z.ZodNumber;
|
|
52
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
53
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
54
|
-
virtual: "virtual";
|
|
55
|
-
in_person: "in_person";
|
|
56
|
-
hybrid: "hybrid";
|
|
57
|
-
}>>;
|
|
58
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
60
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
61
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
62
|
-
}, z.core.$strict>>;
|
|
63
|
-
}, z.core.$strict>]>;
|
|
64
|
-
}, z.core.$strict>;
|
|
65
|
-
export declare const upsertBookableResourceCommandSchema: z.ZodObject<{
|
|
66
|
-
type: z.ZodLiteral<"upsertBookableResource">;
|
|
67
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
68
|
-
input: z.ZodObject<{
|
|
69
|
-
displayName: z.ZodString;
|
|
70
|
-
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
-
timezone: z.ZodString;
|
|
72
|
-
colorHex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
-
kind: z.ZodDefault<z.ZodLiteral<"practitioner">>;
|
|
74
|
-
capacity: z.ZodDefault<z.ZodLiteral<1>>;
|
|
75
|
-
publicVisibility: z.ZodDefault<z.ZodLiteral<"visible">>;
|
|
76
|
-
}, z.core.$strict>;
|
|
77
|
-
}, z.core.$strict>;
|
|
78
|
-
export declare const assignAppointmentServiceResourcesCommandSchema: z.ZodObject<{
|
|
79
|
-
type: z.ZodLiteral<"assignAppointmentServiceResources">;
|
|
80
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
81
|
-
input: z.ZodObject<{
|
|
82
|
-
serviceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
83
|
-
resourceRefs: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>>>;
|
|
84
|
-
}, z.core.$strict>;
|
|
85
|
-
}, z.core.$strict>;
|
|
86
|
-
export declare const configureAppointmentAvailabilityCommandSchema: z.ZodObject<{
|
|
87
|
-
type: z.ZodLiteral<"configureAppointmentAvailability">;
|
|
88
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentAvailabilityRef, string>>;
|
|
89
|
-
input: z.ZodObject<{
|
|
90
|
-
resourceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
91
|
-
serviceRef: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>>>;
|
|
92
|
-
timezone: z.ZodString;
|
|
93
|
-
replaceScope: z.ZodDefault<z.ZodLiteral<"schedule">>;
|
|
94
|
-
windows: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
95
|
-
weekday: z.ZodNumber;
|
|
96
|
-
startTime: z.ZodString;
|
|
97
|
-
endTime: z.ZodString;
|
|
98
|
-
}, z.core.$strict>>>;
|
|
99
|
-
}, z.core.$strict>;
|
|
100
|
-
}, z.core.$strict>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const staticExecutionGapCodes: readonly ["event_occurrence_required", "event_ticket_single_occurrence_scope_unsupported", "event_manual_payment_unsupported", "event_external_payment_unsupported", "event_waitlist_requires_waitlist_adapter", "event_media_content_requires_media_adapter", "event_linked_content_requires_content_adapter", "event_delivery_mode_requires_booking_surface_adapter", "event_whole_series_page_fields_unsupported", "event_whole_series_passes_unsupported", "event_whole_series_pricing_unsupported", "event_whole_series_schedule_update_unsupported", "event_whole_series_staff_update_unsupported"];
|
|
2
|
-
export type StaticExecutionGapCode = (typeof staticExecutionGapCodes)[number];
|
|
3
|
-
export declare const plannerCapabilityGapCodes: readonly ["command_metadata_support_gap"];
|
|
4
|
-
export type PlannerCapabilityGapCode = (typeof plannerCapabilityGapCodes)[number];
|
|
5
|
-
export declare const adapterCapabilityGapCodes: readonly ["demo_recipe_adapter_missing", "media_manifest_storage_resolution_missing", "navigation_content_entry_refs_unsupported", "staff_site_user_requires_dashboard_user", "team_member_profile_requires_dashboard_user", "generated_navigation_command_unsupported"];
|
|
6
|
-
export type AdapterCapabilityGapCode = (typeof adapterCapabilityGapCodes)[number];
|
|
7
|
-
export declare const siteCommandCapabilityGapCodes: readonly ["event_occurrence_required", "event_ticket_single_occurrence_scope_unsupported", "event_manual_payment_unsupported", "event_external_payment_unsupported", "event_waitlist_requires_waitlist_adapter", "event_media_content_requires_media_adapter", "event_linked_content_requires_content_adapter", "event_delivery_mode_requires_booking_surface_adapter", "event_whole_series_page_fields_unsupported", "event_whole_series_passes_unsupported", "event_whole_series_pricing_unsupported", "event_whole_series_schedule_update_unsupported", "event_whole_series_staff_update_unsupported", "command_metadata_support_gap", "demo_recipe_adapter_missing", "media_manifest_storage_resolution_missing", "navigation_content_entry_refs_unsupported", "staff_site_user_requires_dashboard_user", "team_member_profile_requires_dashboard_user", "generated_navigation_command_unsupported"];
|
|
8
|
-
export type SiteCommandCapabilityGapCode = (typeof siteCommandCapabilityGapCodes)[number];
|