@makeswift/runtime 0.28.7-canary.3 → 0.28.7-canary.5
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/cjs/api/graphql/documents/queries.js +6 -6
- package/dist/cjs/api/graphql/documents/queries.js.map +1 -1
- package/dist/cjs/api/graphql/generated/types.js.map +1 -1
- package/dist/cjs/api/graphql-api-client.js +61 -0
- package/dist/cjs/api/graphql-api-client.js.map +1 -0
- package/dist/cjs/api/{client.js → host-api-resources-client.js} +7 -15
- package/dist/cjs/api/host-api-resources-client.js.map +1 -0
- package/dist/cjs/api/rest-api-client.js +187 -0
- package/dist/cjs/api/rest-api-client.js.map +1 -0
- package/dist/cjs/api/schema/index.js +23 -0
- package/dist/cjs/api/schema/index.js.map +1 -0
- package/dist/cjs/api/schema/page-pathname-slice.js +38 -0
- package/dist/cjs/api/schema/page-pathname-slice.js.map +1 -0
- package/dist/cjs/api-handler/handlers/manifest.js +1 -1
- package/dist/cjs/client/component-snapshot.js +63 -0
- package/dist/cjs/client/component-snapshot.js.map +1 -0
- package/dist/cjs/client/index.js +102 -360
- package/dist/cjs/client/index.js.map +1 -1
- package/dist/cjs/client/page-snapshot.js +33 -0
- package/dist/cjs/client/page-snapshot.js.map +1 -0
- package/dist/cjs/client/schema/component-document.js +45 -0
- package/dist/cjs/client/schema/component-document.js.map +1 -0
- package/dist/cjs/client/schema/fonts.js +38 -0
- package/dist/cjs/client/schema/fonts.js.map +1 -0
- package/dist/cjs/client/schema/get-page.js +39 -0
- package/dist/cjs/client/schema/get-page.js.map +1 -0
- package/dist/cjs/client/schema/get-pages.js +68 -0
- package/dist/cjs/client/schema/get-pages.js.map +1 -0
- package/dist/cjs/client/schema/index.js +31 -0
- package/dist/cjs/client/schema/index.js.map +1 -0
- package/dist/cjs/client/schema/preview-token-payload.js +34 -0
- package/dist/cjs/client/schema/preview-token-payload.js.map +1 -0
- package/dist/cjs/components/builtin/Form/Form.js +2 -2
- package/dist/cjs/components/builtin/Form/Form.js.map +1 -1
- package/dist/cjs/next/components/tests/controls/color-control/fixtures.js.map +1 -1
- package/dist/cjs/next/components/tests/controls/page-control-prop-rendering.js.map +1 -1
- package/dist/cjs/next/components/tests/controls/rich-text-v2-control/fixtures.js.map +1 -1
- package/dist/cjs/next/testing/element-data.js +3 -3
- package/dist/cjs/next/testing/element-data.js.map +1 -1
- package/dist/cjs/runtimes/react/components/GoogleFontLink.js +2 -2
- package/dist/cjs/runtimes/react/components/GoogleFontLink.js.map +1 -1
- package/dist/cjs/runtimes/react/components/hooks/use-page-snippets.js +2 -2
- package/dist/cjs/runtimes/react/components/hooks/use-page-snippets.js.map +1 -1
- package/dist/cjs/runtimes/react/components/page/PageHead.js +2 -2
- package/dist/cjs/runtimes/react/components/page/PageHead.js.map +1 -1
- package/dist/cjs/runtimes/react/hooks/makeswift-api.js +10 -10
- package/dist/cjs/runtimes/react/hooks/makeswift-api.js.map +1 -1
- package/dist/cjs/runtimes/react/{host-api-client.js → hooks/use-api-resources-client.js} +9 -9
- package/dist/cjs/runtimes/react/hooks/use-api-resources-client.js.map +1 -0
- package/dist/cjs/runtimes/react/hooks/use-cache-data.js +2 -2
- package/dist/cjs/runtimes/react/hooks/use-cache-data.js.map +1 -1
- package/dist/cjs/runtimes/react/hooks/use-graphql-api-client.js +35 -0
- package/dist/cjs/runtimes/react/hooks/use-graphql-api-client.js.map +1 -0
- package/dist/cjs/runtimes/react/hooks/use-resource-resolver.js +3 -3
- package/dist/cjs/runtimes/react/hooks/use-resource-resolver.js.map +1 -1
- package/dist/cjs/runtimes/react/runtime-core.js +12 -7
- package/dist/cjs/runtimes/react/runtime-core.js.map +1 -1
- package/dist/cjs/state/middleware/makeswift-api-client-sync.js.map +1 -1
- package/dist/cjs/state/store.js +3 -3
- package/dist/cjs/state/store.js.map +1 -1
- package/dist/esm/api/graphql/documents/queries.js +4 -4
- package/dist/esm/api/graphql/documents/queries.js.map +1 -1
- package/dist/esm/api/graphql/generated/types.js.map +1 -1
- package/dist/esm/api/graphql-api-client.js +42 -0
- package/dist/esm/api/graphql-api-client.js.map +1 -0
- package/dist/esm/api/{client.js → host-api-resources-client.js} +3 -11
- package/dist/esm/api/host-api-resources-client.js.map +1 -0
- package/dist/esm/api/rest-api-client.js +152 -0
- package/dist/esm/api/rest-api-client.js.map +1 -0
- package/dist/esm/api/schema/index.js +2 -0
- package/dist/esm/api/schema/index.js.map +1 -0
- package/dist/esm/api/schema/page-pathname-slice.js +14 -0
- package/dist/esm/api/schema/page-pathname-slice.js.map +1 -0
- package/dist/esm/api-handler/handlers/manifest.js +1 -1
- package/dist/esm/client/component-snapshot.js +39 -0
- package/dist/esm/client/component-snapshot.js.map +1 -0
- package/dist/esm/client/index.js +67 -329
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/client/page-snapshot.js +9 -0
- package/dist/esm/client/page-snapshot.js.map +1 -0
- package/dist/esm/client/schema/component-document.js +20 -0
- package/dist/esm/client/schema/component-document.js.map +1 -0
- package/dist/esm/client/schema/fonts.js +14 -0
- package/dist/esm/client/schema/fonts.js.map +1 -0
- package/dist/esm/client/schema/get-page.js +15 -0
- package/dist/esm/client/schema/get-page.js.map +1 -0
- package/dist/esm/client/schema/get-pages.js +42 -0
- package/dist/esm/client/schema/get-pages.js.map +1 -0
- package/dist/esm/client/schema/index.js +6 -0
- package/dist/esm/client/schema/index.js.map +1 -0
- package/dist/esm/client/schema/preview-token-payload.js +10 -0
- package/dist/esm/client/schema/preview-token-payload.js.map +1 -0
- package/dist/esm/components/builtin/Form/Form.js +2 -2
- package/dist/esm/components/builtin/Form/Form.js.map +1 -1
- package/dist/esm/next/components/tests/controls/color-control/fixtures.js.map +1 -1
- package/dist/esm/next/components/tests/controls/page-control-prop-rendering.js.map +1 -1
- package/dist/esm/next/components/tests/controls/rich-text-v2-control/fixtures.js.map +1 -1
- package/dist/esm/next/testing/element-data.js +1 -1
- package/dist/esm/next/testing/element-data.js.map +1 -1
- package/dist/esm/runtimes/react/components/GoogleFontLink.js +2 -2
- package/dist/esm/runtimes/react/components/GoogleFontLink.js.map +1 -1
- package/dist/esm/runtimes/react/components/hooks/use-page-snippets.js +2 -2
- package/dist/esm/runtimes/react/components/hooks/use-page-snippets.js.map +1 -1
- package/dist/esm/runtimes/react/components/page/PageHead.js +2 -2
- package/dist/esm/runtimes/react/components/page/PageHead.js.map +1 -1
- package/dist/esm/runtimes/react/hooks/makeswift-api.js +10 -10
- package/dist/esm/runtimes/react/hooks/makeswift-api.js.map +1 -1
- package/dist/esm/runtimes/react/hooks/use-api-resources-client.js +9 -0
- package/dist/esm/runtimes/react/hooks/use-api-resources-client.js.map +1 -0
- package/dist/esm/runtimes/react/hooks/use-cache-data.js +2 -2
- package/dist/esm/runtimes/react/hooks/use-cache-data.js.map +1 -1
- package/dist/esm/runtimes/react/hooks/use-graphql-api-client.js +11 -0
- package/dist/esm/runtimes/react/hooks/use-graphql-api-client.js.map +1 -0
- package/dist/esm/runtimes/react/hooks/use-resource-resolver.js +3 -3
- package/dist/esm/runtimes/react/hooks/use-resource-resolver.js.map +1 -1
- package/dist/esm/runtimes/react/runtime-core.js +12 -7
- package/dist/esm/runtimes/react/runtime-core.js.map +1 -1
- package/dist/esm/state/middleware/makeswift-api-client-sync.js.map +1 -1
- package/dist/esm/state/store.js +3 -3
- package/dist/esm/state/store.js.map +1 -1
- package/dist/types/api/__tests__/rest-api-client.error-handling.test.d.ts +2 -0
- package/dist/types/api/__tests__/rest-api-client.error-handling.test.d.ts.map +1 -0
- package/dist/types/api/__tests__/rest-api-client.get-resources.test.d.ts +2 -0
- package/dist/types/api/__tests__/rest-api-client.get-resources.test.d.ts.map +1 -0
- package/dist/types/api/graphql/documents/queries.d.ts +1 -1
- package/dist/types/api/graphql/documents/queries.d.ts.map +1 -1
- package/dist/types/api/graphql/generated/types.d.ts +2 -2
- package/dist/types/api/graphql/generated/types.d.ts.map +1 -1
- package/dist/types/api/graphql-api-client.d.ts +14 -0
- package/dist/types/api/graphql-api-client.d.ts.map +1 -0
- package/dist/types/api/{client.d.ts → host-api-resources-client.d.ts} +3 -7
- package/dist/types/api/host-api-resources-client.d.ts.map +1 -0
- package/dist/types/api/rest-api-client.d.ts +27 -0
- package/dist/types/api/rest-api-client.d.ts.map +1 -0
- package/dist/types/api/schema/index.d.ts +2 -0
- package/dist/types/api/schema/index.d.ts.map +1 -0
- package/dist/types/api/schema/page-pathname-slice.d.ts +21 -0
- package/dist/types/api/schema/page-pathname-slice.d.ts.map +1 -0
- package/dist/types/client/component-snapshot.d.ts +25 -0
- package/dist/types/client/component-snapshot.d.ts.map +1 -0
- package/dist/types/client/index.d.ts +19 -640
- package/dist/types/client/index.d.ts.map +1 -1
- package/dist/types/client/page-snapshot.d.ts +62 -0
- package/dist/types/client/page-snapshot.d.ts.map +1 -0
- package/dist/types/client/schema/component-document.d.ts +285 -0
- package/dist/types/client/schema/component-document.d.ts.map +1 -0
- package/dist/types/client/schema/fonts.d.ts +27 -0
- package/dist/types/client/schema/fonts.d.ts.map +1 -0
- package/dist/types/client/schema/get-page.d.ts +30 -0
- package/dist/types/client/schema/get-page.d.ts.map +1 -0
- package/dist/types/client/schema/get-pages.d.ts +202 -0
- package/dist/types/client/schema/get-pages.d.ts.map +1 -0
- package/dist/types/client/schema/index.d.ts +6 -0
- package/dist/types/client/schema/index.d.ts.map +1 -0
- package/dist/types/client/schema/preview-token-payload.d.ts +19 -0
- package/dist/types/client/schema/preview-token-payload.d.ts.map +1 -0
- package/dist/types/next/components/tests/controls/color-control/fixtures.d.ts +1 -1
- package/dist/types/next/components/tests/controls/color-control/fixtures.d.ts.map +1 -1
- package/dist/types/next/components/tests/controls/page-control-prop-rendering.d.ts +1 -1
- package/dist/types/next/components/tests/controls/page-control-prop-rendering.d.ts.map +1 -1
- package/dist/types/next/components/tests/controls/rich-text-v2-control/fixtures.d.ts +1 -1
- package/dist/types/next/components/tests/controls/rich-text-v2-control/fixtures.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/GoogleFontLink.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/page/PageHead.d.ts.map +1 -1
- package/dist/types/runtimes/react/hooks/use-api-resources-client.d.ts +3 -0
- package/dist/types/runtimes/react/hooks/use-api-resources-client.d.ts.map +1 -0
- package/dist/types/runtimes/react/hooks/use-cache-data.d.ts +1 -1
- package/dist/types/runtimes/react/hooks/use-cache-data.d.ts.map +1 -1
- package/dist/types/runtimes/react/hooks/use-graphql-api-client.d.ts +3 -0
- package/dist/types/runtimes/react/hooks/use-graphql-api-client.d.ts.map +1 -0
- package/dist/types/runtimes/react/runtime-core.d.ts +2 -0
- package/dist/types/runtimes/react/runtime-core.d.ts.map +1 -1
- package/dist/types/state/middleware/makeswift-api-client-sync.d.ts +2 -2
- package/dist/types/state/middleware/makeswift-api-client-sync.d.ts.map +1 -1
- package/dist/types/state/store.d.ts +4 -4
- package/dist/types/state/store.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/client.js.map +0 -1
- package/dist/cjs/runtimes/react/host-api-client.js.map +0 -1
- package/dist/esm/api/client.js.map +0 -1
- package/dist/esm/runtimes/react/host-api-client.js +0 -9
- package/dist/esm/runtimes/react/host-api-client.js.map +0 -1
- package/dist/types/api/client.d.ts.map +0 -1
- package/dist/types/client/tests/client.error-handling.test.d.ts +0 -2
- package/dist/types/client/tests/client.error-handling.test.d.ts.map +0 -1
- package/dist/types/client/tests/client.get-resources.test.d.ts +0 -2
- package/dist/types/client/tests/client.get-resources.test.d.ts.map +0 -1
- package/dist/types/runtimes/react/host-api-client.d.ts +0 -3
- package/dist/types/runtimes/react/host-api-client.d.ts.map +0 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const pageData: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
path: z.ZodString;
|
|
5
|
+
title: z.ZodNullable<z.ZodString>;
|
|
6
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
8
|
+
socialImageUrl: z.ZodNullable<z.ZodString>;
|
|
9
|
+
sitemapPriority: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
sitemapFrequency: z.ZodNullable<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
11
|
+
createdAt: z.ZodString;
|
|
12
|
+
updatedAt: z.ZodString;
|
|
13
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
14
|
+
isOnline: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
excludedFromSearch: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
locale: z.ZodString;
|
|
17
|
+
localizedVariants: z.ZodArray<z.ZodObject<{
|
|
18
|
+
locale: z.ZodString;
|
|
19
|
+
path: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
path: string;
|
|
22
|
+
locale: string;
|
|
23
|
+
}, {
|
|
24
|
+
path: string;
|
|
25
|
+
locale: string;
|
|
26
|
+
}>, "many">;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
path: string;
|
|
29
|
+
id: string;
|
|
30
|
+
locale: string;
|
|
31
|
+
title: string | null;
|
|
32
|
+
description: string | null;
|
|
33
|
+
canonicalUrl: string | null;
|
|
34
|
+
socialImageUrl: string | null;
|
|
35
|
+
sitemapPriority: number | null;
|
|
36
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
publishedAt: string | null;
|
|
40
|
+
isOnline: boolean | null;
|
|
41
|
+
excludedFromSearch: boolean | null;
|
|
42
|
+
localizedVariants: {
|
|
43
|
+
path: string;
|
|
44
|
+
locale: string;
|
|
45
|
+
}[];
|
|
46
|
+
}, {
|
|
47
|
+
path: string;
|
|
48
|
+
id: string;
|
|
49
|
+
locale: string;
|
|
50
|
+
title: string | null;
|
|
51
|
+
description: string | null;
|
|
52
|
+
canonicalUrl: string | null;
|
|
53
|
+
socialImageUrl: string | null;
|
|
54
|
+
sitemapPriority: number | null;
|
|
55
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
publishedAt: string | null;
|
|
59
|
+
isOnline: boolean | null;
|
|
60
|
+
excludedFromSearch: boolean | null;
|
|
61
|
+
localizedVariants: {
|
|
62
|
+
path: string;
|
|
63
|
+
locale: string;
|
|
64
|
+
}[];
|
|
65
|
+
}>;
|
|
66
|
+
export declare const getPagesResult: z.ZodObject<{
|
|
67
|
+
data: z.ZodArray<z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
path: z.ZodString;
|
|
70
|
+
title: z.ZodNullable<z.ZodString>;
|
|
71
|
+
description: z.ZodNullable<z.ZodString>;
|
|
72
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
73
|
+
socialImageUrl: z.ZodNullable<z.ZodString>;
|
|
74
|
+
sitemapPriority: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
sitemapFrequency: z.ZodNullable<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
76
|
+
createdAt: z.ZodString;
|
|
77
|
+
updatedAt: z.ZodString;
|
|
78
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
79
|
+
isOnline: z.ZodNullable<z.ZodBoolean>;
|
|
80
|
+
excludedFromSearch: z.ZodNullable<z.ZodBoolean>;
|
|
81
|
+
locale: z.ZodString;
|
|
82
|
+
localizedVariants: z.ZodArray<z.ZodObject<{
|
|
83
|
+
locale: z.ZodString;
|
|
84
|
+
path: z.ZodString;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
path: string;
|
|
87
|
+
locale: string;
|
|
88
|
+
}, {
|
|
89
|
+
path: string;
|
|
90
|
+
locale: string;
|
|
91
|
+
}>, "many">;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
path: string;
|
|
94
|
+
id: string;
|
|
95
|
+
locale: string;
|
|
96
|
+
title: string | null;
|
|
97
|
+
description: string | null;
|
|
98
|
+
canonicalUrl: string | null;
|
|
99
|
+
socialImageUrl: string | null;
|
|
100
|
+
sitemapPriority: number | null;
|
|
101
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
102
|
+
createdAt: string;
|
|
103
|
+
updatedAt: string;
|
|
104
|
+
publishedAt: string | null;
|
|
105
|
+
isOnline: boolean | null;
|
|
106
|
+
excludedFromSearch: boolean | null;
|
|
107
|
+
localizedVariants: {
|
|
108
|
+
path: string;
|
|
109
|
+
locale: string;
|
|
110
|
+
}[];
|
|
111
|
+
}, {
|
|
112
|
+
path: string;
|
|
113
|
+
id: string;
|
|
114
|
+
locale: string;
|
|
115
|
+
title: string | null;
|
|
116
|
+
description: string | null;
|
|
117
|
+
canonicalUrl: string | null;
|
|
118
|
+
socialImageUrl: string | null;
|
|
119
|
+
sitemapPriority: number | null;
|
|
120
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
121
|
+
createdAt: string;
|
|
122
|
+
updatedAt: string;
|
|
123
|
+
publishedAt: string | null;
|
|
124
|
+
isOnline: boolean | null;
|
|
125
|
+
excludedFromSearch: boolean | null;
|
|
126
|
+
localizedVariants: {
|
|
127
|
+
path: string;
|
|
128
|
+
locale: string;
|
|
129
|
+
}[];
|
|
130
|
+
}>, "many">;
|
|
131
|
+
hasMore: z.ZodBoolean;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
data: {
|
|
134
|
+
path: string;
|
|
135
|
+
id: string;
|
|
136
|
+
locale: string;
|
|
137
|
+
title: string | null;
|
|
138
|
+
description: string | null;
|
|
139
|
+
canonicalUrl: string | null;
|
|
140
|
+
socialImageUrl: string | null;
|
|
141
|
+
sitemapPriority: number | null;
|
|
142
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
143
|
+
createdAt: string;
|
|
144
|
+
updatedAt: string;
|
|
145
|
+
publishedAt: string | null;
|
|
146
|
+
isOnline: boolean | null;
|
|
147
|
+
excludedFromSearch: boolean | null;
|
|
148
|
+
localizedVariants: {
|
|
149
|
+
path: string;
|
|
150
|
+
locale: string;
|
|
151
|
+
}[];
|
|
152
|
+
}[];
|
|
153
|
+
hasMore: boolean;
|
|
154
|
+
}, {
|
|
155
|
+
data: {
|
|
156
|
+
path: string;
|
|
157
|
+
id: string;
|
|
158
|
+
locale: string;
|
|
159
|
+
title: string | null;
|
|
160
|
+
description: string | null;
|
|
161
|
+
canonicalUrl: string | null;
|
|
162
|
+
socialImageUrl: string | null;
|
|
163
|
+
sitemapPriority: number | null;
|
|
164
|
+
sitemapFrequency: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
165
|
+
createdAt: string;
|
|
166
|
+
updatedAt: string;
|
|
167
|
+
publishedAt: string | null;
|
|
168
|
+
isOnline: boolean | null;
|
|
169
|
+
excludedFromSearch: boolean | null;
|
|
170
|
+
localizedVariants: {
|
|
171
|
+
path: string;
|
|
172
|
+
locale: string;
|
|
173
|
+
}[];
|
|
174
|
+
}[];
|
|
175
|
+
hasMore: boolean;
|
|
176
|
+
}>;
|
|
177
|
+
export declare const getPagesParams: z.ZodObject<{
|
|
178
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
after: z.ZodOptional<z.ZodString>;
|
|
180
|
+
sortBy: z.ZodOptional<z.ZodEnum<["title", "path", "description", "createdAt", "updatedAt"]>>;
|
|
181
|
+
sortDirection: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
182
|
+
includeOffline: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
pathPrefix: z.ZodOptional<z.ZodString>;
|
|
184
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
limit?: number | undefined;
|
|
187
|
+
after?: string | undefined;
|
|
188
|
+
sortBy?: "path" | "title" | "description" | "createdAt" | "updatedAt" | undefined;
|
|
189
|
+
sortDirection?: "desc" | "asc" | undefined;
|
|
190
|
+
includeOffline?: boolean | undefined;
|
|
191
|
+
pathPrefix?: string | undefined;
|
|
192
|
+
locale?: string | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
limit?: number | undefined;
|
|
195
|
+
after?: string | undefined;
|
|
196
|
+
sortBy?: "path" | "title" | "description" | "createdAt" | "updatedAt" | undefined;
|
|
197
|
+
sortDirection?: "desc" | "asc" | undefined;
|
|
198
|
+
includeOffline?: boolean | undefined;
|
|
199
|
+
pathPrefix?: string | undefined;
|
|
200
|
+
locale?: string | undefined;
|
|
201
|
+
}>;
|
|
202
|
+
//# sourceMappingURL=get-pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pages.d.ts","sourceRoot":"","sources":["../../../../src/client/schema/get-pages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBnB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const previewTokenPayload: z.ZodObject<{
|
|
3
|
+
payload: z.ZodObject<{
|
|
4
|
+
version: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
version: string;
|
|
7
|
+
}, {
|
|
8
|
+
version: string;
|
|
9
|
+
}>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
payload: {
|
|
12
|
+
version: string;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
payload: {
|
|
16
|
+
version: string;
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=preview-token-payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview-token-payload.d.ts","sourceRoot":"","sources":["../../../../src/client/schema/preview-token-payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;EAI9B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ValueType } from '@makeswift/controls';
|
|
2
2
|
import { ColorDefinition } from '@makeswift/controls';
|
|
3
3
|
import { type Swatch } from '../../../../../api';
|
|
4
|
-
import { type CacheData } from '../../../../../api/client';
|
|
4
|
+
import { type CacheData } from '../../../../../api/api-resources-client';
|
|
5
5
|
type SwatchData = Omit<Swatch, 'id'>;
|
|
6
6
|
export declare const swatchId = "[swatch-test-id]";
|
|
7
7
|
export declare const swatch: SwatchData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/controls/color-control/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAAmB,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/controls/color-control/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAAmB,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yCAAyC,CAAA;AAExE,KAAK,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAEpC,eAAO,MAAM,QAAQ,qBAAqB,CAAA;AAC1C,eAAO,MAAM,MAAM,EAAE,UAKpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,SAAS,CAAC,eAAe,CAG5C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,QAAQ,UAAU,GAAG,IAAI,KAAG,OAAO,CAAC,SAAS,CAIrE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@testing-library/jest-dom';
|
|
2
2
|
import { type ValueType, type DataType, ControlDefinition } from '@makeswift/controls';
|
|
3
|
-
import { type CacheData } from '../../../../api/client';
|
|
3
|
+
import { type CacheData } from '../../../../api/api-resources-client';
|
|
4
4
|
import { ElementData } from '../../../../state/read-only-state';
|
|
5
5
|
import { ReactRuntime } from '../../../../runtimes/react/react-runtime';
|
|
6
6
|
export declare function testPageControlPropRendering<D extends ControlDefinition>(controlDefinition: D, { toData, value, locale, cacheData, expectedRenders, registerComponents, action, rootElements, isInBuilder, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-control-prop-rendering.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/controls/page-control-prop-rendering.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAA;AAGlC,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEjG,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"page-control-prop-rendering.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/controls/page-control-prop-rendering.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAA;AAGlC,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEjG,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAA;AAiEvE,wBAAsB,4BAA4B,CAAC,CAAC,SAAS,iBAAiB,EAC5E,iBAAiB,EAAE,CAAC,EACpB,EACE,MAAM,EACN,KAAK,EACL,MAAM,EACN,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,YAAiB,EACjB,WAAmB,GACpB,EAAE;IACD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC7C,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAA;IACpD,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAChD,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,iBA6FF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/controls/rich-text-v2-control/fixtures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/controls/rich-text-v2-control/fixtures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yCAAyC,CAAA;AAoCxE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAe,CAAA;AACjC,eAAO,MAAM,SAAS,QAAO,OAAO,CAAC,SAAS,CAe5C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleFontLink.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/GoogleFontLink.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAY3C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"GoogleFontLink.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/GoogleFontLink.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAY3C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,kDAkBtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHead.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/PageHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"PageHead.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/PageHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAS/D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAS/D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC,CAAA;AAED,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAa,EAAE,EAAE,KAAK,GAAG,SAAS,CAuG5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-api-resources-client.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/hooks/use-api-resources-client.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAItE,wBAAgB,qBAAqB,IAAI,kBAAkB,CAE1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-cache-data.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/hooks/use-cache-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"use-cache-data.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/hooks/use-cache-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAKlE,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,QAQhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-graphql-api-client.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/hooks/use-graphql-api-client.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAI3E,wBAAgB,4BAA4B,IAAI,yBAAyB,CAGxE"}
|
|
@@ -27,6 +27,8 @@ export declare class RuntimeCore {
|
|
|
27
27
|
releaseStore({ siteVersion, locale }: StoreKey, store: Store): void;
|
|
28
28
|
copyElementTree(elementTree: ElementData, replacementContext: SerializableReplacementContext): Element;
|
|
29
29
|
getBreakpoints(): Breakpoints;
|
|
30
|
+
get graphqlApiEndpoint(): string;
|
|
31
|
+
private createApiResourcesClient;
|
|
30
32
|
private shouldUsePersistentStore;
|
|
31
33
|
}
|
|
32
34
|
//# sourceMappingURL=runtime-core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-core.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/runtime-core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAA;AAGzE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2CAA2C,CAAA;AAC1E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EACL,WAAW,EACX,gBAAgB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AO;IAIV,cAAc,IAAI,WAAW;IAI7B,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED,OAAO,CAAC,wBAAwB;IAUhC,OAAO,CAAC,wBAAwB;CAKjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Middleware } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
2
|
+
import { ApiResourcesClient } from '../../api/api-resources-client';
|
|
3
3
|
import { type State, type Dispatch } from '../unified-state';
|
|
4
|
-
export declare function makeswiftApiClientSyncMiddleware(client:
|
|
4
|
+
export declare function makeswiftApiClientSyncMiddleware(client: ApiResourcesClient): Middleware<Dispatch, State, Dispatch>;
|
|
5
5
|
//# sourceMappingURL=makeswift-api-client-sync.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeswift-api-client-sync.d.ts","sourceRoot":"","sources":["../../../../src/state/middleware/makeswift-api-client-sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"makeswift-api-client-sync.d.ts","sourceRoot":"","sources":["../../../../src/state/middleware/makeswift-api-client-sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAInE,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE5D,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,kBAAkB,GACzB,UAAU,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,CAAC,CAQvC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Middleware, type StoreEnhancer, Tuple } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
2
|
+
import { ApiResourcesClient } from '../api/api-resources-client';
|
|
3
3
|
import * as Breakpoints from './modules/breakpoints';
|
|
4
4
|
import { type BreakpointWatch } from './mixins/breakpoint-watch';
|
|
5
5
|
import { type Action } from './actions';
|
|
@@ -45,13 +45,13 @@ type ReadWriteMiddlewareRef = {
|
|
|
45
45
|
};
|
|
46
46
|
export declare function conditionalReadWriteMiddleware(middlewareRef: ReadWriteMiddlewareRef): Middleware<Dispatch, State, Dispatch>;
|
|
47
47
|
export interface ReadWriteStateMixin {
|
|
48
|
-
readonly
|
|
48
|
+
readonly apiResourcesClient: ApiResourcesClient;
|
|
49
49
|
loadReadWriteStateIfNeeded(): Promise<() => void>;
|
|
50
50
|
}
|
|
51
|
-
export declare function configureReadWriteStore({ name, appOrigin,
|
|
51
|
+
export declare function configureReadWriteStore({ name, appOrigin, apiResourcesClient, preloadedState, }: {
|
|
52
52
|
name: string;
|
|
53
53
|
appOrigin: string;
|
|
54
|
-
|
|
54
|
+
apiResourcesClient: ApiResourcesClient;
|
|
55
55
|
preloadedState: Partial<State>;
|
|
56
56
|
}): import("@reduxjs/toolkit").EnhancedStore<{
|
|
57
57
|
siteVersion: import("./modules/site-version").State;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/state/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAElB,KAAK,EAIN,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/state/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAElB,KAAK,EAIN,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAMhE,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAA;AAIpD,OAAO,EAAE,KAAK,eAAe,EAAwB,MAAM,2BAA2B,CAAA;AAEtF,OAAO,EAA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AAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/api/client.ts"],"sourcesContent":["import { type State as ApiClientState } from '../state/api-client/state'\nimport { type HttpFetch, fetchAPIResource } from '../state/api-client/fetch-api-resource'\nimport { configureClientStore } from '../state/api-client/client-store'\n\nimport {\n type File,\n type GlobalElement,\n type LocalizedGlobalElement,\n type PagePathnameSlice,\n type Swatch,\n type Table,\n type Typography,\n APIResourceType,\n} from './types'\n\nimport { GraphQLClient } from './graphql/client'\nimport { CreateTableRecordMutation } from './graphql/documents'\nimport {\n CreateTableRecordMutationResult,\n CreateTableRecordMutationVariables,\n} from './graphql/generated/types'\n\nimport { ApiResourcesClient } from './api-resources-client'\n\nexport { CacheData } from './api-resources-client'\n\n/**\n * NOTE(miguel): This \"client\" is used to fetch Makeswift API resources needed for the host. For\n * example, swatches, files, typographies, etc. Ideally it's internal to the runtime and is only\n * used by controls to transform API references to API resources.\n *\n * Moreover, its use should be reserved for the builder only, since for live pages all Makeswift\n * API resources should be embedded in the \"page snapshot\". In the builder, this client serves the\n * purpose of sending requests for API resources and keeping a cache so that changes that happen in\n * the builder, like modifying a swatch, can be sent via `postMessage` to the host and the cache can\n * immediately update the value and re-render.\n *\n * Furthermore, the API resources requested shouldn't be requested directly from the Makeswift API\n * as that would require those resources to not be authenticated since the requests come from the\n * browser when running the host. Instead, the requests should go to the host directly, at the\n * Makeswift API endpoint (i.g., `/api/makeswift/[...makeswift]` dynamic route) where the host's\n * API key can be used, securely, in the server. For this reason, this client should really be a\n * client of the host's API, not Makeswift's, intended to build and continuously maintain a realtime\n * snapshot for use in the builder, not the lives pages.\n */\nexport class MakeswiftHostApiClient extends ApiResourcesClient {\n readonly graphqlClient: GraphQLClient\n readonly fetch: HttpFetch\n\n constructor({\n uri,\n fetch,\n preloadedState,\n }: {\n uri: string\n fetch: HttpFetch\n preloadedState: Partial<ApiClientState>\n }) {\n super({\n store: configureClientStore({ preloadedState }),\n })\n\n this.graphqlClient = new GraphQLClient(uri)\n this.fetch = fetch\n }\n\n async fetchSwatch(swatchId: string): Promise<Swatch | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.Swatch, swatchId, this.fetch))\n }\n\n async fetchFile(fileId: string): Promise<File | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.File, fileId, this.fetch))\n }\n\n async fetchTypography(typographyId: string): Promise<Typography | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.Typography, typographyId, this.fetch),\n )\n }\n\n async fetchGlobalElement(globalElementId: string): Promise<GlobalElement | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.GlobalElement, globalElementId, this.fetch),\n )\n }\n\n async fetchLocalizedGlobalElement({\n globalElementId,\n locale,\n }: {\n globalElementId: string\n locale: string\n }): Promise<LocalizedGlobalElement | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.LocalizedGlobalElement, globalElementId, this.fetch, locale),\n )\n }\n\n async fetchPagePathnameSlice({\n pageId,\n locale,\n }: {\n pageId: string\n locale: string | null\n }): Promise<PagePathnameSlice | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.PagePathnameSlice, pageId, this.fetch, locale),\n )\n }\n\n async fetchTable(tableId: string): Promise<Table | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.Table, tableId, this.fetch))\n }\n\n async createTableRecord(tableId: string, columns: any): Promise<void> {\n await this.graphqlClient.request<\n CreateTableRecordMutationResult,\n CreateTableRecordMutationVariables\n >(CreateTableRecordMutation, { input: { data: { tableId, columns } } })\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,gCAAiD;AACjD,0BAAqC;AAErC,mBASO;AAEP,oBAA8B;AAC9B,uBAA0C;AAM1C,kCAAmC;AAEnC,IAAAA,+BAA0B;AAqBnB,MAAM,+BAA+B,+CAAmB;AAAA,EACpD;AAAA,EACA;AAAA,EAET,YA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/F;AAAA,EAEA,MAAM,kBAAkB,SAAiB,SAA6B;AACpE,UAAM,KAAK,cAAc,QAGvB,4CAA2B,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,QAAQ,EAAE,EAAE,CAAC;AAAA,EACxE;AACF;","names":["import_api_resources_client"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/runtimes/react/host-api-client.tsx"],"sourcesContent":["'use client'\n\nimport { MakeswiftHostApiClient } from '../../api/client'\n\nimport { useStore } from './hooks/use-store'\n\nexport function useMakeswiftHostApiClient(): MakeswiftHostApiClient {\n return useStore().hostApiClient\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,uBAAyB;AAElB,SAAS,4BAAoD;AAClE,aAAO,2BAAS,EAAE;AACpB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/api/client.ts"],"sourcesContent":["import { type State as ApiClientState } from '../state/api-client/state'\nimport { type HttpFetch, fetchAPIResource } from '../state/api-client/fetch-api-resource'\nimport { configureClientStore } from '../state/api-client/client-store'\n\nimport {\n type File,\n type GlobalElement,\n type LocalizedGlobalElement,\n type PagePathnameSlice,\n type Swatch,\n type Table,\n type Typography,\n APIResourceType,\n} from './types'\n\nimport { GraphQLClient } from './graphql/client'\nimport { CreateTableRecordMutation } from './graphql/documents'\nimport {\n CreateTableRecordMutationResult,\n CreateTableRecordMutationVariables,\n} from './graphql/generated/types'\n\nimport { ApiResourcesClient } from './api-resources-client'\n\nexport { CacheData } from './api-resources-client'\n\n/**\n * NOTE(miguel): This \"client\" is used to fetch Makeswift API resources needed for the host. For\n * example, swatches, files, typographies, etc. Ideally it's internal to the runtime and is only\n * used by controls to transform API references to API resources.\n *\n * Moreover, its use should be reserved for the builder only, since for live pages all Makeswift\n * API resources should be embedded in the \"page snapshot\". In the builder, this client serves the\n * purpose of sending requests for API resources and keeping a cache so that changes that happen in\n * the builder, like modifying a swatch, can be sent via `postMessage` to the host and the cache can\n * immediately update the value and re-render.\n *\n * Furthermore, the API resources requested shouldn't be requested directly from the Makeswift API\n * as that would require those resources to not be authenticated since the requests come from the\n * browser when running the host. Instead, the requests should go to the host directly, at the\n * Makeswift API endpoint (i.g., `/api/makeswift/[...makeswift]` dynamic route) where the host's\n * API key can be used, securely, in the server. For this reason, this client should really be a\n * client of the host's API, not Makeswift's, intended to build and continuously maintain a realtime\n * snapshot for use in the builder, not the lives pages.\n */\nexport class MakeswiftHostApiClient extends ApiResourcesClient {\n readonly graphqlClient: GraphQLClient\n readonly fetch: HttpFetch\n\n constructor({\n uri,\n fetch,\n preloadedState,\n }: {\n uri: string\n fetch: HttpFetch\n preloadedState: Partial<ApiClientState>\n }) {\n super({\n store: configureClientStore({ preloadedState }),\n })\n\n this.graphqlClient = new GraphQLClient(uri)\n this.fetch = fetch\n }\n\n async fetchSwatch(swatchId: string): Promise<Swatch | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.Swatch, swatchId, this.fetch))\n }\n\n async fetchFile(fileId: string): Promise<File | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.File, fileId, this.fetch))\n }\n\n async fetchTypography(typographyId: string): Promise<Typography | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.Typography, typographyId, this.fetch),\n )\n }\n\n async fetchGlobalElement(globalElementId: string): Promise<GlobalElement | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.GlobalElement, globalElementId, this.fetch),\n )\n }\n\n async fetchLocalizedGlobalElement({\n globalElementId,\n locale,\n }: {\n globalElementId: string\n locale: string\n }): Promise<LocalizedGlobalElement | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.LocalizedGlobalElement, globalElementId, this.fetch, locale),\n )\n }\n\n async fetchPagePathnameSlice({\n pageId,\n locale,\n }: {\n pageId: string\n locale: string | null\n }): Promise<PagePathnameSlice | null> {\n return await this.store.dispatch(\n fetchAPIResource(APIResourceType.PagePathnameSlice, pageId, this.fetch, locale),\n )\n }\n\n async fetchTable(tableId: string): Promise<Table | null> {\n return await this.store.dispatch(fetchAPIResource(APIResourceType.Table, tableId, this.fetch))\n }\n\n async createTableRecord(tableId: string, columns: any): Promise<void> {\n await this.graphqlClient.request<\n CreateTableRecordMutationResult,\n CreateTableRecordMutationVariables\n >(CreateTableRecordMutation, { input: { data: { tableId, columns } } })\n }\n}\n"],"mappings":"AACA,SAAyB,wBAAwB;AACjD,SAAS,4BAA4B;AAErC;AAAA,EAQE;AAAA,OACK;AAEP,SAAS,qBAAqB;AAC9B,SAAS,iCAAiC;AAM1C,SAAS,0BAA0B;AAEnC,SAAS,iBAAiB;AAqBnB,MAAM,+BAA+B,mBAAmB;AAAA,EACpD;AAAA,EACA;AAAA,EAET,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,EACF,GAIG;AACD,UAAM;AAAA,MACJ,OAAO,qBAAqB,EAAE,eAAe,CAAC;AAAA,IAChD,CAAC;AAED,SAAK,gBAAgB,IAAI,cAAc,GAAG;AAC1C,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,MAAM,YAAY,UAA0C;AAC1D,WAAO,MAAM,KAAK,MAAM,SAAS,iBAAiB,gBAAgB,QAAQ,UAAU,KAAK,KAAK,CAAC;AAAA,EACjG;AAAA,EAEA,MAAM,UAAU,QAAsC;AACpD,WAAO,MAAM,KAAK,MAAM,SAAS,iBAAiB,gBAAgB,MAAM,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC7F;AAAA,EAEA,MAAM,gBAAgB,cAAkD;AACtE,WAAO,MAAM,KAAK,MAAM;AAAA,MACtB,iBAAiB,gBAAgB,YAAY,cAAc,KAAK,KAAK;AAAA,IACvE;AAAA,EACF;AAAA,EAEA,MAAM,mBAAmB,iBAAwD;AAC/E,WAAO,MAAM,KAAK,MAAM;AAAA,MACtB,iBAAiB,gBAAgB,eAAe,iBAAiB,KAAK,KAAK;AAAA,IAC7E;AAAA,EACF;AAAA,EAEA,MAAM,4BAA4B;AAAA,IAChC;AAAA,IACA;AAAA,EACF,GAG2C;AACzC,WAAO,MAAM,KAAK,MAAM;AAAA,MACtB,iBAAiB,gBAAgB,wBAAwB,iBAAiB,KAAK,OAAO,MAAM;AAAA,IAC9F;AAAA,EACF;AAAA,EAEA,MAAM,uBAAuB;AAAA,IAC3B;AAAA,IACA;AAAA,EACF,GAGsC;AACpC,WAAO,MAAM,KAAK,MAAM;AAAA,MACtB,iBAAiB,gBAAgB,mBAAmB,QAAQ,KAAK,OAAO,MAAM;AAAA,IAChF;AAAA,EACF;AAAA,EAEA,MAAM,WAAW,SAAwC;AACvD,WAAO,MAAM,KAAK,MAAM,SAAS,iBAAiB,gBAAgB,OAAO,SAAS,KAAK,KAAK,CAAC;AAAA,EAC/F;AAAA,EAEA,MAAM,kBAAkB,SAAiB,SAA6B;AACpE,UAAM,KAAK,cAAc,QAGvB,2BAA2B,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,QAAQ,EAAE,EAAE,CAAC;AAAA,EACxE;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/runtimes/react/host-api-client.tsx"],"sourcesContent":["'use client'\n\nimport { MakeswiftHostApiClient } from '../../api/client'\n\nimport { useStore } from './hooks/use-store'\n\nexport function useMakeswiftHostApiClient(): MakeswiftHostApiClient {\n return useStore().hostApiClient\n}\n"],"mappings":";AAIA,SAAS,gBAAgB;AAElB,SAAS,4BAAoD;AAClE,SAAO,SAAS,EAAE;AACpB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,wCAAwC,CAAA;AAGzF,OAAO,EACL,KAAK,IA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GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAM/B,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAIlD,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAMtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.error-handling.test.d.ts","sourceRoot":"","sources":["../../../../src/client/tests/client.error-handling.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.get-resources.test.d.ts","sourceRoot":"","sources":["../../../../src/client/tests/client.get-resources.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"host-api-client.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/host-api-client.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAIzD,wBAAgB,yBAAyB,IAAI,sBAAsB,CAElE"}
|