eddev 2.0.0-beta.139 → 2.0.0-beta.140
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/app/lib/hooks/queryUtils.d.ts.map +1 -1
- package/dist/app/lib/hooks/queryUtils.js +1 -2
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/compiler/get-vite-config.d.ts.map +1 -1
- package/dist/node/compiler/get-vite-config.js +1 -0
- package/dist/node/project/config.d.ts +28 -28
- package/dist/node/project/env.d.ts +2 -2
- package/dist/node/types/block-type.d.ts +2 -2
- package/dist/node/types/view-type.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryUtils.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/hooks/queryUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mCAAmC,EACnC,2BAA2B,EAE3B,sBAAsB,EAEtB,kBAAkB,EAClB,iBAAiB,EAGjB,cAAc,EACf,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"queryUtils.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/hooks/queryUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mCAAmC,EACnC,2BAA2B,EAE3B,sBAAsB,EAEtB,kBAAkB,EAClB,iBAAiB,EAGjB,cAAc,EACf,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAQ9C,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,EAAE,GACpC,CAAC,GACD,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAC9B;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GA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,CAAC,KAAK,CAAC,CAAC,CAW/F"}
|
|
@@ -4,7 +4,6 @@ import { joinURL } from "ufo";
|
|
|
4
4
|
import { getQueryClient } from "../../utils/query-client.js";
|
|
5
5
|
import { getRPCClient } from "../../utils/trpc-client.js";
|
|
6
6
|
import { apiConfig } from "../runtime/apiConfig.js";
|
|
7
|
-
import { ProjectEnvUtils } from "../../../node/project/env.js";
|
|
8
7
|
class QueryError extends Error {
|
|
9
8
|
name = "QueryError";
|
|
10
9
|
messages;
|
|
@@ -21,7 +20,7 @@ function useFallbackClient() {
|
|
|
21
20
|
}
|
|
22
21
|
export const API_HEADERS = {};
|
|
23
22
|
if (!env.client) {
|
|
24
|
-
const accessKey =
|
|
23
|
+
const accessKey = process.env.SITE_API_KEY;
|
|
25
24
|
if (accessKey) {
|
|
26
25
|
API_HEADERS["x-ed-api-key"] = accessKey;
|
|
27
26
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.0-beta.
|
|
1
|
+
export declare const VERSION = "2.0.0-beta.140";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/node/cli/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.0.0-beta.
|
|
1
|
+
export const VERSION = "2.0.0-beta.140";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vite-config.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/get-vite-config.ts"],"names":[],"mappings":"AAKA,OAAO,EAAgB,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAG/D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEtD,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,UAAU,GAAG,KAAK,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE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AAA;CAAE,GAAG,YAAY,CA4B9E;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,CA8DtD"}
|
|
@@ -49,7 +49,7 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
49
49
|
plugins: "proxy" | "remote";
|
|
50
50
|
enabled: boolean;
|
|
51
51
|
uploads: "proxy" | "remote";
|
|
52
|
-
admin: "
|
|
52
|
+
admin: "hide" | "proxy";
|
|
53
53
|
originProtection: {
|
|
54
54
|
requireLogin: boolean;
|
|
55
55
|
};
|
|
@@ -63,7 +63,7 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
63
63
|
endpoints: Record<string, string>;
|
|
64
64
|
plugins?: "proxy" | "remote" | undefined;
|
|
65
65
|
enabled?: boolean | undefined;
|
|
66
|
-
admin?: "
|
|
66
|
+
admin?: "hide" | "proxy" | undefined;
|
|
67
67
|
originProtection?: {
|
|
68
68
|
requireLogin?: boolean | undefined;
|
|
69
69
|
} | undefined;
|
|
@@ -129,13 +129,27 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
129
129
|
devUI: z.ZodDefault<z.ZodEnum<["disabled", "enabled"]>>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
version: "2";
|
|
132
|
+
cache: Record<string, {
|
|
133
|
+
wordpress: {
|
|
134
|
+
strategy: "always" | "ssr-always-fresh";
|
|
135
|
+
cacheHeaders: boolean;
|
|
136
|
+
transients: boolean;
|
|
137
|
+
};
|
|
138
|
+
serverless: {
|
|
139
|
+
isr: boolean;
|
|
140
|
+
dataCache: "none" | "in-memory" | "kv";
|
|
141
|
+
};
|
|
142
|
+
pageDataTTL: number;
|
|
143
|
+
appDataTTL: number;
|
|
144
|
+
queryHooksTTL: number;
|
|
145
|
+
}>;
|
|
132
146
|
legacyMetadata: boolean;
|
|
133
147
|
legacyStitches: boolean;
|
|
134
148
|
serverless: {
|
|
135
149
|
plugins: "proxy" | "remote";
|
|
136
150
|
enabled: boolean;
|
|
137
151
|
uploads: "proxy" | "remote";
|
|
138
|
-
admin: "
|
|
152
|
+
admin: "hide" | "proxy";
|
|
139
153
|
originProtection: {
|
|
140
154
|
requireLogin: boolean;
|
|
141
155
|
};
|
|
@@ -145,20 +159,6 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
145
159
|
origins?: string[] | undefined;
|
|
146
160
|
} | undefined;
|
|
147
161
|
};
|
|
148
|
-
cache: Record<string, {
|
|
149
|
-
wordpress: {
|
|
150
|
-
strategy: "always" | "ssr-always-fresh";
|
|
151
|
-
cacheHeaders: boolean;
|
|
152
|
-
transients: boolean;
|
|
153
|
-
};
|
|
154
|
-
serverless: {
|
|
155
|
-
isr: boolean;
|
|
156
|
-
dataCache: "none" | "in-memory" | "kv";
|
|
157
|
-
};
|
|
158
|
-
pageDataTTL: number;
|
|
159
|
-
appDataTTL: number;
|
|
160
|
-
queryHooksTTL: number;
|
|
161
|
-
}>;
|
|
162
162
|
devUI: "disabled" | "enabled";
|
|
163
163
|
$schema?: string | undefined;
|
|
164
164
|
trackers?: ({
|
|
@@ -175,7 +175,7 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
175
175
|
endpoints: Record<string, string>;
|
|
176
176
|
plugins?: "proxy" | "remote" | undefined;
|
|
177
177
|
enabled?: boolean | undefined;
|
|
178
|
-
admin?: "
|
|
178
|
+
admin?: "hide" | "proxy" | undefined;
|
|
179
179
|
originProtection?: {
|
|
180
180
|
requireLogin?: boolean | undefined;
|
|
181
181
|
} | undefined;
|
|
@@ -184,16 +184,6 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
184
184
|
origins?: string[] | undefined;
|
|
185
185
|
} | undefined;
|
|
186
186
|
};
|
|
187
|
-
$schema?: string | undefined;
|
|
188
|
-
legacyMetadata?: boolean | undefined;
|
|
189
|
-
legacyStitches?: boolean | undefined;
|
|
190
|
-
trackers?: ({
|
|
191
|
-
id: string;
|
|
192
|
-
provider: "ga4";
|
|
193
|
-
} | {
|
|
194
|
-
id: string;
|
|
195
|
-
provider: "gtm";
|
|
196
|
-
})[] | undefined;
|
|
197
187
|
cache?: Record<string, {
|
|
198
188
|
wordpress?: {
|
|
199
189
|
strategy: "always" | "ssr-always-fresh";
|
|
@@ -208,6 +198,16 @@ export declare const EDConfigSchema: z.ZodObject<{
|
|
|
208
198
|
appDataTTL?: number | undefined;
|
|
209
199
|
queryHooksTTL?: number | undefined;
|
|
210
200
|
}> | undefined;
|
|
201
|
+
$schema?: string | undefined;
|
|
202
|
+
legacyMetadata?: boolean | undefined;
|
|
203
|
+
legacyStitches?: boolean | undefined;
|
|
204
|
+
trackers?: ({
|
|
205
|
+
id: string;
|
|
206
|
+
provider: "ga4";
|
|
207
|
+
} | {
|
|
208
|
+
id: string;
|
|
209
|
+
provider: "gtm";
|
|
210
|
+
})[] | undefined;
|
|
211
211
|
devUI?: "disabled" | "enabled" | undefined;
|
|
212
212
|
}>;
|
|
213
213
|
export type EDConfig = z.infer<typeof EDConfigSchema>;
|
|
@@ -14,17 +14,17 @@ export declare const ProjectEnvSchema: z.ZodObject<{
|
|
|
14
14
|
readonly DEV_SERVERLESS_PORT: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodString>, string | number, string | undefined>, number, string | undefined>>;
|
|
15
15
|
readonly SITE_API_KEY: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
SITE_API_KEY?: string | undefined;
|
|
17
18
|
DEBUG_GRAPHQL_URL?: string | undefined;
|
|
18
19
|
SITE_URL?: string | undefined;
|
|
19
20
|
DEV_HOT_PORT?: number | undefined;
|
|
20
21
|
DEV_SERVERLESS_PORT?: number | undefined;
|
|
21
|
-
SITE_API_KEY?: string | undefined;
|
|
22
22
|
}, {
|
|
23
|
+
SITE_API_KEY?: string | undefined;
|
|
23
24
|
DEBUG_GRAPHQL_URL?: string | undefined;
|
|
24
25
|
SITE_URL?: string | undefined;
|
|
25
26
|
DEV_HOT_PORT?: string | undefined;
|
|
26
27
|
DEV_SERVERLESS_PORT?: string | undefined;
|
|
27
|
-
SITE_API_KEY?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export type ProjectEnvKey = keyof typeof fields;
|
|
30
30
|
export declare const ProjectEnvUtils: {
|
|
@@ -41,7 +41,6 @@ export declare const BlockMetaSchema: z.ZodObject<{
|
|
|
41
41
|
tags: string[];
|
|
42
42
|
flags: Record<string, any>;
|
|
43
43
|
category: string;
|
|
44
|
-
cache: boolean;
|
|
45
44
|
acfName: string;
|
|
46
45
|
fileName: string;
|
|
47
46
|
graphqlFieldName: string;
|
|
@@ -51,6 +50,7 @@ export declare const BlockMetaSchema: z.ZodObject<{
|
|
|
51
50
|
parent: string[];
|
|
52
51
|
ancestors: string[];
|
|
53
52
|
dynamic: boolean;
|
|
53
|
+
cache: boolean;
|
|
54
54
|
allowMultiple: boolean;
|
|
55
55
|
frontendMode: "hidden" | "default" | "childrenOnly";
|
|
56
56
|
inserter: boolean;
|
|
@@ -75,7 +75,6 @@ export declare const BlockMetaSchema: z.ZodObject<{
|
|
|
75
75
|
description?: string | undefined;
|
|
76
76
|
icon?: string | undefined;
|
|
77
77
|
category?: string | undefined;
|
|
78
|
-
cache?: boolean | undefined;
|
|
79
78
|
keywords?: string[] | undefined;
|
|
80
79
|
templates?: string[] | null | undefined;
|
|
81
80
|
childTags?: string[] | undefined;
|
|
@@ -83,6 +82,7 @@ export declare const BlockMetaSchema: z.ZodObject<{
|
|
|
83
82
|
parent?: string[] | undefined;
|
|
84
83
|
ancestors?: string[] | undefined;
|
|
85
84
|
dynamic?: boolean | undefined;
|
|
85
|
+
cache?: boolean | undefined;
|
|
86
86
|
allowMultiple?: boolean | undefined;
|
|
87
87
|
postMetaBlock?: {
|
|
88
88
|
postTypes: string[];
|
|
@@ -11,8 +11,8 @@ export declare const ViewMetaSchema: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
title: string;
|
|
13
13
|
slug: string;
|
|
14
|
-
cache: boolean;
|
|
15
14
|
fileName: string;
|
|
15
|
+
cache: boolean;
|
|
16
16
|
isCustomTemplate: boolean;
|
|
17
17
|
postType?: string[] | undefined;
|
|
18
18
|
routePattern?: string | undefined;
|