@mandolop97/constructor-nexora 1.3.0 → 1.3.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/components/builder/BuilderCanvas.d.ts +7 -1
- package/dist/components/schema/PageRenderer.d.ts +7 -1
- package/dist/components/schema/SortableNodeWrapper.d.ts +17 -1
- package/dist/{index-JT2gobdd.js → index-7fNEj0ds.js} +4310 -4138
- package/dist/index.js +1 -1
- package/dist/integrations/supabase/client.d.ts +39 -0
- package/dist/integrations/supabase/types.d.ts +39 -0
- package/dist/lib/default-schemas.d.ts +17 -1
- package/dist/{lucide-react-Yf25vQUK.js → lucide-react-xAdwTOxQ.js} +5104 -5112
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as s, a7 as t, a8 as r, a9 as c, aa as o, ab as S, ac as l, ad as g, ae as m, af as i, ag as d, ah as h, ai as n, aj as C, ak as y, al as u, am as T, an as p, ao as I, ap as N, aq as P, ar as B, as as k, at as E, au as A, av as D, aw as R, ax as f, ay as F, az as v, aA as H, aB as O, aC as x, aD as G, aE as M, aF as _, aG as b, aH as j, aI as L, aJ as q } from "./index-7fNEj0ds.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ANIMATION_PRESETS,
|
|
4
4
|
t as CustomStylesInjector,
|
|
@@ -34,6 +34,45 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
34
34
|
};
|
|
35
35
|
Relationships: [];
|
|
36
36
|
};
|
|
37
|
+
page_schemas: {
|
|
38
|
+
Row: {
|
|
39
|
+
canvas_size: import("./types").Json | null;
|
|
40
|
+
category: string;
|
|
41
|
+
created_at: string;
|
|
42
|
+
id: string;
|
|
43
|
+
mock_data: import("./types").Json | null;
|
|
44
|
+
schema_json: import("./types").Json;
|
|
45
|
+
slug: string;
|
|
46
|
+
template_type: string;
|
|
47
|
+
title: string;
|
|
48
|
+
updated_at: string;
|
|
49
|
+
};
|
|
50
|
+
Insert: {
|
|
51
|
+
canvas_size?: import("./types").Json | null;
|
|
52
|
+
category?: string;
|
|
53
|
+
created_at?: string;
|
|
54
|
+
id?: string;
|
|
55
|
+
mock_data?: import("./types").Json | null;
|
|
56
|
+
schema_json?: import("./types").Json;
|
|
57
|
+
slug: string;
|
|
58
|
+
template_type?: string;
|
|
59
|
+
title?: string;
|
|
60
|
+
updated_at?: string;
|
|
61
|
+
};
|
|
62
|
+
Update: {
|
|
63
|
+
canvas_size?: import("./types").Json | null;
|
|
64
|
+
category?: string;
|
|
65
|
+
created_at?: string;
|
|
66
|
+
id?: string;
|
|
67
|
+
mock_data?: import("./types").Json | null;
|
|
68
|
+
schema_json?: import("./types").Json;
|
|
69
|
+
slug?: string;
|
|
70
|
+
template_type?: string;
|
|
71
|
+
title?: string;
|
|
72
|
+
updated_at?: string;
|
|
73
|
+
};
|
|
74
|
+
Relationships: [];
|
|
75
|
+
};
|
|
37
76
|
products: {
|
|
38
77
|
Row: {
|
|
39
78
|
badge: string | null;
|
|
@@ -40,6 +40,45 @@ export type Database = {
|
|
|
40
40
|
};
|
|
41
41
|
Relationships: [];
|
|
42
42
|
};
|
|
43
|
+
page_schemas: {
|
|
44
|
+
Row: {
|
|
45
|
+
canvas_size: Json | null;
|
|
46
|
+
category: string;
|
|
47
|
+
created_at: string;
|
|
48
|
+
id: string;
|
|
49
|
+
mock_data: Json | null;
|
|
50
|
+
schema_json: Json;
|
|
51
|
+
slug: string;
|
|
52
|
+
template_type: string;
|
|
53
|
+
title: string;
|
|
54
|
+
updated_at: string;
|
|
55
|
+
};
|
|
56
|
+
Insert: {
|
|
57
|
+
canvas_size?: Json | null;
|
|
58
|
+
category?: string;
|
|
59
|
+
created_at?: string;
|
|
60
|
+
id?: string;
|
|
61
|
+
mock_data?: Json | null;
|
|
62
|
+
schema_json?: Json;
|
|
63
|
+
slug: string;
|
|
64
|
+
template_type?: string;
|
|
65
|
+
title?: string;
|
|
66
|
+
updated_at?: string;
|
|
67
|
+
};
|
|
68
|
+
Update: {
|
|
69
|
+
canvas_size?: Json | null;
|
|
70
|
+
category?: string;
|
|
71
|
+
created_at?: string;
|
|
72
|
+
id?: string;
|
|
73
|
+
mock_data?: Json | null;
|
|
74
|
+
schema_json?: Json;
|
|
75
|
+
slug?: string;
|
|
76
|
+
template_type?: string;
|
|
77
|
+
title?: string;
|
|
78
|
+
updated_at?: string;
|
|
79
|
+
};
|
|
80
|
+
Relationships: [];
|
|
81
|
+
};
|
|
43
82
|
products: {
|
|
44
83
|
Row: {
|
|
45
84
|
badge: string | null;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
import { Schema } from '@/types/schema';
|
|
1
|
+
import { Schema, SchemaNode } from '@/types/schema';
|
|
2
|
+
type Nodes = Record<string, SchemaNode>;
|
|
3
|
+
/**
|
|
4
|
+
* Creates a composite ProductCard node tree with individually editable sub-elements.
|
|
5
|
+
* Returns the rootId and all generated nodes for merging into a schema.
|
|
6
|
+
*/
|
|
7
|
+
export declare function productCardNodes(id: string, opts: {
|
|
8
|
+
name: string;
|
|
9
|
+
price: string;
|
|
10
|
+
image: string;
|
|
11
|
+
badge?: string;
|
|
12
|
+
originalPrice?: string;
|
|
13
|
+
}): {
|
|
14
|
+
rootId: string;
|
|
15
|
+
nodes: Nodes;
|
|
16
|
+
};
|
|
2
17
|
export declare function createHomeSchema(): Schema;
|
|
3
18
|
export declare function createProductsSchema(): Schema;
|
|
4
19
|
export declare function createFAQSchema(): Schema;
|
|
@@ -14,3 +29,4 @@ export interface PageSchemaDefinition {
|
|
|
14
29
|
}
|
|
15
30
|
export declare const PAGE_DEFINITIONS: PageSchemaDefinition[];
|
|
16
31
|
export declare function getDefaultSchemaForSlug(slug: string): Schema;
|
|
32
|
+
export {};
|