@cmssy/core 19.28.1 → 19.29.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.
@@ -1,6 +1,6 @@
1
- import { LayoutRegion, BlockPropsSchema, InferBlockContent, BlockRect, BlockSchema, BlockMeta } from '@cmssy/types';
1
+ import { LayoutRegion, BlockPropsSchema, InferBlockContent, CmssyFormDefinition, CmssyModelDefinition, CmssyRecordList, CmssySiteConfig, CmssyFormSubmitResponse, SubmitFormInput, BlockRect, BlockSchema, BlockMeta } from '@cmssy/types';
2
2
  import { C as CmssyClientConfig } from './content-client-EAeHiBv2.cjs';
3
- import { C as CmssyOperationInput, G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
3
+ import { C as CmssyOperationInput, G as GraphqlRequestOptions, a as CmssyOperation } from './locale-CUk6dYTo.cjs';
4
4
 
5
5
  interface CmssyLayout<R extends readonly LayoutRegion[] = readonly LayoutRegion[]> {
6
6
  readonly regions: R;
@@ -61,6 +61,76 @@ interface CmssyClient {
61
61
  }
62
62
  declare function createCmssyClient(input: CmssyClientConfig): CmssyClient;
63
63
 
64
+ interface SiteConfigVariables {
65
+ workspaceSlug: string;
66
+ }
67
+ interface SiteConfigResult {
68
+ public: {
69
+ siteConfig: CmssySiteConfig | null;
70
+ };
71
+ }
72
+ declare const SITE_CONFIG_QUERY: CmssyOperation<SiteConfigResult, SiteConfigVariables>;
73
+ interface ModelDefinitionsVariables {
74
+ workspaceId: string;
75
+ }
76
+ interface ModelDefinitionsResult {
77
+ public: {
78
+ model: {
79
+ definitions: CmssyModelDefinition[];
80
+ };
81
+ };
82
+ }
83
+ declare const MODEL_DEFINITIONS_QUERY: CmssyOperation<ModelDefinitionsResult, ModelDefinitionsVariables>;
84
+ /**
85
+ * How the records list API orders a model's records: `<fieldKey>_asc` or
86
+ * `<fieldKey>_desc`. The API rejects any other value with BAD_USER_INPUT,
87
+ * as it does an unknown field key. Omit it for the model's default sort,
88
+ * else newest first.
89
+ */
90
+ type CmssyRecordSort = `${string}_${"asc" | "desc"}`;
91
+ interface ModelRecordsVariables {
92
+ workspaceId: string;
93
+ modelSlug: string;
94
+ filter?: Record<string, unknown> | null;
95
+ sort?: CmssyRecordSort | null;
96
+ locale?: string | null;
97
+ limit?: number | null;
98
+ offset?: number | null;
99
+ populate?: string[] | null;
100
+ previewSecret?: string | null;
101
+ }
102
+ interface ModelRecordsResult {
103
+ public: {
104
+ model: {
105
+ records: CmssyRecordList;
106
+ };
107
+ };
108
+ }
109
+ declare const MODEL_RECORDS_QUERY: CmssyOperation<ModelRecordsResult, ModelRecordsVariables>;
110
+ interface FormVariables {
111
+ formId: string;
112
+ }
113
+ interface FormResult {
114
+ public: {
115
+ form: {
116
+ get: CmssyFormDefinition | null;
117
+ };
118
+ };
119
+ }
120
+ declare const FORM_QUERY: CmssyOperation<FormResult, FormVariables>;
121
+ interface SubmitFormVariables {
122
+ formId: string;
123
+ input: SubmitFormInput;
124
+ }
125
+ interface SubmitFormResult {
126
+ public: {
127
+ form: {
128
+ submit: CmssyFormSubmitResponse;
129
+ };
130
+ };
131
+ }
132
+ declare const SUBMIT_FORM_MUTATION: CmssyOperation<SubmitFormResult, SubmitFormVariables>;
133
+
64
134
  declare const PROTOCOL_VERSION = 3;
65
135
 
66
136
  declare const SHORTCUT_ACTIONS: readonly ["undo", "redo", "save", "duplicate", "delete", "escape"];
@@ -197,4 +267,4 @@ declare function toCspOrigin(origin: string): string;
197
267
  declare function cmssyCspHeaders(options: CmssyCspOptions): Record<string, string>;
198
268
  declare function applyCmssyCsp<T extends MutableHeaders>(response: T, options: CmssyCspOptions): T;
199
269
 
200
- export { type AppToEditorMessage as A, type BoundsMessage as B, type ClickMessage as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, defineCmssyLayout as F, isProtocolCompatible as G, normalizeOrigin as H, type InvisibleBlock as I, parseEditorMessage as J, postToEditor as K, resolveEditorOrigin as L, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SHORTCUT_ACTIONS as S, type VariablesParameter as V, type CmssyClient as a, type CmssyConfig as b, cmssyCspHeaders as c, type CmssyCspOptions as d, type CmssyEnvConfig as e, type CmssyLayout as f, type CmssyRegion as g, type CmssyRegionOf as h, isDevelopment as i, type CmssyRegionSettings as j, type CmssyRegionSettingsOf as k, layoutRegionIds as l, type InvisibleBlocksMessage as m, type ParentReadyMessage as n, type PatchMessage as o, type PostTarget as p, type ScopedVariables as q, resolveInitialTarget as r, type SelectMessage as s, toCspOrigin as t, type ShortcutAction as u, type ShortcutMessage as v, type ViewportMessage as w, applyCmssyCsp as x, createCmssyClient as y, defineCmssyConfig as z };
270
+ export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type ViewportMessage as G, applyCmssyCsp as H, type InvisibleBlock as I, createCmssyClient as J, defineCmssyConfig as K, defineCmssyLayout as L, MODEL_DEFINITIONS_QUERY as M, isProtocolCompatible as N, normalizeOrigin as O, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SITE_CONFIG_QUERY as S, parseEditorMessage as T, postToEditor as U, type VariablesParameter as V, resolveEditorOrigin as W, MODEL_RECORDS_QUERY as a, SUBMIT_FORM_MUTATION as b, cmssyCspHeaders as c, type ClickMessage as d, type CmssyClient as e, type CmssyConfig as f, type CmssyCspOptions as g, type CmssyEnvConfig as h, isDevelopment as i, type CmssyLayout as j, type CmssyRegion as k, layoutRegionIds as l, type CmssyRegionOf as m, type CmssyRegionSettings as n, type CmssyRegionSettingsOf as o, type InvisibleBlocksMessage as p, type ParentReadyMessage as q, resolveInitialTarget as r, type PatchMessage as s, toCspOrigin as t, type PostTarget as u, SHORTCUT_ACTIONS as v, type ScopedVariables as w, type SelectMessage as x, type ShortcutAction as y, type ShortcutMessage as z };
@@ -1,6 +1,6 @@
1
- import { LayoutRegion, BlockPropsSchema, InferBlockContent, BlockRect, BlockSchema, BlockMeta } from '@cmssy/types';
1
+ import { LayoutRegion, BlockPropsSchema, InferBlockContent, CmssyFormDefinition, CmssyModelDefinition, CmssyRecordList, CmssySiteConfig, CmssyFormSubmitResponse, SubmitFormInput, BlockRect, BlockSchema, BlockMeta } from '@cmssy/types';
2
2
  import { C as CmssyClientConfig } from './content-client-EAeHiBv2.js';
3
- import { C as CmssyOperationInput, G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
3
+ import { C as CmssyOperationInput, G as GraphqlRequestOptions, a as CmssyOperation } from './locale-Ds2uJX5V.js';
4
4
 
5
5
  interface CmssyLayout<R extends readonly LayoutRegion[] = readonly LayoutRegion[]> {
6
6
  readonly regions: R;
@@ -61,6 +61,76 @@ interface CmssyClient {
61
61
  }
62
62
  declare function createCmssyClient(input: CmssyClientConfig): CmssyClient;
63
63
 
64
+ interface SiteConfigVariables {
65
+ workspaceSlug: string;
66
+ }
67
+ interface SiteConfigResult {
68
+ public: {
69
+ siteConfig: CmssySiteConfig | null;
70
+ };
71
+ }
72
+ declare const SITE_CONFIG_QUERY: CmssyOperation<SiteConfigResult, SiteConfigVariables>;
73
+ interface ModelDefinitionsVariables {
74
+ workspaceId: string;
75
+ }
76
+ interface ModelDefinitionsResult {
77
+ public: {
78
+ model: {
79
+ definitions: CmssyModelDefinition[];
80
+ };
81
+ };
82
+ }
83
+ declare const MODEL_DEFINITIONS_QUERY: CmssyOperation<ModelDefinitionsResult, ModelDefinitionsVariables>;
84
+ /**
85
+ * How the records list API orders a model's records: `<fieldKey>_asc` or
86
+ * `<fieldKey>_desc`. The API rejects any other value with BAD_USER_INPUT,
87
+ * as it does an unknown field key. Omit it for the model's default sort,
88
+ * else newest first.
89
+ */
90
+ type CmssyRecordSort = `${string}_${"asc" | "desc"}`;
91
+ interface ModelRecordsVariables {
92
+ workspaceId: string;
93
+ modelSlug: string;
94
+ filter?: Record<string, unknown> | null;
95
+ sort?: CmssyRecordSort | null;
96
+ locale?: string | null;
97
+ limit?: number | null;
98
+ offset?: number | null;
99
+ populate?: string[] | null;
100
+ previewSecret?: string | null;
101
+ }
102
+ interface ModelRecordsResult {
103
+ public: {
104
+ model: {
105
+ records: CmssyRecordList;
106
+ };
107
+ };
108
+ }
109
+ declare const MODEL_RECORDS_QUERY: CmssyOperation<ModelRecordsResult, ModelRecordsVariables>;
110
+ interface FormVariables {
111
+ formId: string;
112
+ }
113
+ interface FormResult {
114
+ public: {
115
+ form: {
116
+ get: CmssyFormDefinition | null;
117
+ };
118
+ };
119
+ }
120
+ declare const FORM_QUERY: CmssyOperation<FormResult, FormVariables>;
121
+ interface SubmitFormVariables {
122
+ formId: string;
123
+ input: SubmitFormInput;
124
+ }
125
+ interface SubmitFormResult {
126
+ public: {
127
+ form: {
128
+ submit: CmssyFormSubmitResponse;
129
+ };
130
+ };
131
+ }
132
+ declare const SUBMIT_FORM_MUTATION: CmssyOperation<SubmitFormResult, SubmitFormVariables>;
133
+
64
134
  declare const PROTOCOL_VERSION = 3;
65
135
 
66
136
  declare const SHORTCUT_ACTIONS: readonly ["undo", "redo", "save", "duplicate", "delete", "escape"];
@@ -197,4 +267,4 @@ declare function toCspOrigin(origin: string): string;
197
267
  declare function cmssyCspHeaders(options: CmssyCspOptions): Record<string, string>;
198
268
  declare function applyCmssyCsp<T extends MutableHeaders>(response: T, options: CmssyCspOptions): T;
199
269
 
200
- export { type AppToEditorMessage as A, type BoundsMessage as B, type ClickMessage as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, defineCmssyLayout as F, isProtocolCompatible as G, normalizeOrigin as H, type InvisibleBlock as I, parseEditorMessage as J, postToEditor as K, resolveEditorOrigin as L, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SHORTCUT_ACTIONS as S, type VariablesParameter as V, type CmssyClient as a, type CmssyConfig as b, cmssyCspHeaders as c, type CmssyCspOptions as d, type CmssyEnvConfig as e, type CmssyLayout as f, type CmssyRegion as g, type CmssyRegionOf as h, isDevelopment as i, type CmssyRegionSettings as j, type CmssyRegionSettingsOf as k, layoutRegionIds as l, type InvisibleBlocksMessage as m, type ParentReadyMessage as n, type PatchMessage as o, type PostTarget as p, type ScopedVariables as q, resolveInitialTarget as r, type SelectMessage as s, toCspOrigin as t, type ShortcutAction as u, type ShortcutMessage as v, type ViewportMessage as w, applyCmssyCsp as x, createCmssyClient as y, defineCmssyConfig as z };
270
+ export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type ViewportMessage as G, applyCmssyCsp as H, type InvisibleBlock as I, createCmssyClient as J, defineCmssyConfig as K, defineCmssyLayout as L, MODEL_DEFINITIONS_QUERY as M, isProtocolCompatible as N, normalizeOrigin as O, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SITE_CONFIG_QUERY as S, parseEditorMessage as T, postToEditor as U, type VariablesParameter as V, resolveEditorOrigin as W, MODEL_RECORDS_QUERY as a, SUBMIT_FORM_MUTATION as b, cmssyCspHeaders as c, type ClickMessage as d, type CmssyClient as e, type CmssyConfig as f, type CmssyCspOptions as g, type CmssyEnvConfig as h, isDevelopment as i, type CmssyLayout as j, type CmssyRegion as k, layoutRegionIds as l, type CmssyRegionOf as m, type CmssyRegionSettings as n, type CmssyRegionSettingsOf as o, type InvisibleBlocksMessage as p, type ParentReadyMessage as q, resolveInitialTarget as r, type PatchMessage as s, toCspOrigin as t, type PostTarget as u, SHORTCUT_ACTIONS as v, type ScopedVariables as w, type SelectMessage as x, type ShortcutAction as y, type ShortcutMessage as z };
package/dist/index.cjs CHANGED
@@ -225,7 +225,7 @@ function documentText(document2) {
225
225
  }
226
226
 
227
227
  // src/version.ts
228
- var CMSSY_CORE_VERSION = "19.28.1" ;
228
+ var CMSSY_CORE_VERSION = "19.29.0" ;
229
229
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
230
230
 
231
231
  // src/data/http.ts
package/dist/index.d.cts CHANGED
@@ -1,4 +1,5 @@
1
- export { A as AppToEditorMessage, B as BoundsMessage, C as ClickMessage, a as CmssyClient, b as CmssyConfig, d as CmssyCspOptions, e as CmssyEnvConfig, f as CmssyLayout, g as CmssyRegion, h as CmssyRegionOf, j as CmssyRegionSettings, k as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, m as InvisibleBlocksMessage, P as PROTOCOL_VERSION, n as ParentReadyMessage, o as PatchMessage, p as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, S as SHORTCUT_ACTIONS, q as ScopedVariables, s as SelectMessage, u as ShortcutAction, v as ShortcutMessage, V as VariablesParameter, w as ViewportMessage, x as applyCmssyCsp, y as createCmssyClient, z as defineCmssyConfig, F as defineCmssyLayout, G as isProtocolCompatible, H as normalizeOrigin, J as parseEditorMessage, K as postToEditor, L as resolveEditorOrigin } from './csp-CYbG4uan.cjs';
1
+ import { C as CmssyRecordSort } from './csp-CDQ84XTt.cjs';
2
+ export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, P as PROTOCOL_VERSION, q as ParentReadyMessage, s as PatchMessage, u as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, v as SHORTCUT_ACTIONS, w as ScopedVariables, x as SelectMessage, y as ShortcutAction, z as ShortcutMessage, V as VariablesParameter, G as ViewportMessage, H as applyCmssyCsp, J as createCmssyClient, K as defineCmssyConfig, L as defineCmssyLayout, N as isProtocolCompatible, O as normalizeOrigin, T as parseEditorMessage, U as postToEditor, W as resolveEditorOrigin } from './csp-CDQ84XTt.cjs';
2
3
  import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
3
4
  export { b as CMSSY_LOCALE_HEADER, C as CmssyOperationInput, f as CmssyTypedDocument, g as graphqlRequest, d as localizeHref, h as resolveCmssyLocale, t as typedOperation } from './locale-CUk6dYTo.cjs';
4
5
  import { F as FetchLike, R as RetryOption, C as CmssyClientConfig } from './content-client-EAeHiBv2.cjs';
@@ -270,7 +271,8 @@ interface RelationFieldOptions extends BaseFieldOptions {
270
271
  model: string;
271
272
  mode?: RelationMode;
272
273
  multiple?: boolean;
273
- sort?: string;
274
+ /** `<fieldKey>_asc` / `<fieldKey>_desc`; omit for the model's default sort. */
275
+ sort?: CmssyRecordSort;
274
276
  limit?: number;
275
277
  }
276
278
  type Only<O, Shape, Field extends string> = Shape & {
@@ -420,4 +422,4 @@ declare class CmssyWebhookError extends Error {
420
422
  }
421
423
  declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
422
424
 
423
- export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_PUBLIC_PRICES_MAX_ITEMS, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyChannelRefusal, type CmssyChannelRefusalReason, type CmssyCheckoutErrorReason, CmssyClientConfig, type CmssyMaintenance, type CmssyMaintenanceRefusal, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceDisplayMode, type CmssyPriceListSource, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyPriceWithheldReason, type CmssyPublicCatalogPage, type CmssyPublicPriceResult, type CmssyPublicPricedRecord, type CmssyPublicPricedRecordData, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, type CmssyTaxTreatment, type CmssyTaxedAmount, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type GetPublicCatalogPricesQuery, type GetPublicPricesOptions, GraphqlRequestOptions, MAINTENANCE_QUERY, type MediaLike, type MintCmssyEditTokenOptions, PUBLIC_CATALOG_PRICES_QUERY, PUBLIC_PRICES_QUERY, type PublicCatalogPricesResult, type PublicCatalogPricesVariables, type PublicPricesResult, type PublicPricesVariables, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, channelRefusal, channelRefusalReasonValues, checkoutErrorItemId, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, getMaintenance, getPublicCatalogPrices, getPublicPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, maintenanceRefusal, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, priceDisplayModeValues, priceListSourceValues, priceWithheldReasonValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
425
+ export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_PUBLIC_PRICES_MAX_ITEMS, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyChannelRefusal, type CmssyChannelRefusalReason, type CmssyCheckoutErrorReason, CmssyClientConfig, type CmssyMaintenance, type CmssyMaintenanceRefusal, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceDisplayMode, type CmssyPriceListSource, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyPriceWithheldReason, type CmssyPublicCatalogPage, type CmssyPublicPriceResult, type CmssyPublicPricedRecord, type CmssyPublicPricedRecordData, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, CmssyRecordSort, type CmssyTaxTreatment, type CmssyTaxedAmount, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type GetPublicCatalogPricesQuery, type GetPublicPricesOptions, GraphqlRequestOptions, MAINTENANCE_QUERY, type MediaLike, type MintCmssyEditTokenOptions, PUBLIC_CATALOG_PRICES_QUERY, PUBLIC_PRICES_QUERY, type PublicCatalogPricesResult, type PublicCatalogPricesVariables, type PublicPricesResult, type PublicPricesVariables, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, channelRefusal, channelRefusalReasonValues, checkoutErrorItemId, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, getMaintenance, getPublicCatalogPrices, getPublicPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, maintenanceRefusal, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, priceDisplayModeValues, priceListSourceValues, priceWithheldReasonValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { A as AppToEditorMessage, B as BoundsMessage, C as ClickMessage, a as CmssyClient, b as CmssyConfig, d as CmssyCspOptions, e as CmssyEnvConfig, f as CmssyLayout, g as CmssyRegion, h as CmssyRegionOf, j as CmssyRegionSettings, k as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, m as InvisibleBlocksMessage, P as PROTOCOL_VERSION, n as ParentReadyMessage, o as PatchMessage, p as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, S as SHORTCUT_ACTIONS, q as ScopedVariables, s as SelectMessage, u as ShortcutAction, v as ShortcutMessage, V as VariablesParameter, w as ViewportMessage, x as applyCmssyCsp, y as createCmssyClient, z as defineCmssyConfig, F as defineCmssyLayout, G as isProtocolCompatible, H as normalizeOrigin, J as parseEditorMessage, K as postToEditor, L as resolveEditorOrigin } from './csp-DE59VC7Q.js';
1
+ import { C as CmssyRecordSort } from './csp-DoY_JZ4u.js';
2
+ export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, P as PROTOCOL_VERSION, q as ParentReadyMessage, s as PatchMessage, u as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, v as SHORTCUT_ACTIONS, w as ScopedVariables, x as SelectMessage, y as ShortcutAction, z as ShortcutMessage, V as VariablesParameter, G as ViewportMessage, H as applyCmssyCsp, J as createCmssyClient, K as defineCmssyConfig, L as defineCmssyLayout, N as isProtocolCompatible, O as normalizeOrigin, T as parseEditorMessage, U as postToEditor, W as resolveEditorOrigin } from './csp-DoY_JZ4u.js';
2
3
  import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
3
4
  export { b as CMSSY_LOCALE_HEADER, C as CmssyOperationInput, f as CmssyTypedDocument, g as graphqlRequest, d as localizeHref, h as resolveCmssyLocale, t as typedOperation } from './locale-Ds2uJX5V.js';
4
5
  import { F as FetchLike, R as RetryOption, C as CmssyClientConfig } from './content-client-EAeHiBv2.js';
@@ -270,7 +271,8 @@ interface RelationFieldOptions extends BaseFieldOptions {
270
271
  model: string;
271
272
  mode?: RelationMode;
272
273
  multiple?: boolean;
273
- sort?: string;
274
+ /** `<fieldKey>_asc` / `<fieldKey>_desc`; omit for the model's default sort. */
275
+ sort?: CmssyRecordSort;
274
276
  limit?: number;
275
277
  }
276
278
  type Only<O, Shape, Field extends string> = Shape & {
@@ -420,4 +422,4 @@ declare class CmssyWebhookError extends Error {
420
422
  }
421
423
  declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
422
424
 
423
- export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_PUBLIC_PRICES_MAX_ITEMS, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyChannelRefusal, type CmssyChannelRefusalReason, type CmssyCheckoutErrorReason, CmssyClientConfig, type CmssyMaintenance, type CmssyMaintenanceRefusal, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceDisplayMode, type CmssyPriceListSource, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyPriceWithheldReason, type CmssyPublicCatalogPage, type CmssyPublicPriceResult, type CmssyPublicPricedRecord, type CmssyPublicPricedRecordData, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, type CmssyTaxTreatment, type CmssyTaxedAmount, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type GetPublicCatalogPricesQuery, type GetPublicPricesOptions, GraphqlRequestOptions, MAINTENANCE_QUERY, type MediaLike, type MintCmssyEditTokenOptions, PUBLIC_CATALOG_PRICES_QUERY, PUBLIC_PRICES_QUERY, type PublicCatalogPricesResult, type PublicCatalogPricesVariables, type PublicPricesResult, type PublicPricesVariables, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, channelRefusal, channelRefusalReasonValues, checkoutErrorItemId, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, getMaintenance, getPublicCatalogPrices, getPublicPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, maintenanceRefusal, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, priceDisplayModeValues, priceListSourceValues, priceWithheldReasonValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
425
+ export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_PUBLIC_PRICES_MAX_ITEMS, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyChannelRefusal, type CmssyChannelRefusalReason, type CmssyCheckoutErrorReason, CmssyClientConfig, type CmssyMaintenance, type CmssyMaintenanceRefusal, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceDisplayMode, type CmssyPriceListSource, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyPriceWithheldReason, type CmssyPublicCatalogPage, type CmssyPublicPriceResult, type CmssyPublicPricedRecord, type CmssyPublicPricedRecordData, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, CmssyRecordSort, type CmssyTaxTreatment, type CmssyTaxedAmount, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type GetPublicCatalogPricesQuery, type GetPublicPricesOptions, GraphqlRequestOptions, MAINTENANCE_QUERY, type MediaLike, type MintCmssyEditTokenOptions, PUBLIC_CATALOG_PRICES_QUERY, PUBLIC_PRICES_QUERY, type PublicCatalogPricesResult, type PublicCatalogPricesVariables, type PublicPricesResult, type PublicPricesVariables, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, channelRefusal, channelRefusalReasonValues, checkoutErrorItemId, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, getMaintenance, getPublicCatalogPrices, getPublicPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, maintenanceRefusal, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, priceDisplayModeValues, priceListSourceValues, priceWithheldReasonValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
package/dist/index.js CHANGED
@@ -224,7 +224,7 @@ function documentText(document2) {
224
224
  }
225
225
 
226
226
  // src/version.ts
227
- var CMSSY_CORE_VERSION = "19.28.1" ;
227
+ var CMSSY_CORE_VERSION = "19.29.0" ;
228
228
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
229
229
 
230
230
  // src/data/http.ts
@@ -154,7 +154,7 @@ function documentText(document) {
154
154
  }
155
155
 
156
156
  // src/version.ts
157
- var CMSSY_CORE_VERSION = "19.28.1" ;
157
+ var CMSSY_CORE_VERSION = "19.29.0" ;
158
158
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
159
159
 
160
160
  // src/data/http.ts
@@ -152,7 +152,7 @@ function documentText(document) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.28.1" ;
155
+ var CMSSY_CORE_VERSION = "19.29.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/data/http.ts
package/dist/internal.cjs CHANGED
@@ -154,7 +154,7 @@ function documentText(document2) {
154
154
  }
155
155
 
156
156
  // src/version.ts
157
- var CMSSY_CORE_VERSION = "19.28.1" ;
157
+ var CMSSY_CORE_VERSION = "19.29.0" ;
158
158
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
159
159
 
160
160
  // src/data/http.ts
@@ -947,6 +947,8 @@ async function resolveRelationContent(config, entries, schemas, locale, requestO
947
947
  if (ref.field.relationMode === "all") {
948
948
  collections.set(collectionKey(ref), {
949
949
  model: ref.model,
950
+ // fields.relation types the grammar; a schema read off the wire is
951
+ // passed through as is, and the API rejects what it does not accept.
950
952
  sort: ref.field.sort,
951
953
  limit: ref.field.limit
952
954
  });
@@ -1,76 +1,13 @@
1
1
  import { C as CmssyClientConfig } from './content-client-EAeHiBv2.cjs';
2
2
  export { f as fetchLayouts, a as fetchPage, b as fetchPageById, c as fetchPageMeta, d as fetchPages, r as resolveApiUrl } from './content-client-EAeHiBv2.cjs';
3
- import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
3
+ import { G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
4
4
  export { b as CMSSY_LOCALE_HEADER, l as localeForPath, c as localeForPathname, d as localizeHref, r as resolveSiteLocales, s as splitCmssyLocale, e as splitLocaleFromPath } from './locale-CUk6dYTo.cjs';
5
- import { CmssyFormDefinition, CmssyModelDefinition, CmssyRecordList, CmssySiteConfig, CmssyFormSubmitResponse, SubmitFormInput, BuildBlockContextExtra, CmssyBlockContext, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
5
+ import { CmssyFormDefinition, BuildBlockContextExtra, CmssyBlockContext, CmssySiteConfig, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
6
6
  export { CmssySiteLocales } from '@cmssy/types';
7
- import { Q as QueryScopedOptions } from './csp-CYbG4uan.cjs';
8
- export { c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-CYbG4uan.cjs';
7
+ import { Q as QueryScopedOptions } from './csp-CDQ84XTt.cjs';
8
+ export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-CDQ84XTt.cjs';
9
9
  export { localizedPath } from './internal/locale.cjs';
10
10
 
11
- interface SiteConfigVariables {
12
- workspaceSlug: string;
13
- }
14
- interface SiteConfigResult {
15
- public: {
16
- siteConfig: CmssySiteConfig | null;
17
- };
18
- }
19
- declare const SITE_CONFIG_QUERY: CmssyOperation<SiteConfigResult, SiteConfigVariables>;
20
- interface ModelDefinitionsVariables {
21
- workspaceId: string;
22
- }
23
- interface ModelDefinitionsResult {
24
- public: {
25
- model: {
26
- definitions: CmssyModelDefinition[];
27
- };
28
- };
29
- }
30
- declare const MODEL_DEFINITIONS_QUERY: CmssyOperation<ModelDefinitionsResult, ModelDefinitionsVariables>;
31
- interface ModelRecordsVariables {
32
- workspaceId: string;
33
- modelSlug: string;
34
- filter?: Record<string, unknown> | null;
35
- sort?: string | null;
36
- locale?: string | null;
37
- limit?: number | null;
38
- offset?: number | null;
39
- populate?: string[] | null;
40
- previewSecret?: string | null;
41
- }
42
- interface ModelRecordsResult {
43
- public: {
44
- model: {
45
- records: CmssyRecordList;
46
- };
47
- };
48
- }
49
- declare const MODEL_RECORDS_QUERY: CmssyOperation<ModelRecordsResult, ModelRecordsVariables>;
50
- interface FormVariables {
51
- formId: string;
52
- }
53
- interface FormResult {
54
- public: {
55
- form: {
56
- get: CmssyFormDefinition | null;
57
- };
58
- };
59
- }
60
- declare const FORM_QUERY: CmssyOperation<FormResult, FormVariables>;
61
- interface SubmitFormVariables {
62
- formId: string;
63
- input: SubmitFormInput;
64
- }
65
- interface SubmitFormResult {
66
- public: {
67
- form: {
68
- submit: CmssyFormSubmitResponse;
69
- };
70
- };
71
- }
72
- declare const SUBMIT_FORM_MUTATION: CmssyOperation<SubmitFormResult, SubmitFormVariables>;
73
-
74
11
  declare function buildBlockContext(locale: string, defaultLocale: string, enabledLocales?: string[], isPreview?: boolean, forms?: Record<string, CmssyFormDefinition>, extra?: BuildBlockContextExtra): CmssyBlockContext;
75
12
 
76
13
  declare function getBlockContentForLanguage(content: unknown, locale: string, defaultLocale?: string, availableLocales?: string[]): Record<string, unknown>;
@@ -117,4 +54,4 @@ interface CmssyDeliveryOperation {
117
54
  }
118
55
  declare const CMSSY_DELIVERY_OPERATIONS: readonly CmssyDeliveryOperation[];
119
56
 
120
- export { type BlockSchemaMap, CMSSY_DELIVERY_OPERATIONS, type CmssyLayoutStore, FORM_QUERY, MODEL_DEFINITIONS_QUERY, MODEL_RECORDS_QUERY, type RelationContentEntry, SITE_CONFIG_QUERY, SUBMIT_FORM_MUTATION, asBucket, buildBlockContext, clearWorkspaceIdCache, cmssySecretsMatch, collectFormIds, createCmssyLayoutStore, fetchSiteConfig, getBlockContentForLanguage, layoutStoreKey, normalizeBlockContent, readThroughLayoutStore, resolveForms, resolveRelationContent, resolveWorkspaceId };
57
+ export { type BlockSchemaMap, CMSSY_DELIVERY_OPERATIONS, type CmssyLayoutStore, type RelationContentEntry, asBucket, buildBlockContext, clearWorkspaceIdCache, cmssySecretsMatch, collectFormIds, createCmssyLayoutStore, fetchSiteConfig, getBlockContentForLanguage, layoutStoreKey, normalizeBlockContent, readThroughLayoutStore, resolveForms, resolveRelationContent, resolveWorkspaceId };
@@ -1,76 +1,13 @@
1
1
  import { C as CmssyClientConfig } from './content-client-EAeHiBv2.js';
2
2
  export { f as fetchLayouts, a as fetchPage, b as fetchPageById, c as fetchPageMeta, d as fetchPages, r as resolveApiUrl } from './content-client-EAeHiBv2.js';
3
- import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
3
+ import { G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
4
4
  export { b as CMSSY_LOCALE_HEADER, l as localeForPath, c as localeForPathname, d as localizeHref, r as resolveSiteLocales, s as splitCmssyLocale, e as splitLocaleFromPath } from './locale-Ds2uJX5V.js';
5
- import { CmssyFormDefinition, CmssyModelDefinition, CmssyRecordList, CmssySiteConfig, CmssyFormSubmitResponse, SubmitFormInput, BuildBlockContextExtra, CmssyBlockContext, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
5
+ import { CmssyFormDefinition, BuildBlockContextExtra, CmssyBlockContext, CmssySiteConfig, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
6
6
  export { CmssySiteLocales } from '@cmssy/types';
7
- import { Q as QueryScopedOptions } from './csp-DE59VC7Q.js';
8
- export { c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-DE59VC7Q.js';
7
+ import { Q as QueryScopedOptions } from './csp-DoY_JZ4u.js';
8
+ export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-DoY_JZ4u.js';
9
9
  export { localizedPath } from './internal/locale.js';
10
10
 
11
- interface SiteConfigVariables {
12
- workspaceSlug: string;
13
- }
14
- interface SiteConfigResult {
15
- public: {
16
- siteConfig: CmssySiteConfig | null;
17
- };
18
- }
19
- declare const SITE_CONFIG_QUERY: CmssyOperation<SiteConfigResult, SiteConfigVariables>;
20
- interface ModelDefinitionsVariables {
21
- workspaceId: string;
22
- }
23
- interface ModelDefinitionsResult {
24
- public: {
25
- model: {
26
- definitions: CmssyModelDefinition[];
27
- };
28
- };
29
- }
30
- declare const MODEL_DEFINITIONS_QUERY: CmssyOperation<ModelDefinitionsResult, ModelDefinitionsVariables>;
31
- interface ModelRecordsVariables {
32
- workspaceId: string;
33
- modelSlug: string;
34
- filter?: Record<string, unknown> | null;
35
- sort?: string | null;
36
- locale?: string | null;
37
- limit?: number | null;
38
- offset?: number | null;
39
- populate?: string[] | null;
40
- previewSecret?: string | null;
41
- }
42
- interface ModelRecordsResult {
43
- public: {
44
- model: {
45
- records: CmssyRecordList;
46
- };
47
- };
48
- }
49
- declare const MODEL_RECORDS_QUERY: CmssyOperation<ModelRecordsResult, ModelRecordsVariables>;
50
- interface FormVariables {
51
- formId: string;
52
- }
53
- interface FormResult {
54
- public: {
55
- form: {
56
- get: CmssyFormDefinition | null;
57
- };
58
- };
59
- }
60
- declare const FORM_QUERY: CmssyOperation<FormResult, FormVariables>;
61
- interface SubmitFormVariables {
62
- formId: string;
63
- input: SubmitFormInput;
64
- }
65
- interface SubmitFormResult {
66
- public: {
67
- form: {
68
- submit: CmssyFormSubmitResponse;
69
- };
70
- };
71
- }
72
- declare const SUBMIT_FORM_MUTATION: CmssyOperation<SubmitFormResult, SubmitFormVariables>;
73
-
74
11
  declare function buildBlockContext(locale: string, defaultLocale: string, enabledLocales?: string[], isPreview?: boolean, forms?: Record<string, CmssyFormDefinition>, extra?: BuildBlockContextExtra): CmssyBlockContext;
75
12
 
76
13
  declare function getBlockContentForLanguage(content: unknown, locale: string, defaultLocale?: string, availableLocales?: string[]): Record<string, unknown>;
@@ -117,4 +54,4 @@ interface CmssyDeliveryOperation {
117
54
  }
118
55
  declare const CMSSY_DELIVERY_OPERATIONS: readonly CmssyDeliveryOperation[];
119
56
 
120
- export { type BlockSchemaMap, CMSSY_DELIVERY_OPERATIONS, type CmssyLayoutStore, FORM_QUERY, MODEL_DEFINITIONS_QUERY, MODEL_RECORDS_QUERY, type RelationContentEntry, SITE_CONFIG_QUERY, SUBMIT_FORM_MUTATION, asBucket, buildBlockContext, clearWorkspaceIdCache, cmssySecretsMatch, collectFormIds, createCmssyLayoutStore, fetchSiteConfig, getBlockContentForLanguage, layoutStoreKey, normalizeBlockContent, readThroughLayoutStore, resolveForms, resolveRelationContent, resolveWorkspaceId };
57
+ export { type BlockSchemaMap, CMSSY_DELIVERY_OPERATIONS, type CmssyLayoutStore, type RelationContentEntry, asBucket, buildBlockContext, clearWorkspaceIdCache, cmssySecretsMatch, collectFormIds, createCmssyLayoutStore, fetchSiteConfig, getBlockContentForLanguage, layoutStoreKey, normalizeBlockContent, readThroughLayoutStore, resolveForms, resolveRelationContent, resolveWorkspaceId };
package/dist/internal.js CHANGED
@@ -152,7 +152,7 @@ function documentText(document2) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.28.1" ;
155
+ var CMSSY_CORE_VERSION = "19.29.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/data/http.ts
@@ -945,6 +945,8 @@ async function resolveRelationContent(config, entries, schemas, locale, requestO
945
945
  if (ref.field.relationMode === "all") {
946
946
  collections.set(collectionKey(ref), {
947
947
  model: ref.model,
948
+ // fields.relation types the grammar; a schema read off the wire is
949
+ // passed through as is, and the API rejects what it does not accept.
948
950
  sort: ref.field.sort,
949
951
  limit: ref.field.limit
950
952
  });
@@ -152,7 +152,7 @@ function documentText(document) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.28.1" ;
155
+ var CMSSY_CORE_VERSION = "19.29.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/content/content-client.ts
package/dist/preflight.js CHANGED
@@ -150,7 +150,7 @@ function documentText(document) {
150
150
  }
151
151
 
152
152
  // src/version.ts
153
- var CMSSY_CORE_VERSION = "19.28.1" ;
153
+ var CMSSY_CORE_VERSION = "19.29.0" ;
154
154
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
155
155
 
156
156
  // src/content/content-client.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/core",
3
- "version": "19.28.1",
3
+ "version": "19.29.0",
4
4
  "description": "Framework-agnostic cmssy gateway: GraphQL client, block/field system, editor protocol. No React, no Next.",
5
5
  "keywords": [
6
6
  "cmssy",