@sonicjs-cms/core 3.0.0-beta.7 → 3.0.0-beta.8
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/{filter-bar.template-DlVYMk-T.d.cts → admin-layout-catalyst.template-DrwDUfsE.d.cts} +25 -1
- package/dist/{filter-bar.template-DlVYMk-T.d.ts → admin-layout-catalyst.template-DrwDUfsE.d.ts} +25 -1
- package/dist/{chunk-LH7RKNUW.js → chunk-3AI73SGI.js} +10 -10
- package/dist/{chunk-LH7RKNUW.js.map → chunk-3AI73SGI.js.map} +1 -1
- package/dist/{chunk-BDDABDAB.cjs → chunk-4BTBSXMR.cjs} +2 -239
- package/dist/chunk-4BTBSXMR.cjs.map +1 -0
- package/dist/{chunk-POGSN5WI.js → chunk-4R2C35OT.js} +3 -3
- package/dist/{chunk-POGSN5WI.js.map → chunk-4R2C35OT.js.map} +1 -1
- package/dist/{chunk-WACUJVXY.cjs → chunk-7O443QPZ.cjs} +57 -11
- package/dist/chunk-7O443QPZ.cjs.map +1 -0
- package/dist/{chunk-XCPIXYOP.js → chunk-DF4YK3JX.js} +4 -4
- package/dist/{chunk-XCPIXYOP.js.map → chunk-DF4YK3JX.js.map} +1 -1
- package/dist/{chunk-WJTMTIYR.js → chunk-DNQYNBD5.js} +255 -3
- package/dist/chunk-DNQYNBD5.js.map +1 -0
- package/dist/{chunk-2RJDEVB3.cjs → chunk-GVGURCFM.cjs} +2 -2
- package/dist/{chunk-2RJDEVB3.cjs.map → chunk-GVGURCFM.cjs.map} +1 -1
- package/dist/{chunk-BYCBFBUG.js → chunk-HKF5IYA2.js} +2 -2
- package/dist/{chunk-BYCBFBUG.js.map → chunk-HKF5IYA2.js.map} +1 -1
- package/dist/{chunk-OECDF2RF.cjs → chunk-MJ63JSTU.cjs} +258 -2
- package/dist/chunk-MJ63JSTU.cjs.map +1 -0
- package/dist/{chunk-ISIRU7AK.cjs → chunk-OWNSD75H.cjs} +4 -4
- package/dist/{chunk-ISIRU7AK.cjs.map → chunk-OWNSD75H.cjs.map} +1 -1
- package/dist/{chunk-ZEZ245PW.js → chunk-RQ6N3FTV.js} +3 -236
- package/dist/chunk-RQ6N3FTV.js.map +1 -0
- package/dist/{chunk-GO2NICMM.cjs → chunk-TKIBLXSL.cjs} +237 -237
- package/dist/{chunk-GO2NICMM.cjs.map → chunk-TKIBLXSL.cjs.map} +1 -1
- package/dist/{chunk-GVHST4D7.js → chunk-VQJVZANG.js} +50 -4
- package/dist/chunk-VQJVZANG.js.map +1 -0
- package/dist/{chunk-2JOMHEKO.js → chunk-WNAFRK7Q.js} +3 -3
- package/dist/{chunk-2JOMHEKO.js.map → chunk-WNAFRK7Q.js.map} +1 -1
- package/dist/{chunk-5QVYEAVV.cjs → chunk-XXNQTYXA.cjs} +10 -10
- package/dist/{chunk-5QVYEAVV.cjs.map → chunk-XXNQTYXA.cjs.map} +1 -1
- package/dist/{chunk-7RY3YKI7.cjs → chunk-YAKNRVAB.cjs} +3 -3
- package/dist/{chunk-7RY3YKI7.cjs.map → chunk-YAKNRVAB.cjs.map} +1 -1
- package/dist/index.cjs +264 -260
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +17 -16
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +33 -32
- package/dist/middleware.js +4 -3
- package/dist/migrations-6DQKC3RK.cjs +13 -0
- package/dist/{migrations-TBEFSZIV.cjs.map → migrations-6DQKC3RK.cjs.map} +1 -1
- package/dist/migrations-CCMGRLSD.js +4 -0
- package/dist/{migrations-IEWABLIP.js.map → migrations-CCMGRLSD.js.map} +1 -1
- package/dist/plugins.cjs +40 -40
- package/dist/plugins.js +3 -3
- package/dist/routes.cjs +28 -28
- package/dist/routes.js +8 -8
- package/dist/services.cjs +42 -42
- package/dist/services.d.cts +14 -1
- package/dist/services.d.ts +14 -1
- package/dist/services.js +3 -3
- package/dist/{telemetry-B9vIV4wh.d.cts → telemetry-Cku1ax74.d.cts} +1 -1
- package/dist/{telemetry-B9vIV4wh.d.ts → telemetry-Cku1ax74.d.ts} +1 -1
- package/dist/templates.d.cts +2 -24
- package/dist/templates.d.ts +2 -24
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils.cjs +8 -8
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-BDDABDAB.cjs.map +0 -1
- package/dist/chunk-GVHST4D7.js.map +0 -1
- package/dist/chunk-OECDF2RF.cjs.map +0 -1
- package/dist/chunk-WACUJVXY.cjs.map +0 -1
- package/dist/chunk-WJTMTIYR.js.map +0 -1
- package/dist/chunk-ZEZ245PW.js.map +0 -1
- package/dist/migrations-IEWABLIP.js +0 -4
- package/dist/migrations-TBEFSZIV.cjs +0 -13
package/dist/services.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4BTBSXMR_cjs = require('./chunk-4BTBSXMR.cjs');
|
|
4
4
|
require('./chunk-YA3TJ65D.cjs');
|
|
5
5
|
require('./chunk-YP7GW2G5.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunkMJ63JSTU_cjs = require('./chunk-MJ63JSTU.cjs');
|
|
7
|
+
var chunkGVGURCFM_cjs = require('./chunk-GVGURCFM.cjs');
|
|
8
8
|
require('./chunk-P3XDZL6Q.cjs');
|
|
9
9
|
require('./chunk-MNWKYY5E.cjs');
|
|
10
10
|
require('./chunk-IGJUBJBW.cjs');
|
|
@@ -13,111 +13,111 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "CACHE_CONFIGS", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk4BTBSXMR_cjs.CACHE_CONFIGS; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "CATEGORY_INFO", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk4BTBSXMR_cjs.CATEGORY_INFO; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "CacheService", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk4BTBSXMR_cjs.CacheService; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "Logger", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk4BTBSXMR_cjs.Logger; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "SettingsService", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, "TelemetryService", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function () { return chunkBDDABDAB_cjs.TelemetryService; }
|
|
32
|
+
get: function () { return chunk4BTBSXMR_cjs.SettingsService; }
|
|
37
33
|
});
|
|
38
34
|
Object.defineProperty(exports, "buildRouteList", {
|
|
39
35
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "createInstallationIdentity", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () { return chunkBDDABDAB_cjs.createInstallationIdentity; }
|
|
36
|
+
get: function () { return chunk4BTBSXMR_cjs.buildRouteList; }
|
|
45
37
|
});
|
|
46
38
|
Object.defineProperty(exports, "getAppInstance", {
|
|
47
39
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk4BTBSXMR_cjs.getAppInstance; }
|
|
49
41
|
});
|
|
50
42
|
Object.defineProperty(exports, "getCacheService", {
|
|
51
43
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk4BTBSXMR_cjs.getCacheService; }
|
|
53
45
|
});
|
|
54
46
|
Object.defineProperty(exports, "getLogger", {
|
|
55
47
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
57
|
-
});
|
|
58
|
-
Object.defineProperty(exports, "getTelemetryService", {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
get: function () { return chunkBDDABDAB_cjs.getTelemetryService; }
|
|
48
|
+
get: function () { return chunk4BTBSXMR_cjs.getLogger; }
|
|
61
49
|
});
|
|
62
50
|
Object.defineProperty(exports, "initLogger", {
|
|
63
51
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "initTelemetry", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () { return chunkBDDABDAB_cjs.initTelemetry; }
|
|
52
|
+
get: function () { return chunk4BTBSXMR_cjs.initLogger; }
|
|
69
53
|
});
|
|
70
54
|
Object.defineProperty(exports, "setAppInstance", {
|
|
71
55
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk4BTBSXMR_cjs.setAppInstance; }
|
|
73
57
|
});
|
|
74
58
|
Object.defineProperty(exports, "CollectionRegistry", {
|
|
75
59
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkMJ63JSTU_cjs.CollectionRegistry; }
|
|
77
61
|
});
|
|
78
62
|
Object.defineProperty(exports, "PluginBootstrapService", {
|
|
79
63
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkMJ63JSTU_cjs.PluginBootstrapService; }
|
|
81
65
|
});
|
|
82
66
|
Object.defineProperty(exports, "PluginService", {
|
|
83
67
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkMJ63JSTU_cjs.PluginService; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "TelemetryService", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkMJ63JSTU_cjs.TelemetryService; }
|
|
85
73
|
});
|
|
86
74
|
Object.defineProperty(exports, "collectionRecordToRow", {
|
|
87
75
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkMJ63JSTU_cjs.collectionRecordToRow; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "createInstallationIdentity", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkMJ63JSTU_cjs.createInstallationIdentity; }
|
|
89
81
|
});
|
|
90
82
|
Object.defineProperty(exports, "getAvailableCollectionNames", {
|
|
91
83
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkMJ63JSTU_cjs.getAvailableCollectionNames; }
|
|
93
85
|
});
|
|
94
86
|
Object.defineProperty(exports, "getCollectionRegistry", {
|
|
95
87
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkMJ63JSTU_cjs.getCollectionRegistry; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "getTelemetryService", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkMJ63JSTU_cjs.getTelemetryService; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "initTelemetry", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkMJ63JSTU_cjs.initTelemetry; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "loadCollectionConfig", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkMJ63JSTU_cjs.loadCollectionConfig; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "loadCollectionConfigs", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkMJ63JSTU_cjs.loadCollectionConfigs; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "registerCollections", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkMJ63JSTU_cjs.registerCollections; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "resetCollectionRegistry", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkMJ63JSTU_cjs.resetCollectionRegistry; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "validateCollectionConfig", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkMJ63JSTU_cjs.validateCollectionConfig; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "MigrationService", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkGVGURCFM_cjs.MigrationService; }
|
|
121
121
|
});
|
|
122
122
|
//# sourceMappingURL=services.cjs.map
|
|
123
123
|
//# sourceMappingURL=services.cjs.map
|
package/dist/services.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as getAvailableCollectionNames, i as getLogger, j as initLogger, l as loadCollectionConfig, k as loadCollectionConfigs, r as registerCollections, v as validateCollectionConfig } from './plugin-bootstrap-B8ThJU21.cjs';
|
|
2
2
|
import { C as CollectionConfig } from './collection-config-JgHOpFCG.cjs';
|
|
3
|
-
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-
|
|
3
|
+
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-Cku1ax74.cjs';
|
|
4
4
|
import '@cloudflare/workers-types';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -227,6 +227,19 @@ declare class TelemetryService {
|
|
|
227
227
|
* Track migration run
|
|
228
228
|
*/
|
|
229
229
|
trackMigrationRun(properties?: TelemetryProperties): Promise<void>;
|
|
230
|
+
/**
|
|
231
|
+
* Track project snapshot — fired on bootstrap to capture runtime project shape.
|
|
232
|
+
* Arrays serialized as JSON strings (sanitizeProperties strips objects/arrays).
|
|
233
|
+
*/
|
|
234
|
+
trackProjectSnapshot(data: {
|
|
235
|
+
installation_id: string;
|
|
236
|
+
collection_names: string[];
|
|
237
|
+
collection_counts: Record<string, number>;
|
|
238
|
+
active_plugins: string[];
|
|
239
|
+
field_type_histogram: Record<string, number>;
|
|
240
|
+
doc_total: number;
|
|
241
|
+
sonicjs_version: string;
|
|
242
|
+
}): Promise<void>;
|
|
230
243
|
/**
|
|
231
244
|
* Flush queued events
|
|
232
245
|
*/
|
package/dist/services.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as getAvailableCollectionNames, i as getLogger, j as initLogger, l as loadCollectionConfig, k as loadCollectionConfigs, r as registerCollections, v as validateCollectionConfig } from './plugin-bootstrap-qu8hJgUt.js';
|
|
2
2
|
import { C as CollectionConfig } from './collection-config-JgHOpFCG.js';
|
|
3
|
-
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-
|
|
3
|
+
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-Cku1ax74.js';
|
|
4
4
|
import '@cloudflare/workers-types';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -227,6 +227,19 @@ declare class TelemetryService {
|
|
|
227
227
|
* Track migration run
|
|
228
228
|
*/
|
|
229
229
|
trackMigrationRun(properties?: TelemetryProperties): Promise<void>;
|
|
230
|
+
/**
|
|
231
|
+
* Track project snapshot — fired on bootstrap to capture runtime project shape.
|
|
232
|
+
* Arrays serialized as JSON strings (sanitizeProperties strips objects/arrays).
|
|
233
|
+
*/
|
|
234
|
+
trackProjectSnapshot(data: {
|
|
235
|
+
installation_id: string;
|
|
236
|
+
collection_names: string[];
|
|
237
|
+
collection_counts: Record<string, number>;
|
|
238
|
+
active_plugins: string[];
|
|
239
|
+
field_type_histogram: Record<string, number>;
|
|
240
|
+
doc_total: number;
|
|
241
|
+
sonicjs_version: string;
|
|
242
|
+
}): Promise<void>;
|
|
230
243
|
/**
|
|
231
244
|
* Flush queued events
|
|
232
245
|
*/
|
package/dist/services.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CACHE_CONFIGS, CATEGORY_INFO, CacheService, Logger, SettingsService,
|
|
1
|
+
export { CACHE_CONFIGS, CATEGORY_INFO, CacheService, Logger, SettingsService, buildRouteList, getAppInstance, getCacheService, getLogger, initLogger, setAppInstance } from './chunk-RQ6N3FTV.js';
|
|
2
2
|
import './chunk-K25XHMM3.js';
|
|
3
3
|
import './chunk-AI663NBO.js';
|
|
4
|
-
export { CollectionRegistry, PluginBootstrapService, PluginService, collectionRecordToRow, getAvailableCollectionNames, getCollectionRegistry, loadCollectionConfig, loadCollectionConfigs, registerCollections, resetCollectionRegistry, validateCollectionConfig } from './chunk-
|
|
5
|
-
export { MigrationService } from './chunk-
|
|
4
|
+
export { CollectionRegistry, PluginBootstrapService, PluginService, TelemetryService, collectionRecordToRow, createInstallationIdentity, getAvailableCollectionNames, getCollectionRegistry, getTelemetryService, initTelemetry, loadCollectionConfig, loadCollectionConfigs, registerCollections, resetCollectionRegistry, validateCollectionConfig } from './chunk-DNQYNBD5.js';
|
|
5
|
+
export { MigrationService } from './chunk-HKF5IYA2.js';
|
|
6
6
|
import './chunk-X7ZAEI5S.js';
|
|
7
7
|
import './chunk-TQABQWOP.js';
|
|
8
8
|
import './chunk-V4OQ3NZ2.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Privacy-first telemetry types for SonicJS
|
|
5
5
|
* No PII (Personally Identifiable Information) is collected
|
|
6
6
|
*/
|
|
7
|
-
type TelemetryEvent = 'installation_started' | 'installation_completed' | 'installation_failed' | 'setup_wizard_started' | 'setup_wizard_completed' | 'first_dev_server_start' | 'dev_server_started' | 'dev_server_stopped' | 'admin_login' | 'plugin_activated' | 'plugin_deactivated' | 'collection_created' | 'content_created' | 'page_viewed' | 'feature_used' | 'error_occurred' | 'migration_run' | 'deployment_triggered';
|
|
7
|
+
type TelemetryEvent = 'installation_started' | 'installation_completed' | 'installation_failed' | 'setup_wizard_started' | 'setup_wizard_completed' | 'first_dev_server_start' | 'dev_server_started' | 'dev_server_stopped' | 'admin_login' | 'plugin_activated' | 'plugin_deactivated' | 'collection_created' | 'content_created' | 'page_viewed' | 'feature_used' | 'error_occurred' | 'migration_run' | 'deployment_triggered' | 'project_snapshot';
|
|
8
8
|
interface TelemetryProperties {
|
|
9
9
|
os?: 'darwin' | 'linux' | 'win32' | string;
|
|
10
10
|
nodeVersion?: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Privacy-first telemetry types for SonicJS
|
|
5
5
|
* No PII (Personally Identifiable Information) is collected
|
|
6
6
|
*/
|
|
7
|
-
type TelemetryEvent = 'installation_started' | 'installation_completed' | 'installation_failed' | 'setup_wizard_started' | 'setup_wizard_completed' | 'first_dev_server_start' | 'dev_server_started' | 'dev_server_stopped' | 'admin_login' | 'plugin_activated' | 'plugin_deactivated' | 'collection_created' | 'content_created' | 'page_viewed' | 'feature_used' | 'error_occurred' | 'migration_run' | 'deployment_triggered';
|
|
7
|
+
type TelemetryEvent = 'installation_started' | 'installation_completed' | 'installation_failed' | 'setup_wizard_started' | 'setup_wizard_completed' | 'first_dev_server_start' | 'dev_server_started' | 'dev_server_stopped' | 'admin_login' | 'plugin_activated' | 'plugin_deactivated' | 'collection_created' | 'content_created' | 'page_viewed' | 'feature_used' | 'error_occurred' | 'migration_run' | 'deployment_triggered' | 'project_snapshot';
|
|
8
8
|
interface TelemetryProperties {
|
|
9
9
|
os?: 'darwin' | 'linux' | 'win32' | string;
|
|
10
10
|
nodeVersion?: string;
|
package/dist/templates.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AlertData, C as ConfirmationDialogOptions, F as Filter,
|
|
1
|
+
export { A as AdminLayoutCatalystData, a as AlertData, C as ConfirmationDialogOptions, F as Filter, b as FilterBarData, c as FilterOption, d as FormData, e as FormField, P as PaginationData, T as TableColumn, f as TableData, g as getConfirmationDialogScript, r as renderAdminLayoutCatalyst, h as renderAlert, i as renderConfirmationDialog, j as renderFilterBar, k as renderForm, l as renderFormField, m as renderPagination, n as renderTable } from './admin-layout-catalyst.template-DrwDUfsE.cjs';
|
|
2
2
|
import { HtmlEscapedString } from 'hono/utils/html';
|
|
3
3
|
|
|
4
4
|
interface AdminLayoutData {
|
|
@@ -23,28 +23,6 @@ interface AdminLayoutData {
|
|
|
23
23
|
}
|
|
24
24
|
declare function renderAdminLayout(data: AdminLayoutData): string;
|
|
25
25
|
|
|
26
|
-
interface AdminLayoutCatalystData {
|
|
27
|
-
title: string;
|
|
28
|
-
pageTitle?: string;
|
|
29
|
-
currentPath?: string;
|
|
30
|
-
version?: string;
|
|
31
|
-
enableExperimentalFeatures?: boolean;
|
|
32
|
-
user?: {
|
|
33
|
-
name: string;
|
|
34
|
-
email: string;
|
|
35
|
-
role: string;
|
|
36
|
-
};
|
|
37
|
-
scripts?: string[];
|
|
38
|
-
styles?: string[];
|
|
39
|
-
content: string | HtmlEscapedString;
|
|
40
|
-
dynamicMenuItems?: Array<{
|
|
41
|
-
label: string;
|
|
42
|
-
path: string;
|
|
43
|
-
icon: string;
|
|
44
|
-
}>;
|
|
45
|
-
}
|
|
46
|
-
declare function renderAdminLayoutCatalyst(data: AdminLayoutCatalystData): string;
|
|
47
|
-
|
|
48
26
|
interface LogoData {
|
|
49
27
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
50
28
|
variant?: 'default' | 'white' | 'dark';
|
|
@@ -85,4 +63,4 @@ interface FormsExamplesPageData {
|
|
|
85
63
|
}
|
|
86
64
|
declare function renderFormsExamplesPage(data: FormsExamplesPageData): string;
|
|
87
65
|
|
|
88
|
-
export { type
|
|
66
|
+
export { type AdminLayoutData, type CheckboxPageData, type FormsDocsPageData, type FormsExamplesPageData, renderAdminLayout, renderCheckboxPage, renderFormsDocsPage, renderFormsExamplesPage, renderLogo };
|
package/dist/templates.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AlertData, C as ConfirmationDialogOptions, F as Filter,
|
|
1
|
+
export { A as AdminLayoutCatalystData, a as AlertData, C as ConfirmationDialogOptions, F as Filter, b as FilterBarData, c as FilterOption, d as FormData, e as FormField, P as PaginationData, T as TableColumn, f as TableData, g as getConfirmationDialogScript, r as renderAdminLayoutCatalyst, h as renderAlert, i as renderConfirmationDialog, j as renderFilterBar, k as renderForm, l as renderFormField, m as renderPagination, n as renderTable } from './admin-layout-catalyst.template-DrwDUfsE.js';
|
|
2
2
|
import { HtmlEscapedString } from 'hono/utils/html';
|
|
3
3
|
|
|
4
4
|
interface AdminLayoutData {
|
|
@@ -23,28 +23,6 @@ interface AdminLayoutData {
|
|
|
23
23
|
}
|
|
24
24
|
declare function renderAdminLayout(data: AdminLayoutData): string;
|
|
25
25
|
|
|
26
|
-
interface AdminLayoutCatalystData {
|
|
27
|
-
title: string;
|
|
28
|
-
pageTitle?: string;
|
|
29
|
-
currentPath?: string;
|
|
30
|
-
version?: string;
|
|
31
|
-
enableExperimentalFeatures?: boolean;
|
|
32
|
-
user?: {
|
|
33
|
-
name: string;
|
|
34
|
-
email: string;
|
|
35
|
-
role: string;
|
|
36
|
-
};
|
|
37
|
-
scripts?: string[];
|
|
38
|
-
styles?: string[];
|
|
39
|
-
content: string | HtmlEscapedString;
|
|
40
|
-
dynamicMenuItems?: Array<{
|
|
41
|
-
label: string;
|
|
42
|
-
path: string;
|
|
43
|
-
icon: string;
|
|
44
|
-
}>;
|
|
45
|
-
}
|
|
46
|
-
declare function renderAdminLayoutCatalyst(data: AdminLayoutCatalystData): string;
|
|
47
|
-
|
|
48
26
|
interface LogoData {
|
|
49
27
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
50
28
|
variant?: 'default' | 'white' | 'dark';
|
|
@@ -85,4 +63,4 @@ interface FormsExamplesPageData {
|
|
|
85
63
|
}
|
|
86
64
|
declare function renderFormsExamplesPage(data: FormsExamplesPageData): string;
|
|
87
65
|
|
|
88
|
-
export { type
|
|
66
|
+
export { type AdminLayoutData, type CheckboxPageData, type FormsDocsPageData, type FormsExamplesPageData, renderAdminLayout, renderCheckboxPage, renderFormsDocsPage, renderFormsExamplesPage, renderLogo };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-JgHOpFCG.cjs';
|
|
2
2
|
export { A as AuthService, C as ContentService, H as HOOKS, a as HookContext, b as HookHandler, c as HookName, d as HookSystem, M as MediaService, e as ModelRelationship, P as Plugin, f as PluginAdminPage, g as PluginBuilderOptions, h as PluginComponent, i as PluginConfig, j as PluginContext, k as PluginHook, l as PluginLogger, m as PluginManager, n as PluginMenuItem, o as PluginMiddleware, p as PluginModel, q as PluginRegistry, r as PluginRoutes, s as PluginService, t as PluginStatus, u as PluginValidationResult, v as PluginValidator, S as ScopedHookSystem } from './plugin-DDYetMF-.cjs';
|
|
3
3
|
export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.cjs';
|
|
4
|
-
export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-
|
|
4
|
+
export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-Cku1ax74.cjs';
|
|
5
5
|
import 'hono';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@cloudflare/workers-types';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-JgHOpFCG.js';
|
|
2
2
|
export { A as AuthService, C as ContentService, H as HOOKS, a as HookContext, b as HookHandler, c as HookName, d as HookSystem, M as MediaService, e as ModelRelationship, P as Plugin, f as PluginAdminPage, g as PluginBuilderOptions, h as PluginComponent, i as PluginConfig, j as PluginContext, k as PluginHook, l as PluginLogger, m as PluginManager, n as PluginMenuItem, o as PluginMiddleware, p as PluginModel, q as PluginRegistry, r as PluginRoutes, s as PluginService, t as PluginStatus, u as PluginValidationResult, v as PluginValidator, S as ScopedHookSystem } from './plugin-DDYetMF-.js';
|
|
3
3
|
export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.js';
|
|
4
|
-
export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-
|
|
4
|
+
export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-Cku1ax74.js';
|
|
5
5
|
import 'hono';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@cloudflare/workers-types';
|
package/dist/utils.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkIXUHXTHW_cjs = require('./chunk-IXUHXTHW.cjs');
|
|
4
|
-
var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
|
|
5
4
|
var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
|
|
6
|
-
var
|
|
5
|
+
var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
|
|
6
|
+
var chunkYAKNRVAB_cjs = require('./chunk-YAKNRVAB.cjs');
|
|
7
7
|
var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
|
|
8
8
|
require('./chunk-IGJUBJBW.cjs');
|
|
9
9
|
|
|
@@ -41,6 +41,10 @@ Object.defineProperty(exports, "templateRenderer", {
|
|
|
41
41
|
enumerable: true,
|
|
42
42
|
get: function () { return chunkIXUHXTHW_cjs.templateRenderer; }
|
|
43
43
|
});
|
|
44
|
+
Object.defineProperty(exports, "metricsTracker", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkRCQ2HIQD_cjs.metricsTracker; }
|
|
47
|
+
});
|
|
44
48
|
Object.defineProperty(exports, "generateInstallationId", {
|
|
45
49
|
enumerable: true,
|
|
46
50
|
get: function () { return chunkP3XDZL6Q_cjs.generateInstallationId; }
|
|
@@ -73,17 +77,13 @@ Object.defineProperty(exports, "shouldSkipEvent", {
|
|
|
73
77
|
enumerable: true,
|
|
74
78
|
get: function () { return chunkP3XDZL6Q_cjs.shouldSkipEvent; }
|
|
75
79
|
});
|
|
76
|
-
Object.defineProperty(exports, "metricsTracker", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () { return chunkRCQ2HIQD_cjs.metricsTracker; }
|
|
79
|
-
});
|
|
80
80
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkYAKNRVAB_cjs.SONICJS_VERSION; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkYAKNRVAB_cjs.getCoreVersion; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "escapeHtml", {
|
|
89
89
|
enumerable: true,
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { F as FilterCondition, a as FilterGroup, b as FilterOperator, Q as QueryFilter, c as QueryFilterBuilder, d as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, e as buildQuery, f as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, h as sanitizeObject, t as templateRenderer } from './version-DFTyGfIH.cjs';
|
|
2
|
-
import { T as TelemetryConfig } from './telemetry-
|
|
2
|
+
import { T as TelemetryConfig } from './telemetry-Cku1ax74.cjs';
|
|
3
3
|
import { a as BlockDefinitions } from './collection-config-JgHOpFCG.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { F as FilterCondition, a as FilterGroup, b as FilterOperator, Q as QueryFilter, c as QueryFilterBuilder, d as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, e as buildQuery, f as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, h as sanitizeObject, t as templateRenderer } from './version-DFTyGfIH.js';
|
|
2
|
-
import { T as TelemetryConfig } from './telemetry-
|
|
2
|
+
import { T as TelemetryConfig } from './telemetry-Cku1ax74.js';
|
|
3
3
|
import { a as BlockDefinitions } from './collection-config-JgHOpFCG.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { QueryFilterBuilder, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-QZGABF2M.js';
|
|
2
|
-
export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-X7ZAEI5S.js';
|
|
3
2
|
export { metricsTracker } from './chunk-FICTAGD4.js';
|
|
4
|
-
export {
|
|
3
|
+
export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-X7ZAEI5S.js';
|
|
4
|
+
export { SONICJS_VERSION, getCoreVersion } from './chunk-4R2C35OT.js';
|
|
5
5
|
export { escapeHtml, sanitizeInput, sanitizeObject } from './chunk-TQABQWOP.js';
|
|
6
6
|
import './chunk-V4OQ3NZ2.js';
|
|
7
7
|
//# sourceMappingURL=utils.js.map
|
package/package.json
CHANGED