@embeddable.com/sdk-core 3.13.0-next.4 → 3.13.0
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/lib/defineConfig.d.ts +0 -50
- package/lib/index.esm.js +243 -167
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +22627 -0
- package/lib/index.js.map +1 -0
- package/lib/push.d.ts +5 -16
- package/package.json +2 -2
package/lib/defineConfig.d.ts
CHANGED
|
@@ -8,8 +8,6 @@ export type EmbeddableConfig = {
|
|
|
8
8
|
cleanup: (config: EmbeddableConfig) => Promise<unknown>;
|
|
9
9
|
validate: (config: EmbeddableConfig) => Promise<unknown>;
|
|
10
10
|
})[];
|
|
11
|
-
pushModels?: boolean;
|
|
12
|
-
pushComponents?: boolean;
|
|
13
11
|
pushBaseUrl?: string;
|
|
14
12
|
audienceUrl?: string;
|
|
15
13
|
authDomain?: string;
|
|
@@ -30,51 +28,9 @@ export type EmbeddableConfig = {
|
|
|
30
28
|
rollupOptions?: RollupOptions;
|
|
31
29
|
region?: Region;
|
|
32
30
|
};
|
|
33
|
-
export type ResolvedEmbeddableConfig = {
|
|
34
|
-
core: {
|
|
35
|
-
rootDir: string;
|
|
36
|
-
templatesDir: string;
|
|
37
|
-
configsDir: string;
|
|
38
|
-
};
|
|
39
|
-
client: {
|
|
40
|
-
rootDir: string;
|
|
41
|
-
srcDir: string;
|
|
42
|
-
modelsSrc?: string;
|
|
43
|
-
presetsSrc?: string;
|
|
44
|
-
buildDir: string;
|
|
45
|
-
tmpDir: string;
|
|
46
|
-
globalCss: string;
|
|
47
|
-
componentDir: string;
|
|
48
|
-
stencilBuild: string;
|
|
49
|
-
archiveFile: string;
|
|
50
|
-
errorFallbackComponent?: string;
|
|
51
|
-
bundleHash?: string;
|
|
52
|
-
viteConfig: {
|
|
53
|
-
resolve?: {
|
|
54
|
-
alias?: Record<string, string>;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
rollupOptions: RollupOptions;
|
|
58
|
-
};
|
|
59
|
-
outputOptions: {
|
|
60
|
-
typesEntryPointFilename: string;
|
|
61
|
-
};
|
|
62
|
-
pushModels: boolean;
|
|
63
|
-
pushComponents: boolean;
|
|
64
|
-
pushBaseUrl: string;
|
|
65
|
-
audienceUrl: string;
|
|
66
|
-
previewBaseUrl: string;
|
|
67
|
-
authDomain: string;
|
|
68
|
-
authClientId: string;
|
|
69
|
-
applicationEnvironment: string;
|
|
70
|
-
rollbarAccessToken: string;
|
|
71
|
-
plugins: EmbeddableConfig["plugins"];
|
|
72
|
-
};
|
|
73
31
|
export declare const embeddableConfigSchema: z.ZodObject<{
|
|
74
32
|
plugins: z.ZodArray<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>, "many">;
|
|
75
33
|
region: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"EU">, z.ZodLiteral<"US">, z.ZodLiteral<"legacy-US">]>>;
|
|
76
|
-
pushModels: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
-
pushComponents: z.ZodOptional<z.ZodBoolean>;
|
|
78
34
|
pushBaseUrl: z.ZodOptional<z.ZodString>;
|
|
79
35
|
audienceUrl: z.ZodOptional<z.ZodString>;
|
|
80
36
|
authDomain: z.ZodOptional<z.ZodString>;
|
|
@@ -108,8 +64,6 @@ export declare const embeddableConfigSchema: z.ZodObject<{
|
|
|
108
64
|
}, "strict", z.ZodTypeAny, {
|
|
109
65
|
plugins: ((...args: unknown[]) => unknown)[];
|
|
110
66
|
region?: "EU" | "US" | "legacy-US" | undefined;
|
|
111
|
-
pushModels?: boolean | undefined;
|
|
112
|
-
pushComponents?: boolean | undefined;
|
|
113
67
|
pushBaseUrl?: string | undefined;
|
|
114
68
|
audienceUrl?: string | undefined;
|
|
115
69
|
authDomain?: string | undefined;
|
|
@@ -131,8 +85,6 @@ export declare const embeddableConfigSchema: z.ZodObject<{
|
|
|
131
85
|
}, {
|
|
132
86
|
plugins: ((...args: unknown[]) => unknown)[];
|
|
133
87
|
region?: "EU" | "US" | "legacy-US" | undefined;
|
|
134
|
-
pushModels?: boolean | undefined;
|
|
135
|
-
pushComponents?: boolean | undefined;
|
|
136
88
|
pushBaseUrl?: string | undefined;
|
|
137
89
|
audienceUrl?: string | undefined;
|
|
138
90
|
authDomain?: string | undefined;
|
|
@@ -181,8 +133,6 @@ declare const _default: (config: EmbeddableConfig) => {
|
|
|
181
133
|
outputOptions: {
|
|
182
134
|
typesEntryPointFilename: string;
|
|
183
135
|
};
|
|
184
|
-
pushModels: boolean;
|
|
185
|
-
pushComponents: boolean;
|
|
186
136
|
pushBaseUrl: string;
|
|
187
137
|
audienceUrl: string;
|
|
188
138
|
previewBaseUrl: string;
|