eddev 2.0.0-beta.163 → 2.0.0-beta.164
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/blocks/InnerBlocks.d.ts.map +1 -1
- package/dist/app/lib/blocks/InnerBlocks.js +0 -1
- package/dist/app/lib/routing/hooks/useSearchParams.d.ts +2 -2
- package/dist/app/lib/routing/hooks/useSearchParams.d.ts.map +1 -1
- package/dist/app/server/rpc.d.ts +7 -15
- package/dist/app/server/rpc.d.ts.map +1 -1
- package/dist/app/server/utils/replace-host.d.ts.map +1 -1
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/utils/fs.d.ts +1 -1
- package/dist/node/utils/helpers.d.ts.map +1 -1
- package/package.json +1 -1
- package/types.meta.d.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/InnerBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAiB,MAAM,oBAAoB,CAAA;AAC3E,OAAO,EAAuB,aAAa,EAA0B,MAAM,6BAA6B,CAAA;AAKxG,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,mBAAmB,CAAA;IACvE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;
|
|
1
|
+
{"version":3,"file":"InnerBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/InnerBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAiB,MAAM,oBAAoB,CAAA;AAC3E,OAAO,EAAuB,aAAa,EAA0B,MAAM,6BAA6B,CAAA;A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typeof config?.type === "function") {
|
|
20
20
|
const Type = config?.type;
|
|
21
21
|
return (_jsx(wp.blockEditor.Inserter, { rootClientId: clientId, renderToggle: (p) => {
|
|
22
|
-
console.log("Render Props");
|
|
23
22
|
return _jsx(Type, { ...p });
|
|
24
23
|
}, isAppender: true, disabled: false }));
|
|
25
24
|
// } else if (config?.type === "simple") {
|
|
@@ -12,7 +12,7 @@ export type SearchParamAPI<T> = {
|
|
|
12
12
|
* @param key The search parameter name
|
|
13
13
|
* @param value The value to set
|
|
14
14
|
*/
|
|
15
|
-
set<K extends keyof T>(key: K, value: T[K]): void;
|
|
15
|
+
set<K extends keyof T>(key: K, value: T[K] | null | undefined): void;
|
|
16
16
|
/**
|
|
17
17
|
* Set all parameters at once, replacing the entire query string. Any parameters not present will be replaced with their default value. Passing an empty object is equivalent to calling `reset()`.
|
|
18
18
|
*
|
|
@@ -33,7 +33,7 @@ export type SearchParamAPI<T> = {
|
|
|
33
33
|
* @param key The search parameter name
|
|
34
34
|
* @returns (value: T) => void
|
|
35
35
|
*/
|
|
36
|
-
setter<K extends keyof T>(key: K): (value: T[K]) => void;
|
|
36
|
+
setter<K extends keyof T>(key: K): (value: T[K] | null | undefined) => void;
|
|
37
37
|
/**
|
|
38
38
|
* Reset all parameters to their default values.
|
|
39
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSearchParams.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/routing/hooks/useSearchParams.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B;;;;;;;;;OASG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"useSearchParams.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/routing/hooks/useSearchParams.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B;;;;;;;;;OASG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IACpE;;;;;OAKG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACnC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAA;IAC3E;;OAEG;IACH,KAAK,IAAI,IAAI,CAAA;IACb;;OAEG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;CACrC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CA0DzF"}
|
package/dist/app/server/rpc.d.ts
CHANGED
|
@@ -9,20 +9,12 @@ export declare const rpcApi: {
|
|
|
9
9
|
}>;
|
|
10
10
|
procedure: import("@trpc/server/unstable-core-do-not-import").ProcedureBuilder<RPCContext, object, object, typeof import("@trpc/server/unstable-core-do-not-import").unsetMarker, typeof import("@trpc/server/unstable-core-do-not-import").unsetMarker, typeof import("@trpc/server/unstable-core-do-not-import").unsetMarker, typeof import("@trpc/server/unstable-core-do-not-import").unsetMarker, false>;
|
|
11
11
|
middleware: <$ContextOverrides>(fn: import("@trpc/server/unstable-core-do-not-import").MiddlewareFunction<RPCContext, object, object, $ContextOverrides, unknown>) => import("@trpc/server/unstable-core-do-not-import").MiddlewareBuilder<RPCContext, object, $ContextOverrides, unknown>;
|
|
12
|
-
router: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, TInput>;
|
|
19
|
-
<TInput extends import("@trpc/server/unstable-core-do-not-import").CreateRouterOptions>(input: TInput): import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
20
|
-
ctx: RPCContext;
|
|
21
|
-
meta: object;
|
|
22
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
23
|
-
transformer: true;
|
|
24
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<TInput>>;
|
|
25
|
-
};
|
|
12
|
+
router: <TInput extends import("@trpc/server/unstable-core-do-not-import").CreateRouterOptions>(input: TInput) => import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13
|
+
ctx: RPCContext;
|
|
14
|
+
meta: object;
|
|
15
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16
|
+
transformer: true;
|
|
17
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<TInput>>;
|
|
26
18
|
mergeRouters: typeof import("@trpc/server/unstable-core-do-not-import").mergeRouters;
|
|
27
19
|
createCallerFactory: <TRecord extends import("@trpc/server").RouterRecord>(router: Pick<import("@trpc/server/unstable-core-do-not-import").Router<{
|
|
28
20
|
ctx: RPCContext;
|
|
@@ -48,7 +40,7 @@ export declare function instantiateRouter<T extends RouterSchema>(routes: T): im
|
|
|
48
40
|
meta: object;
|
|
49
41
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
50
42
|
transformer: true;
|
|
51
|
-
}, T
|
|
43
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<T>>;
|
|
52
44
|
export type InferRPCServerContext<TFunc extends null | ((opts: FetchCreateContextFnOptions) => any)> = {
|
|
53
45
|
req: Request;
|
|
54
46
|
resHeaders: Headers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/app/server/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAY,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAGzE,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/app/server/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAY,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAGzE,eAAO,MAAM,MAAM;;;;;;;;;mCA4B04D,0CAAU;;;;;;;iDAAqwB,cAAU;;;;;;;;;;;CA1BprF,CAAA;AAEF,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,YAAY,CAAC,CAAA;AAE/E,eAAO,MAAM,GAAG;;;WAGP,CAAC,SAAS,YAAY,UAAU,CAAC,GAAG,CAAC;CAG7C,CAAA;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,IAAI,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,CAAC,GAC7C,CAAC,IAAI,EAAE,2BAA2B,KAAK,CAAC,CAE1C;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,YAAY,EAAE,MAAM,EAAE,CAAC;;;;;sFAElE;AAED,MAAM,MAAM,qBAAqB,CAAC,KAAK,SAAS,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,2BAA2B,KAAK,GAAG,CAAC,IAAI;IACrG,GAAG,EAAE,OAAO,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;CACpB,GAAG,CAAC,KAAK,SAAS,CAAC,IAAI,EAAE,2BAA2B,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-host.d.ts","sourceRoot":"","sources":["../../../../src/app/server/utils/replace-host.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,0FAA0F;IAC1F,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CACjD,CAAA;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"replace-host.d.ts","sourceRoot":"","sources":["../../../../src/app/server/utils/replace-host.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,0FAA0F;IAC1F,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CACjD,CAAA;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,IAI7C,MAAM,MAAM,EAAE,YAAY,MAAM,YAiEzC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.0-beta.
|
|
1
|
+
export declare const VERSION = "2.0.0-beta.164";
|
|
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.164";
|
package/dist/node/utils/fs.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const fs: {
|
|
|
76
76
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
|
|
77
77
|
mkdtemp(prefix: string, options: import("fs").BufferEncodingOption): Promise<Buffer>;
|
|
78
78
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
|
79
|
-
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | import("stream")
|
|
79
|
+
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | import("stream"), options?: (import("fs").ObjectEncodingOptions & {
|
|
80
80
|
mode?: import("fs").Mode | undefined;
|
|
81
81
|
flag?: import("fs").OpenMode | undefined;
|
|
82
82
|
flush?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/node/utils/helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/node/utils/helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,WAM3D,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,WAMhD,CAAA"}
|
package/package.json
CHANGED
package/types.meta.d.ts
CHANGED
|
@@ -64,7 +64,9 @@ declare global {
|
|
|
64
64
|
*
|
|
65
65
|
* Keep flags short, since these values will end up in the production value!
|
|
66
66
|
*/
|
|
67
|
-
flags?: Partial<
|
|
67
|
+
flags?: Partial<{
|
|
68
|
+
[K in keyof DefinedBlockFlags | (string & {})]: DefinedBlockFlags[K]
|
|
69
|
+
}>
|
|
68
70
|
|
|
69
71
|
/**
|
|
70
72
|
* Tags for this block, which determine the context in which it can be used.
|