@xiwebdesign/xicms-core 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/modules/index.d.ts
CHANGED
|
@@ -8,10 +8,6 @@ export { resolveModules, isModuleActive, moduleIdForBlockType, type ResolvedModu
|
|
|
8
8
|
export { ModulesProvider, useModules, useModuleActive, useModuleSettings, } from "./context";
|
|
9
9
|
export { applyBlockOverrides, type BlockOverride, type BlockOverrides, } from "./overrides";
|
|
10
10
|
export { builtinModules } from "./builtins";
|
|
11
|
-
export { shopModule } from "./shop/module";
|
|
12
|
-
export { useCart, cartAdd, cartSetQty, cartRemove, cartClear, type CartLine, type CartState } from "./shop/cartStore";
|
|
13
|
-
export { useShopSettings } from "./shop/lib";
|
|
14
|
-
export { ShopSettingsSchema, type ShopSettings } from "./shop/settings";
|
|
15
11
|
export { validateModuleContract, assertModuleContract } from "./contract";
|
|
16
12
|
export { useConsent, normalizeConsentState, consentDecided, type ConsentState } from "./consent/useConsent";
|
|
17
13
|
export { ConsentBanner, ConsentGate, ConsentReopenLink, type ConsentSettings, type ConsentCategory, } from "./consent/ConsentBanner";
|
package/dist/modules/index.js
CHANGED
|
@@ -14,10 +14,6 @@ import {
|
|
|
14
14
|
applyBlockOverrides
|
|
15
15
|
} from "./overrides";
|
|
16
16
|
import { builtinModules } from "./builtins";
|
|
17
|
-
import { shopModule } from "./shop/module";
|
|
18
|
-
import { useCart, cartAdd, cartSetQty, cartRemove, cartClear } from "./shop/cartStore";
|
|
19
|
-
import { useShopSettings } from "./shop/lib";
|
|
20
|
-
import { ShopSettingsSchema } from "./shop/settings";
|
|
21
17
|
import { validateModuleContract, assertModuleContract } from "./contract";
|
|
22
18
|
import { useConsent, normalizeConsentState, consentDecided } from "./consent/useConsent";
|
|
23
19
|
import {
|
|
@@ -30,27 +26,19 @@ export {
|
|
|
30
26
|
ConsentGate,
|
|
31
27
|
ConsentReopenLink,
|
|
32
28
|
ModulesProvider,
|
|
33
|
-
ShopSettingsSchema,
|
|
34
29
|
applyBlockOverrides,
|
|
35
30
|
assertModuleContract,
|
|
36
31
|
builtinModules,
|
|
37
|
-
cartAdd,
|
|
38
|
-
cartClear,
|
|
39
|
-
cartRemove,
|
|
40
|
-
cartSetQty,
|
|
41
32
|
consentDecided,
|
|
42
33
|
defineModule,
|
|
43
34
|
isModuleActive,
|
|
44
35
|
moduleIdForBlockType,
|
|
45
36
|
normalizeConsentState,
|
|
46
37
|
resolveModules,
|
|
47
|
-
shopModule,
|
|
48
|
-
useCart,
|
|
49
38
|
useConsent,
|
|
50
39
|
useModuleActive,
|
|
51
40
|
useModuleSettings,
|
|
52
41
|
useModules,
|
|
53
|
-
useShopSettings,
|
|
54
42
|
validateModuleContract
|
|
55
43
|
};
|
|
56
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/modules/index.ts"],"sourcesContent":["/**\n * @xiwebdesign/xicms-core/modules — de module-laag (XiCMS 3.0).\n * Pure data + lichte client-context; admin-panelen zitten in `.../admin`.\n */\nexport { defineModule } from \"./defineModule\";\nexport type {\n ModuleDefinition,\n ModuleSiteSetting,\n ModulesSiteConfig,\n Capability,\n} from \"./types\";\nexport {\n resolveModules,\n isModuleActive,\n moduleIdForBlockType,\n type ResolvedModules,\n} from \"./registry\";\nexport {\n ModulesProvider,\n useModules,\n useModuleActive,\n useModuleSettings,\n} from \"./context\";\nexport {\n applyBlockOverrides,\n type BlockOverride,\n type BlockOverrides,\n} from \"./overrides\";\nexport { builtinModules } from \"./builtins\";\
|
|
1
|
+
{"version":3,"sources":["../../src/modules/index.ts"],"sourcesContent":["/**\n * @xiwebdesign/xicms-core/modules — de module-laag (XiCMS 3.0).\n * Pure data + lichte client-context; admin-panelen zitten in `.../admin`.\n */\nexport { defineModule } from \"./defineModule\";\nexport type {\n ModuleDefinition,\n ModuleSiteSetting,\n ModulesSiteConfig,\n Capability,\n} from \"./types\";\nexport {\n resolveModules,\n isModuleActive,\n moduleIdForBlockType,\n type ResolvedModules,\n} from \"./registry\";\nexport {\n ModulesProvider,\n useModules,\n useModuleActive,\n useModuleSettings,\n} from \"./context\";\nexport {\n applyBlockOverrides,\n type BlockOverride,\n type BlockOverrides,\n} from \"./overrides\";\nexport { builtinModules } from \"./builtins\";\n// Shop is opt-in sinds 6.0: importeer 'm expliciet via de subpath \"modules/shop\"\n// (barrel src/modules/shop/index.ts). Hier NIET her-exporteren — anders trekt de\n// default /modules-barrel de hele shop-module weer de bundel in en vervalt de\n// tree-shaking-garantie. Zie docs/MODULES.md.\nexport { validateModuleContract, assertModuleContract } from \"./contract\";\nexport { useConsent, normalizeConsentState, consentDecided, type ConsentState } from \"./consent/useConsent\";\nexport {\n ConsentBanner,\n ConsentGate,\n ConsentReopenLink,\n type ConsentSettings,\n type ConsentCategory,\n} from \"./consent/ConsentBanner\";\n"],"mappings":"AAIA,SAAS,oBAAoB;AAO7B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,sBAAsB;AAK/B,SAAS,wBAAwB,4BAA4B;AAC7D,SAAS,YAAY,uBAAuB,sBAAyC;AACrF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;","names":[]}
|
package/dist/schema/index.d.ts
CHANGED
package/dist/schema/index.js
CHANGED
package/dist/schema/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schema/index.ts"],"sourcesContent":["/**\n * @xiwebdesign/xicms-core/schema — pure Zod-schema's + types.\n * Geen React, geen Firebase: importeerbaar in server-componenten, de sitemap-route én\n * de Cloud Functions, zodat content-validatie overal dezelfde bron gebruikt.\n */\nexport * from \"./seo\";\nexport * from \"./settings\";\nexport * from \"./blocks\";\nexport * from \"./pages\";\nexport * from \"./forms\";\
|
|
1
|
+
{"version":3,"sources":["../../src/schema/index.ts"],"sourcesContent":["/**\n * @xiwebdesign/xicms-core/schema — pure Zod-schema's + types.\n * Geen React, geen Firebase: importeerbaar in server-componenten, de sitemap-route én\n * de Cloud Functions, zodat content-validatie overal dezelfde bron gebruikt.\n */\nexport * from \"./seo\";\nexport * from \"./settings\";\nexport * from \"./blocks\";\nexport * from \"./pages\";\nexport * from \"./forms\";\n// Shop-schema's zijn opt-in: importeer via \"schema/shop\" (direct), niet via deze\n// default-barrel — zo blijft /schema shop-vrij (tree-shaking-garantie, 6.0).\nexport {\n defineSiteConfig,\n SiteConfigSchema,\n validateSiteConfig,\n type SiteConfig,\n type SiteMode,\n} from \"./siteConfig\";\n"],"mappings":"AAKA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xiwebdesign/xicms-core",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "XiCMS engine: gestructureerde content, pagina's, draft/publish, admin (TipTap+Radix), SEO en beveiliging voor klantsites.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|