@orunelle/theme-contract 0.0.0-stage → 2.0.0-alpha.14

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.
@@ -0,0 +1,83 @@
1
+ import { z } from "zod";
2
+ import type { MerchantManifest } from "./merchant-types.js";
3
+ export * from "./merchant-types.js";
4
+ export * from "./merchant-validation.js";
5
+ export * from "./merchant-editing.js";
6
+ export * from "./merchant-lifecycle.js";
7
+ export * from "./store-text.js";
8
+ export declare const RUNTIME_ABI: "orunelle.react.v2/1";
9
+ export declare const localeSchema: z.ZodEnum<["en", "ar"]>;
10
+ export type Locale = z.infer<typeof localeSchema>;
11
+ export type LocalizedText = Readonly<Record<Locale, string>>;
12
+ /** This discriminator never admits a historical v1 manifest. */
13
+ export declare const themeManifestSchema: z.ZodEffects<z.ZodType<MerchantManifest, z.ZodTypeDef, MerchantManifest>, MerchantManifest, MerchantManifest>;
14
+ export type ThemeManifest = MerchantManifest;
15
+ export type ProductFieldKind = "text" | "multiline" | "number" | "boolean" | "url" | "color" | "date";
16
+ /** A merchant-defined product field. Text kinds hold `{ en, ar }` values. */
17
+ export interface ProductFieldValue {
18
+ readonly key: string;
19
+ readonly kind: ProductFieldKind;
20
+ readonly name: LocalizedText;
21
+ readonly value: string | number | boolean | null | LocalizedText;
22
+ }
23
+ export type PublicProductImage = Readonly<{
24
+ url: string;
25
+ alt: string;
26
+ /** Intrinsic pixel size, when the media service knows it. */
27
+ width?: number;
28
+ height?: number;
29
+ /** Set when the image shows one variant, e.g. a color. */
30
+ variantId?: string;
31
+ }>;
32
+ export interface PublicProduct {
33
+ readonly id: string;
34
+ readonly handle: string;
35
+ readonly name: LocalizedText;
36
+ readonly description: LocalizedText;
37
+ readonly price: Readonly<{
38
+ amountMinor: number;
39
+ currency: string;
40
+ }>;
41
+ readonly image?: PublicProductImage;
42
+ /** Every product image in merchant order; the first is the main image. */
43
+ readonly images?: readonly PublicProductImage[];
44
+ /** The original price when the product is on sale. */
45
+ readonly compareAtPrice?: Readonly<{
46
+ amountMinor: number;
47
+ currency: string;
48
+ }>;
49
+ readonly categoryId?: string;
50
+ /** Public custom fields, in the merchant's order. */
51
+ readonly fields?: readonly ProductFieldValue[];
52
+ }
53
+ /** Public rendering data only. Customer sessions never belong in this object. */
54
+ export interface StorefrontContext {
55
+ readonly store: Readonly<{
56
+ id: string;
57
+ slug: string;
58
+ name: LocalizedText;
59
+ /** The merchant's store logo, when set. Resolve it like any image setting. */
60
+ logo?: import("./merchant-types.js").ImageValue;
61
+ }>;
62
+ readonly locale: Locale;
63
+ readonly origin: string;
64
+ readonly release: string;
65
+ readonly mode: "public" | "preview";
66
+ readonly currency?: string;
67
+ readonly market?: string;
68
+ readonly configurationRevision?: number;
69
+ readonly indexable?: boolean;
70
+ readonly media?: readonly {
71
+ id: string;
72
+ url: string;
73
+ alt: string;
74
+ }[];
75
+ readonly configuration?: import("./merchant-types.js").ThemeConfiguration;
76
+ readonly commerce?: "fixture" | "api";
77
+ readonly navigation?: readonly Readonly<{
78
+ path: string;
79
+ label: LocalizedText;
80
+ }>[];
81
+ }
82
+ export declare function catalogQueryKey(context: StorefrontContext, handle?: string): readonly ["storefront", string, string, "en" | "ar", string, string, string, number, "public" | "preview", "catalog", string | null];
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,WAAW,EAAG,qBAA8B,CAAC;AAC1D,eAAO,MAAM,YAAY,yBAAuB,CAAC;AACjD,MA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Aa,CAAC,EAAE,OAAO,qBAAqB,EAAE,kBAAkB,CAAC;IAC1E,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC;IACtC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,QAAQ,CAAC;QACtC,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,aAAa,CAAC;KACtB,CAAC,EAAE,CAAC;CACN;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,wIAc1E"}
package/dist/index.js ADDED
@@ -0,0 +1,30 @@
1
+ import { z } from "zod";
2
+ import { validateManifest } from "./merchant-validation.js";
3
+ export * from "./merchant-types.js";
4
+ export * from "./merchant-validation.js";
5
+ export * from "./merchant-editing.js";
6
+ export * from "./merchant-lifecycle.js";
7
+ export * from "./store-text.js";
8
+ export const RUNTIME_ABI = "orunelle.react.v2/1";
9
+ export const localeSchema = z.enum(["en", "ar"]);
10
+ /** This discriminator never admits a historical v1 manifest. */
11
+ export const themeManifestSchema = z
12
+ .custom((value) => validateManifest(value) === undefined, {
13
+ message: "Invalid v2 theme manifest",
14
+ })
15
+ .transform((value) => structuredClone(value));
16
+ export function catalogQueryKey(context, handle) {
17
+ return [
18
+ "storefront",
19
+ context.store.id,
20
+ context.origin,
21
+ context.locale,
22
+ context.currency ?? "EGP",
23
+ context.market ?? "EG",
24
+ context.release,
25
+ context.configurationRevision ?? 0,
26
+ context.mode,
27
+ "catalog",
28
+ handle ?? null,
29
+ ];
30
+ }
@@ -0,0 +1,16 @@
1
+ import type { ContractProblem, MerchantManifest, ThemeConfiguration } from "./merchant-types.js";
2
+ export declare class ConfigurationEditError extends Error {
3
+ readonly problem: ContractProblem;
4
+ constructor(problem: ContractProblem);
5
+ }
6
+ export type NodeDestination = {
7
+ kind: "node" | "group" | "template";
8
+ id: string;
9
+ index: number;
10
+ };
11
+ /** The destination index refers to the list after removing the source node. */
12
+ export declare function moveNode(manifest: MerchantManifest, input: ThemeConfiguration, id: string, destination: NodeDestination): ThemeConfiguration;
13
+ /** Duplication remaps every descendant ID; existing IDs and settings stay intact. */
14
+ export declare function duplicateSubtree(manifest: MerchantManifest, input: ThemeConfiguration, id: string, generateId?: () => string): ThemeConfiguration;
15
+ export declare function removeSubtree(manifest: MerchantManifest, input: ThemeConfiguration, id: string): ThemeConfiguration;
16
+ //# sourceMappingURL=merchant-editing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchant-editing.d.ts","sourceRoot":"","sources":["../src/merchant-editing.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,sBAAuB,SAAQ,KAAK;aACnB,OAAO,EAAE,eAAe;gBAAxB,OAAO,EAAE,eAAe;CAIrD;AAqBD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,+EAA+E;AAC/E,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,kBAAkB,EACzB,EAAE,EAAE,MAAM,EACV,WAAW,EAAE,eAAe,GAC3B,kBAAkB,CA+BpB;AAED,qFAAqF;AACrF,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,kBAAkB,EACzB,EAAE,EAAE,MAAM,EACV,UAAU,GAAE,MAAM,MAAkC,GACnD,kBAAkB,CAkCpB;AACD,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,kBAAkB,EACzB,EAAE,EAAE,MAAM,GACT,kBAAkB,CAkBpB"}
@@ -0,0 +1,115 @@
1
+ import { validateConfiguration } from "./merchant-validation.js";
2
+ export class ConfigurationEditError extends Error {
3
+ problem;
4
+ constructor(problem) {
5
+ super(`${problem.code} at ${problem.path}`);
6
+ this.problem = problem;
7
+ this.name = "ConfigurationEditError";
8
+ }
9
+ }
10
+ function fail(code, path) {
11
+ throw new ConfigurationEditError({ code, path });
12
+ }
13
+ function checked(manifest, configuration) {
14
+ const issue = validateConfiguration(manifest, configuration);
15
+ if (issue)
16
+ throw new ConfigurationEditError(issue);
17
+ return configuration;
18
+ }
19
+ function owner(configuration, node) {
20
+ if (node.parent !== null)
21
+ return configuration.nodes.find((parent) => parent.id === node.parent)
22
+ .children;
23
+ for (const compositions of [configuration.groups, configuration.templates])
24
+ for (const entry of Object.values(compositions))
25
+ if (entry.roots.includes(node.id))
26
+ return entry.roots;
27
+ return fail("orphan-node", `/nodes/${node.id}`);
28
+ }
29
+ /** The destination index refers to the list after removing the source node. */
30
+ export function moveNode(manifest, input, id, destination) {
31
+ checked(manifest, input);
32
+ const configuration = structuredClone(input);
33
+ const node = configuration.nodes.find((node) => node.id === id);
34
+ if (!node)
35
+ return fail("unknown-node", `/nodes/${id}`);
36
+ const previous = owner(configuration, node);
37
+ previous.splice(previous.indexOf(id), 1);
38
+ let target;
39
+ if (destination.kind === "node") {
40
+ const parent = configuration.nodes.find((node) => node.id === destination.id);
41
+ if (!parent)
42
+ return fail("unknown-node", `/nodes/${destination.id}`);
43
+ target = parent.children;
44
+ node.parent = parent.id;
45
+ }
46
+ else {
47
+ const kind = destination.kind === "group" ? "groups" : "templates";
48
+ if (!Object.hasOwn(manifest.editor?.[kind] ?? {}, destination.id))
49
+ return fail("unknown-composition", `/${kind}/${destination.id}`);
50
+ const composition = (configuration[kind][destination.id] ??= { roots: [] });
51
+ target = composition.roots;
52
+ node.parent = null;
53
+ }
54
+ if (!Number.isInteger(destination.index) ||
55
+ destination.index < 0 ||
56
+ destination.index > target.length)
57
+ return fail("position", "/destination/index");
58
+ target.splice(destination.index, 0, id);
59
+ return checked(manifest, configuration);
60
+ }
61
+ /** Duplication remaps every descendant ID; existing IDs and settings stay intact. */
62
+ export function duplicateSubtree(manifest, input, id, generateId = () => crypto.randomUUID()) {
63
+ checked(manifest, input);
64
+ const configuration = structuredClone(input);
65
+ const nodes = new Map(configuration.nodes.map((node) => [node.id, node]));
66
+ const root = nodes.get(id);
67
+ if (!root)
68
+ return fail("unknown-node", `/nodes/${id}`);
69
+ const subtree = [];
70
+ const gather = (node) => {
71
+ subtree.push(node);
72
+ for (const child of node.children)
73
+ gather(nodes.get(child));
74
+ };
75
+ gather(root);
76
+ const remapped = new Map(), used = new Set(nodes.keys());
77
+ for (const node of subtree) {
78
+ const replacement = generateId();
79
+ if (used.has(replacement))
80
+ return fail("duplicate-node", `/nodes/${replacement}`);
81
+ used.add(replacement);
82
+ remapped.set(node.id, replacement);
83
+ }
84
+ for (const node of subtree)
85
+ configuration.nodes.push({
86
+ ...structuredClone(node),
87
+ id: remapped.get(node.id),
88
+ parent: node.parent === null
89
+ ? null
90
+ : (remapped.get(node.parent) ?? node.parent),
91
+ children: node.children.map((child) => remapped.get(child)),
92
+ });
93
+ const list = owner(configuration, root);
94
+ list.splice(list.indexOf(root.id) + 1, 0, remapped.get(root.id));
95
+ return checked(manifest, configuration);
96
+ }
97
+ export function removeSubtree(manifest, input, id) {
98
+ checked(manifest, input);
99
+ const configuration = structuredClone(input);
100
+ const nodes = new Map(configuration.nodes.map((node) => [node.id, node]));
101
+ const root = nodes.get(id);
102
+ if (!root)
103
+ return fail("unknown-node", `/nodes/${id}`);
104
+ const removed = new Set();
105
+ const gather = (node) => {
106
+ removed.add(node.id);
107
+ for (const child of node.children)
108
+ gather(nodes.get(child));
109
+ };
110
+ gather(root);
111
+ const list = owner(configuration, root);
112
+ list.splice(list.indexOf(root.id), 1);
113
+ configuration.nodes = configuration.nodes.filter((node) => !removed.has(node.id));
114
+ return checked(manifest, configuration);
115
+ }
@@ -0,0 +1,86 @@
1
+ import type { ConfigurationTemplate, ContractProblem, MerchantManifest, ThemeConfiguration } from "./merchant-types.js";
2
+ export interface ThemeRelease {
3
+ id: string;
4
+ themeId: string;
5
+ buildId: string;
6
+ artifactDigest: string;
7
+ toolchainDigest: string;
8
+ manifest: MerchantManifest;
9
+ }
10
+ export interface UpgradeReport {
11
+ sourceSchemaVersion: 1 | 2;
12
+ sourceWorkspaceId: string;
13
+ sourceRevision: number;
14
+ targetReleaseId: string;
15
+ unmapped: {
16
+ path: string;
17
+ reason: string;
18
+ value: unknown;
19
+ }[];
20
+ }
21
+ interface WorkspaceIdentity {
22
+ id: string;
23
+ storeId: string;
24
+ themeId: string;
25
+ releaseId: string;
26
+ artifactDigest: string;
27
+ revision: number;
28
+ sourceWorkspaceId?: string;
29
+ sourceRevision?: number;
30
+ installedBy: string;
31
+ updatedBy: string;
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ }
35
+ export interface ThemeWorkspace extends WorkspaceIdentity {
36
+ schemaVersion: 2;
37
+ manifest: MerchantManifest;
38
+ configuration: ThemeConfiguration;
39
+ upgradeReport: UpgradeReport | Record<string, never>;
40
+ }
41
+ export interface HistoricalThemeWorkspace extends WorkspaceIdentity {
42
+ schemaVersion: 1;
43
+ manifest: Record<string, unknown>;
44
+ configuration: Record<string, unknown>;
45
+ upgradeReport: Record<string, never>;
46
+ }
47
+ export interface ThemeWorkspaceSummary {
48
+ id: string;
49
+ themeId: string;
50
+ releaseId: string;
51
+ schemaVersion: 1 | 2;
52
+ revision: number;
53
+ name: unknown;
54
+ version: string;
55
+ sourceWorkspaceId?: string;
56
+ sourceRevision?: number;
57
+ createdAt: string;
58
+ updatedAt: string;
59
+ }
60
+ export interface InstallThemeInput {
61
+ releaseId: string;
62
+ requestKey: string;
63
+ configuration: ConfigurationTemplate;
64
+ }
65
+ export interface SaveThemeDraftInput {
66
+ requestKey: string;
67
+ expectedRevision: number;
68
+ configuration: ThemeConfiguration;
69
+ }
70
+ export interface PreviewThemeUpgradeInput {
71
+ releaseId: string;
72
+ sourceRevision: number;
73
+ configuration?: ConfigurationTemplate;
74
+ }
75
+ export interface ApplyThemeUpgradeInput extends PreviewThemeUpgradeInput {
76
+ requestKey: string;
77
+ acknowledgeUnmapped?: boolean;
78
+ }
79
+ export interface ThemeUpgradePreview {
80
+ configuration: ConfigurationTemplate;
81
+ report: UpgradeReport;
82
+ valid: boolean;
83
+ problem?: ContractProblem;
84
+ }
85
+ export {};
86
+ //# sourceMappingURL=merchant-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchant-lifecycle.d.ts","sourceRoot":"","sources":["../src/merchant-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AACD,MAAM,WAAW,aAAa;IAC5B,mBAAmB,EAAE,CAAC,GAAG,CAAC,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC9D;AACD,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAA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