@blinkk/root-cms 2.5.14-alpha.0 → 2.5.15

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/dist/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getServerVersion
3
- } from "./chunk-XNGSOET2.js";
3
+ } from "./chunk-NMUXWSFO.js";
4
4
  import {
5
5
  getCollectionSchema,
6
6
  getProjectSchemas
@@ -10,7 +10,7 @@ import "./chunk-MLKGABMK.js";
10
10
  // core/app.tsx
11
11
  import crypto from "crypto";
12
12
  import path from "path";
13
- import { renderJsxToString } from "@blinkk/root/jsx";
13
+ import { render as renderToString } from "preact-render-to-string";
14
14
  import { jsx, jsxs } from "preact/jsx-runtime";
15
15
  var DEFAULT_FAVICON_URL = "https://lh3.googleusercontent.com/ijK50TfQlV_yJw3i-CMlnD6osH4PboZBILZrJcWhoNMEmoyCD5e1bAxXbaOPe5w4gG_Scf37EXrmZ6p8sP2lue5fLZ419m5JyLMs=e385-w256";
16
16
  function App(props) {
@@ -139,7 +139,7 @@ async function renderApp(req, res, options) {
139
139
  };
140
140
  const projectName = cmsConfig.name || cmsConfig.id || "";
141
141
  const title = getCmsTitle(projectName, cmsConfig.minimalBranding);
142
- const mainHtml = renderJsxToString(
142
+ const mainHtml = renderToString(
143
143
  /* @__PURE__ */ jsx(App, { title, ctx, favicon: cmsConfig.favicon })
144
144
  );
145
145
  const nonce = generateNonce();
@@ -234,7 +234,7 @@ async function renderSignIn(req, res, options) {
234
234
  ctx.warning = "Dev warning: Server may be misconfigured. See logs for more information.";
235
235
  }
236
236
  }
237
- const mainHtml = renderJsxToString(
237
+ const mainHtml = renderToString(
238
238
  /* @__PURE__ */ jsx(SignIn, { title: "Sign in", ctx, favicon: options.cmsConfig.favicon })
239
239
  );
240
240
  const nonce = generateNonce();
@@ -1501,10 +1501,41 @@ ${errorMessages}`);
1501
1501
  const docRef = this.db.doc(dbPath);
1502
1502
  const doc = await docRef.get();
1503
1503
  if (doc.exists) {
1504
- return doc.data();
1504
+ const dataSource = doc.data();
1505
+ if (dataSource.archivedAt) {
1506
+ console.warn(
1507
+ `warning: data source "${dataSourceId}" is archived` + (dataSource.archivedBy ? ` (archived by ${dataSource.archivedBy})` : "")
1508
+ );
1509
+ }
1510
+ return dataSource;
1505
1511
  }
1506
1512
  return null;
1507
1513
  }
1514
+ /**
1515
+ * Archives a data source. Archived data sources cannot be synced or published.
1516
+ */
1517
+ async archiveDataSource(dataSourceId, options) {
1518
+ const dbPath = `Projects/${this.projectId}/DataSources/${dataSourceId}`;
1519
+ const docRef = this.db.doc(dbPath);
1520
+ const archivedBy = options?.archivedBy || "root-cms-client";
1521
+ await docRef.update({
1522
+ archivedAt: Timestamp2.now(),
1523
+ archivedBy
1524
+ });
1525
+ console.log(`archived data source: ${dataSourceId}`);
1526
+ }
1527
+ /**
1528
+ * Unarchives a data source.
1529
+ */
1530
+ async unarchiveDataSource(dataSourceId) {
1531
+ const dbPath = `Projects/${this.projectId}/DataSources/${dataSourceId}`;
1532
+ const docRef = this.db.doc(dbPath);
1533
+ await docRef.update({
1534
+ archivedAt: FieldValue2.delete(),
1535
+ archivedBy: FieldValue2.delete()
1536
+ });
1537
+ console.log(`unarchived data source: ${dataSourceId}`);
1538
+ }
1508
1539
  /**
1509
1540
  * Syncs a data source to draft state.
1510
1541
  */
@@ -1513,6 +1544,9 @@ ${errorMessages}`);
1513
1544
  if (!dataSource) {
1514
1545
  throw new Error(`data source not found: ${dataSourceId}`);
1515
1546
  }
1547
+ if (dataSource.archivedAt) {
1548
+ throw new Error(`data source is archived: ${dataSourceId}`);
1549
+ }
1516
1550
  const result = await this.fetchData(dataSource);
1517
1551
  const dataSourceDocRef = this.db.doc(
1518
1552
  `Projects/${this.projectId}/DataSources/${dataSourceId}`
@@ -1545,6 +1579,9 @@ ${errorMessages}`);
1545
1579
  if (!dataSource) {
1546
1580
  throw new Error(`data source not found: ${dataSourceId}`);
1547
1581
  }
1582
+ if (dataSource.archivedAt) {
1583
+ throw new Error(`data source is archived: ${dataSourceId}`);
1584
+ }
1548
1585
  const dataSourceDocRef = this.db.doc(
1549
1586
  `Projects/${this.projectId}/DataSources/${dataSourceId}`
1550
1587
  );
@@ -1586,6 +1623,9 @@ ${errorMessages}`);
1586
1623
  if (!dataSource) {
1587
1624
  throw new Error(`data source not found: ${id}`);
1588
1625
  }
1626
+ if (dataSource.archivedAt) {
1627
+ throw new Error(`data source is archived: ${id}`);
1628
+ }
1589
1629
  const dataSourceDocRef = this.db.doc(
1590
1630
  `Projects/${this.projectId}/DataSources/${id}`
1591
1631
  );
@@ -1751,7 +1791,14 @@ ${errorMessages}`);
1751
1791
  const docRef = this.dbDataSourceDataRef(dataSourceId, { mode });
1752
1792
  const doc = await docRef.get();
1753
1793
  if (doc.exists) {
1754
- return doc.data();
1794
+ const dataSourceData = doc.data();
1795
+ if (dataSourceData.dataSource?.archivedAt) {
1796
+ const archivedBy = dataSourceData.dataSource.archivedBy;
1797
+ console.warn(
1798
+ `warning: data source "${dataSourceId}" is archived` + (archivedBy ? ` (archived by ${archivedBy})` : "")
1799
+ );
1800
+ }
1801
+ return dataSourceData;
1755
1802
  }
1756
1803
  return null;
1757
1804
  }
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  RootCMSClient,
3
3
  getCmsPlugin
4
- } from "./chunk-YMUZ5H5C.js";
4
+ } from "./chunk-47KOES6P.js";
5
5
 
6
6
  // core/versions.ts
7
+ import fs from "fs";
7
8
  import path from "path";
8
9
  import { Timestamp } from "firebase-admin/firestore";
9
10
  import glob from "tiny-glob";
@@ -27,7 +28,14 @@ var VersionsService = class {
27
28
  const now = Timestamp.now().toMillis();
28
29
  const versions = changedDocs.filter((doc) => {
29
30
  const modifiedAt = doc.sys.modifiedAt.toMillis();
30
- return modifiedAt <= now - DOCUMENT_SAVE_OFFSET;
31
+ if (modifiedAt > now - DOCUMENT_SAVE_OFFSET) {
32
+ return false;
33
+ }
34
+ const publishedAt = doc.sys.publishedAt?.toMillis?.();
35
+ if (publishedAt && Math.abs(publishedAt - modifiedAt) < 5e3) {
36
+ return false;
37
+ }
38
+ return true;
31
39
  });
32
40
  if (versions.length > 0) {
33
41
  this.saveVersionsToFirestore(versions);
@@ -94,9 +102,13 @@ var VersionsService = class {
94
102
  * Returns a list of collection ids for the Root project.
95
103
  */
96
104
  async listCollections() {
105
+ const collectionsDir = path.join(this.rootConfig.rootDir, "collections");
106
+ if (!fs.existsSync(collectionsDir)) {
107
+ return [];
108
+ }
97
109
  const collectionIds = [];
98
110
  const collectionFileNames = await glob("*.schema.ts", {
99
- cwd: path.join(this.rootConfig.rootDir, "collections")
111
+ cwd: collectionsDir
100
112
  });
101
113
  collectionFileNames.forEach((filename) => {
102
114
  collectionIds.push(filename.slice(0, -10));
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@blinkk/root-cms",
4
- version: "2.5.13",
4
+ version: "2.5.15",
5
5
  author: "s@blinkk.com",
6
6
  license: "MIT",
7
7
  engines: {
@@ -12,6 +12,9 @@ var package_default = {
12
12
  url: "git+https://github.com/blinkk/rootjs.git",
13
13
  directory: "packages/root-cms"
14
14
  },
15
+ publishConfig: {
16
+ provenance: true
17
+ },
15
18
  files: [
16
19
  "dist/**/*"
17
20
  ],
@@ -154,7 +157,7 @@ var package_default = {
154
157
  playwright: "1.56.1",
155
158
  preact: "10.27.1",
156
159
  "preact-iso": "2.11.1",
157
- "preact-render-to-string": "6.6.7",
160
+ "preact-render-to-string": "6.6.1",
158
161
  react: "npm:@preact/compat@18.3.1",
159
162
  "react-dom": "npm:@preact/compat@18.3.1",
160
163
  "react-easy-crop": "5.5.6",
@@ -166,10 +169,11 @@ var package_default = {
166
169
  yjs: "13.6.27"
167
170
  },
168
171
  peerDependencies: {
169
- "@blinkk/root": "2.5.13",
172
+ "@blinkk/root": "2.5.15",
170
173
  "firebase-admin": ">=11",
171
174
  "firebase-functions": ">=4",
172
- preact: ">=10"
175
+ preact: ">=10",
176
+ "preact-render-to-string": ">=5"
173
177
  },
174
178
  peerDependenciesMeta: {
175
179
  "firebase-functions": {
package/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  RootCMSClient,
6
6
  getCmsPlugin,
7
7
  unmarshalData
8
- } from "./chunk-YMUZ5H5C.js";
8
+ } from "./chunk-47KOES6P.js";
9
9
  import "./chunk-MLKGABMK.js";
10
10
 
11
11
  // cli/cli.ts
@@ -95,6 +95,34 @@ interface TranslationExportResult {
95
95
  /** Optional label for the link. Defaults to "Open". */
96
96
  label?: string;
97
97
  };
98
+ /**
99
+ * Notification status controlling the color of the notification.
100
+ * - `'success'`: green
101
+ * - `'error'`: red
102
+ * - `'info'` (default): neutral
103
+ */
104
+ status?: 'success' | 'info' | 'error';
105
+ }
106
+ /** Result returned by an onImport handler when no rows are imported. */
107
+ interface TranslationImportResult {
108
+ /** Optional title displayed in the notification after import. */
109
+ title?: string;
110
+ /** Optional message displayed in the notification after import. */
111
+ message?: string;
112
+ /** Optional link displayed in the notification (e.g. to the translation service). */
113
+ link?: {
114
+ /** The URL to link to. */
115
+ url: string;
116
+ /** Optional label for the link. Defaults to "Open". */
117
+ label?: string;
118
+ };
119
+ /**
120
+ * Notification status controlling the color of the notification.
121
+ * - `'success'`: green
122
+ * - `'error'`: red
123
+ * - `'info'` (default): neutral
124
+ */
125
+ status?: 'success' | 'info' | 'error';
98
126
  }
99
127
  /** Configuration for defining a CMS translation service. */
100
128
  interface CMSTranslationService {
@@ -110,9 +138,10 @@ interface CMSTranslationService {
110
138
  /**
111
139
  * Async function to import translations from the service. Should return an
112
140
  * array of translation rows that will be merged into the CMS translations
113
- * database.
141
+ * database, or a `TranslationImportResult` object to display a notification
142
+ * without importing any rows.
114
143
  */
115
- onImport?: (ctx: TranslationServiceContext, data: TranslationRow[]) => Promise<TranslationRow[]>;
144
+ onImport?: (ctx: TranslationServiceContext, data: TranslationRow[]) => Promise<TranslationRow[] | TranslationImportResult>;
116
145
  /**
117
146
  * Async function to export translations to the service. Receives the
118
147
  * current translation rows for the document. Can optionally return an object
@@ -595,6 +624,8 @@ interface DataSource {
595
624
  syncedBy?: string;
596
625
  publishedAt?: Timestamp;
597
626
  publishedBy?: string;
627
+ archivedAt?: Timestamp;
628
+ archivedBy?: string;
598
629
  }
599
630
  interface DataSourceData<T = any> {
600
631
  dataSource: DataSource;
@@ -976,6 +1007,16 @@ declare class RootCMSClient {
976
1007
  * Returns a data source configuration object.
977
1008
  */
978
1009
  getDataSource(dataSourceId: string): Promise<DataSource | null>;
1010
+ /**
1011
+ * Archives a data source. Archived data sources cannot be synced or published.
1012
+ */
1013
+ archiveDataSource(dataSourceId: string, options?: {
1014
+ archivedBy?: string;
1015
+ }): Promise<void>;
1016
+ /**
1017
+ * Unarchives a data source.
1018
+ */
1019
+ unarchiveDataSource(dataSourceId: string): Promise<void>;
979
1020
  /**
980
1021
  * Syncs a data source to draft state.
981
1022
  */
@@ -1227,4 +1268,4 @@ declare class BatchResponse {
1227
1268
  private getTranslationsMap;
1228
1269
  }
1229
1270
 
1230
- export { type CMSAIConfig as $, type Action as A, type BatchRequestOptions as B, type CronUnit as C, type DocMode as D, type TranslationsDoc as E, BatchRequest as F, type GetDocOptions as G, type HttpMethod as H, BatchResponse as I, type Locale as J, type SourceString as K, type LoadTranslationsOptions as L, type TranslatedString as M, type TranslationsDocMode as N, type TranslationsLocaleDocHashMap as O, type TranslationsLocaleDocEntry as P, type MultiLocaleTranslationsMap as Q, RootCMSClient as R, type SetDocOptions as S, type TranslationsMap as T, type UserRole as U, type SingleLocaleTranslationsMap as V, TranslationsManager as W, buildTranslationsDbPath as X, buildTranslationsLocaleDocDbPath as Y, type CMSBuiltInSidebarTool as Z, type CMSUser as _, type LocaleTranslations as a, type CMSSidebarTool as a0, type CMSPluginOptions as a1, type CMSPlugin as a2, cmsPlugin as a3, type CMSCheck as a4, type CheckResult as a5, type CheckContext as a6, type CheckStatus as a7, translationsCheck as a8, type TranslationsCheckOptions as a9, type CMSTranslationService as aa, type TranslationExportResult as ab, type TranslationRow as ac, type TranslationServiceContext as ad, type Doc as b, type DataSourceCron as c, type DataSource as d, type DataSourceData as e, type DataSourceMode as f, type SaveDraftOptions as g, type UpdateDraftOptions as h, type ListDocsOptions as i, type GetCountOptions as j, type Translation as k, type Release as l, type ListActionsOptions as m, isRichTextData as n, getCmsPlugin as o, marshalData as p, normalizeData as q, type ArrayObject as r, marshalArray as s, toArrayObject as t, unmarshalData as u, unmarshalArray as v, translationsForLocale as w, parseDocId as x, type BatchRequestQuery as y, type BatchRequestQueryOptions as z };
1271
+ export { type CMSAIConfig as $, type Action as A, type BatchRequestOptions as B, type CronUnit as C, type DocMode as D, type TranslationsDoc as E, BatchRequest as F, type GetDocOptions as G, type HttpMethod as H, BatchResponse as I, type Locale as J, type SourceString as K, type LoadTranslationsOptions as L, type TranslatedString as M, type TranslationsDocMode as N, type TranslationsLocaleDocHashMap as O, type TranslationsLocaleDocEntry as P, type MultiLocaleTranslationsMap as Q, RootCMSClient as R, type SetDocOptions as S, type TranslationsMap as T, type UserRole as U, type SingleLocaleTranslationsMap as V, TranslationsManager as W, buildTranslationsDbPath as X, buildTranslationsLocaleDocDbPath as Y, type CMSBuiltInSidebarTool as Z, type CMSUser as _, type LocaleTranslations as a, type CMSSidebarTool as a0, type CMSPluginOptions as a1, type CMSPlugin as a2, cmsPlugin as a3, type CMSCheck as a4, type CheckResult as a5, type CheckContext as a6, type CheckStatus as a7, translationsCheck as a8, type TranslationsCheckOptions as a9, type CMSTranslationService as aa, type TranslationExportResult as ab, type TranslationImportResult as ac, type TranslationRow as ad, type TranslationServiceContext as ae, type Doc as b, type DataSourceCron as c, type DataSource as d, type DataSourceData as e, type DataSourceMode as f, type SaveDraftOptions as g, type UpdateDraftOptions as h, type ListDocsOptions as i, type GetCountOptions as j, type Translation as k, type Release as l, type ListActionsOptions as m, isRichTextData as n, getCmsPlugin as o, marshalData as p, normalizeData as q, type ArrayObject as r, marshalArray as s, toArrayObject as t, unmarshalData as u, unmarshalArray as v, translationsForLocale as w, parseDocId as x, type BatchRequestQuery as y, type BatchRequestQueryOptions as z };
package/dist/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@blinkk/root';
2
2
  import 'firebase-admin/app';
3
3
  import 'firebase-admin/firestore';
4
- export { A as Action, r as ArrayObject, F as BatchRequest, B as BatchRequestOptions, y as BatchRequestQuery, z as BatchRequestQueryOptions, I as BatchResponse, C as CronUnit, d as DataSource, c as DataSourceCron, e as DataSourceData, f as DataSourceMode, b as Doc, D as DocMode, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, L as LoadTranslationsOptions, a as LocaleTranslations, l as Release, R as RootCMSClient, g as SaveDraftOptions, S as SetDocOptions, k as Translation, E as TranslationsDoc, T as TranslationsMap, h as UpdateDraftOptions, U as UserRole, o as getCmsPlugin, n as isRichTextData, s as marshalArray, p as marshalData, q as normalizeData, x as parseDocId, t as toArrayObject, w as translationsForLocale, v as unmarshalArray, u as unmarshalData } from './client-B_x5Fbkq.js';
4
+ export { A as Action, r as ArrayObject, F as BatchRequest, B as BatchRequestOptions, y as BatchRequestQuery, z as BatchRequestQueryOptions, I as BatchResponse, C as CronUnit, d as DataSource, c as DataSourceCron, e as DataSourceData, f as DataSourceMode, b as Doc, D as DocMode, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, L as LoadTranslationsOptions, a as LocaleTranslations, l as Release, R as RootCMSClient, g as SaveDraftOptions, S as SetDocOptions, k as Translation, E as TranslationsDoc, T as TranslationsMap, h as UpdateDraftOptions, U as UserRole, o as getCmsPlugin, n as isRichTextData, s as marshalArray, p as marshalData, q as normalizeData, x as parseDocId, t as toArrayObject, w as translationsForLocale, v as unmarshalArray, u as unmarshalData } from './client-DUc18VW8.js';
5
5
  import './schema-D7MOj-YC.js';
package/dist/client.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  translationsForLocale,
13
13
  unmarshalArray,
14
14
  unmarshalData
15
- } from "./chunk-YMUZ5H5C.js";
15
+ } from "./chunk-47KOES6P.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
  export {
18
18
  BatchRequest,
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RootCMSClient, D as DocMode, L as LoadTranslationsOptions, T as TranslationsMap, a as LocaleTranslations } from './client-B_x5Fbkq.js';
2
- export { A as Action, r as ArrayObject, F as BatchRequest, B as BatchRequestOptions, y as BatchRequestQuery, z as BatchRequestQueryOptions, I as BatchResponse, C as CronUnit, d as DataSource, c as DataSourceCron, e as DataSourceData, f as DataSourceMode, b as Doc, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, J as Locale, Q as MultiLocaleTranslationsMap, l as Release, g as SaveDraftOptions, S as SetDocOptions, V as SingleLocaleTranslationsMap, K as SourceString, M as TranslatedString, k as Translation, E as TranslationsDoc, N as TranslationsDocMode, P as TranslationsLocaleDocEntry, O as TranslationsLocaleDocHashMap, W as TranslationsManager, h as UpdateDraftOptions, U as UserRole, X as buildTranslationsDbPath, Y as buildTranslationsLocaleDocDbPath, o as getCmsPlugin, n as isRichTextData, s as marshalArray, p as marshalData, q as normalizeData, x as parseDocId, t as toArrayObject, w as translationsForLocale, v as unmarshalArray, u as unmarshalData } from './client-B_x5Fbkq.js';
1
+ import { R as RootCMSClient, D as DocMode, L as LoadTranslationsOptions, T as TranslationsMap, a as LocaleTranslations } from './client-DUc18VW8.js';
2
+ export { A as Action, r as ArrayObject, F as BatchRequest, B as BatchRequestOptions, y as BatchRequestQuery, z as BatchRequestQueryOptions, I as BatchResponse, C as CronUnit, d as DataSource, c as DataSourceCron, e as DataSourceData, f as DataSourceMode, b as Doc, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, J as Locale, Q as MultiLocaleTranslationsMap, l as Release, g as SaveDraftOptions, S as SetDocOptions, V as SingleLocaleTranslationsMap, K as SourceString, M as TranslatedString, k as Translation, E as TranslationsDoc, N as TranslationsDocMode, P as TranslationsLocaleDocEntry, O as TranslationsLocaleDocHashMap, W as TranslationsManager, h as UpdateDraftOptions, U as UserRole, X as buildTranslationsDbPath, Y as buildTranslationsLocaleDocDbPath, o as getCmsPlugin, n as isRichTextData, s as marshalArray, p as marshalData, q as normalizeData, x as parseDocId, t as toArrayObject, w as translationsForLocale, v as unmarshalArray, u as unmarshalData } from './client-DUc18VW8.js';
3
3
  import { Request, RootConfig, Response, RouteParams, GetStaticProps, GetStaticPaths } from '@blinkk/root';
4
4
  import { Query } from 'firebase-admin/firestore';
5
5
  export { s as schema } from './schema-D7MOj-YC.js';
package/dist/core.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  translationsForLocale,
17
17
  unmarshalArray,
18
18
  unmarshalData
19
- } from "./chunk-YMUZ5H5C.js";
19
+ } from "./chunk-47KOES6P.js";
20
20
  import {
21
21
  __export
22
22
  } from "./chunk-MLKGABMK.js";
package/dist/functions.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runCronJobs
3
- } from "./chunk-PKD2TDSV.js";
4
- import "./chunk-YMUZ5H5C.js";
3
+ } from "./chunk-5Y3VCZEZ.js";
4
+ import "./chunk-47KOES6P.js";
5
5
  import "./chunk-MLKGABMK.js";
6
6
 
7
7
  // core/functions.ts
package/dist/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@blinkk/root';
2
2
  import 'firebase-admin/app';
3
3
  import 'firebase-admin/firestore';
4
- export { $ as CMSAIConfig, Z as CMSBuiltInSidebarTool, a4 as CMSCheck, a2 as CMSPlugin, a1 as CMSPluginOptions, a0 as CMSSidebarTool, aa as CMSTranslationService, _ as CMSUser, a6 as CheckContext, a5 as CheckResult, a7 as CheckStatus, ab as TranslationExportResult, ac as TranslationRow, ad as TranslationServiceContext, a9 as TranslationsCheckOptions, a3 as cmsPlugin, a8 as translationsCheck } from './client-B_x5Fbkq.js';
4
+ export { $ as CMSAIConfig, Z as CMSBuiltInSidebarTool, a4 as CMSCheck, a2 as CMSPlugin, a1 as CMSPluginOptions, a0 as CMSSidebarTool, aa as CMSTranslationService, _ as CMSUser, a6 as CheckContext, a5 as CheckResult, a7 as CheckStatus, ab as TranslationExportResult, ac as TranslationImportResult, ad as TranslationRow, ae as TranslationServiceContext, a9 as TranslationsCheckOptions, a3 as cmsPlugin, a8 as translationsCheck } from './client-DUc18VW8.js';
5
5
  import './schema-D7MOj-YC.js';
package/dist/plugin.js CHANGED
@@ -4,15 +4,15 @@ import {
4
4
  } from "./chunk-T5UK2H24.js";
5
5
  import {
6
6
  getServerVersion
7
- } from "./chunk-XNGSOET2.js";
7
+ } from "./chunk-NMUXWSFO.js";
8
8
  import {
9
9
  runCronJobs
10
- } from "./chunk-PKD2TDSV.js";
10
+ } from "./chunk-5Y3VCZEZ.js";
11
11
  import {
12
12
  RootCMSClient,
13
13
  parseDocId,
14
14
  unmarshalData
15
- } from "./chunk-YMUZ5H5C.js";
15
+ } from "./chunk-47KOES6P.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
 
18
18
  // core/plugin.ts