@pc-nexus/internal 0.5.0-next.3
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/README.md +3 -0
- package/index.d.ts +8 -0
- package/index.d.ts.map +1 -0
- package/index.js +7 -0
- package/lib/code.d.ts +20 -0
- package/lib/code.d.ts.map +1 -0
- package/lib/code.js +21 -0
- package/lib/common.d.ts +4 -0
- package/lib/common.d.ts.map +1 -0
- package/lib/common.js +3 -0
- package/lib/context.d.ts +47 -0
- package/lib/context.d.ts.map +1 -0
- package/lib/context.js +5 -0
- package/lib/error-type.d.ts +11 -0
- package/lib/error-type.d.ts.map +1 -0
- package/lib/error-type.js +11 -0
- package/lib/error.d.ts +15 -0
- package/lib/error.d.ts.map +1 -0
- package/lib/error.js +23 -0
- package/lib/handler.d.ts +9 -0
- package/lib/handler.d.ts.map +1 -0
- package/lib/handler.js +1 -0
- package/lib/resolver.d.ts +11 -0
- package/lib/resolver.d.ts.map +1 -0
- package/lib/resolver.js +26 -0
- package/package.json +33 -0
package/README.md
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./lib/common.js";
|
|
2
|
+
export * from "./lib/context.js";
|
|
3
|
+
export * from "./lib/handler.js";
|
|
4
|
+
export * from "./lib/resolver.js";
|
|
5
|
+
export * from "./lib/error.js";
|
|
6
|
+
export * from "./lib/code.js";
|
|
7
|
+
export * from "./lib/error-type.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
package/index.js
ADDED
package/lib/code.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare enum NexusCode {
|
|
2
|
+
ok = 200,
|
|
3
|
+
notFound = 404,
|
|
4
|
+
methodNotAllowed = 405,
|
|
5
|
+
invalidInput = 400,
|
|
6
|
+
unauthorized = 401,
|
|
7
|
+
forbidden = 403,
|
|
8
|
+
internalError = 500
|
|
9
|
+
}
|
|
10
|
+
export declare enum NexusHttpStatusCode {
|
|
11
|
+
ok = 200,
|
|
12
|
+
badRequest = 400,
|
|
13
|
+
unauthorized = 401,
|
|
14
|
+
notFound = 404,
|
|
15
|
+
methodNotAllowed = 405,
|
|
16
|
+
internalError = 500,
|
|
17
|
+
noContent = 204
|
|
18
|
+
}
|
|
19
|
+
export { NexusCode };
|
|
20
|
+
//# sourceMappingURL=code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.d.ts","sourceRoot":"","sources":["../../src/lib/code.ts"],"names":[],"mappings":"AAAA,aAAK,SAAS;IACV,EAAE,MAAM;IACR,QAAQ,MAAM;IACd,gBAAgB,MAAM;IACtB,YAAY,MAAM;IAClB,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,aAAa,MAAM;CACtB;AAED,oBAAY,mBAAmB;IAC3B,EAAE,MAAM;IACR,UAAU,MAAM;IAChB,YAAY,MAAM;IAClB,QAAQ,MAAM;IACd,gBAAgB,MAAM;IACtB,aAAa,MAAM;IACnB,SAAS,MAAM;CAClB;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/lib/code.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var NexusCode;
|
|
2
|
+
(function (NexusCode) {
|
|
3
|
+
NexusCode[NexusCode["ok"] = 200] = "ok";
|
|
4
|
+
NexusCode[NexusCode["notFound"] = 404] = "notFound";
|
|
5
|
+
NexusCode[NexusCode["methodNotAllowed"] = 405] = "methodNotAllowed";
|
|
6
|
+
NexusCode[NexusCode["invalidInput"] = 400] = "invalidInput";
|
|
7
|
+
NexusCode[NexusCode["unauthorized"] = 401] = "unauthorized";
|
|
8
|
+
NexusCode[NexusCode["forbidden"] = 403] = "forbidden";
|
|
9
|
+
NexusCode[NexusCode["internalError"] = 500] = "internalError";
|
|
10
|
+
})(NexusCode || (NexusCode = {}));
|
|
11
|
+
export var NexusHttpStatusCode;
|
|
12
|
+
(function (NexusHttpStatusCode) {
|
|
13
|
+
NexusHttpStatusCode[NexusHttpStatusCode["ok"] = 200] = "ok";
|
|
14
|
+
NexusHttpStatusCode[NexusHttpStatusCode["badRequest"] = 400] = "badRequest";
|
|
15
|
+
NexusHttpStatusCode[NexusHttpStatusCode["unauthorized"] = 401] = "unauthorized";
|
|
16
|
+
NexusHttpStatusCode[NexusHttpStatusCode["notFound"] = 404] = "notFound";
|
|
17
|
+
NexusHttpStatusCode[NexusHttpStatusCode["methodNotAllowed"] = 405] = "methodNotAllowed";
|
|
18
|
+
NexusHttpStatusCode[NexusHttpStatusCode["internalError"] = 500] = "internalError";
|
|
19
|
+
NexusHttpStatusCode[NexusHttpStatusCode["noContent"] = 204] = "noContent";
|
|
20
|
+
})(NexusHttpStatusCode || (NexusHttpStatusCode = {}));
|
|
21
|
+
export { NexusCode };
|
package/lib/common.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const NEXUS_CONTEXT_TOKEN_HEADER_KEY = "x-nexus-context-token";
|
|
2
|
+
export declare const GLOBAL_KEY_NEXUS_RUNTIME = "__nexus_runtime__";
|
|
3
|
+
export declare const invoke: (gateway: string, endpoint: string, payload: unknown) => Promise<Response>;
|
|
4
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/lib/common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,0BAA0B,CAAC;AAEtE,eAAO,MAAM,wBAAwB,sBAAsB,CAAC;AAE5D,eAAO,MAAM,MAAM,GAAI,SAAS,MAAM,EAAE,UAAU,MAAM,EAAE,SAAS,OAAO,KAAG,OAAO,CAAC,QAAQ,CACb,CAAC"}
|
package/lib/common.js
ADDED
package/lib/context.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Team {
|
|
2
|
+
id: string;
|
|
3
|
+
url: string;
|
|
4
|
+
locale: string;
|
|
5
|
+
timezone: string;
|
|
6
|
+
}
|
|
7
|
+
export interface User {
|
|
8
|
+
id: string;
|
|
9
|
+
locale: string;
|
|
10
|
+
timezone: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Extension {
|
|
13
|
+
key: string;
|
|
14
|
+
local_id: string;
|
|
15
|
+
target: string;
|
|
16
|
+
location: string;
|
|
17
|
+
data?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
export declare enum EnvironmentType {
|
|
20
|
+
development = "development",
|
|
21
|
+
production = "production"
|
|
22
|
+
}
|
|
23
|
+
export interface NexusAppContext {
|
|
24
|
+
app: {
|
|
25
|
+
id: string;
|
|
26
|
+
version: string;
|
|
27
|
+
};
|
|
28
|
+
environment: {
|
|
29
|
+
id: string;
|
|
30
|
+
type: EnvironmentType;
|
|
31
|
+
};
|
|
32
|
+
team: Team;
|
|
33
|
+
installation: {
|
|
34
|
+
id: string;
|
|
35
|
+
};
|
|
36
|
+
invocation: {
|
|
37
|
+
id: string;
|
|
38
|
+
};
|
|
39
|
+
user?: User;
|
|
40
|
+
extension?: Extension;
|
|
41
|
+
}
|
|
42
|
+
export interface NexusRequestContext extends NexusAppContext {
|
|
43
|
+
functionsKeyHandlerMap: Record<string, string>;
|
|
44
|
+
}
|
|
45
|
+
export type NexusRequestContextRaw = NexusRequestContext;
|
|
46
|
+
export type NexusRequestEventContextRaw = Omit<NexusRequestContextRaw, "extension">;
|
|
47
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/lib/context.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACjB,EAAE,EAAE,MAAM,CAAC;IAEX,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,IAAI;IACjB,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,oBAAY,eAAe;IACvB,WAAW,gBAAgB;IAE3B,UAAU,eAAe;CAC5B;AAED,MAAM,WAAW,eAAe;IAC5B,GAAG,EAAE;QACD,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,WAAW,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,eAAe,CAAC;KACzB,CAAC;IACF,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;KACd,CAAC;IACF,UAAU,EAAE;QACR,EAAE,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IACxD,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClD;AAED,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,CAAC"}
|
package/lib/context.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK 内部的错误类型码
|
|
3
|
+
*/
|
|
4
|
+
export declare enum NexusInnerErrorType {
|
|
5
|
+
invalidInput = "NEXUS_INNER_ERROR_TYPE_INVALID_INPUT",
|
|
6
|
+
networkInvalidInput = "NEXUS_INNER_ERROR_TYPE_NETWORK_INVALID_INPUT",
|
|
7
|
+
storageConditionBuilder = "NEXUS_INNER_ERROR_TYPE_STORAGE_CONDITION_BUILDER",
|
|
8
|
+
i18nTranslationLoaderError = "NEXUS_INNER_ERROR_TYPE_TRANSLATION_GETTER",
|
|
9
|
+
i18nTranslationLocaleInvalid = "NEXUS_INNER_ERROR_TYPE_TRANSLATION_LOCALE_INVALID"
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=error-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-type.d.ts","sourceRoot":"","sources":["../../src/lib/error-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC3B,YAAY,yCAAyC;IACrD,mBAAmB,iDAAiD;IACpE,uBAAuB,qDAAqD;IAC5E,0BAA0B,8CAA8C;IACxE,4BAA4B,sDAAsD;CACrF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK 内部的错误类型码
|
|
3
|
+
*/
|
|
4
|
+
export var NexusInnerErrorType;
|
|
5
|
+
(function (NexusInnerErrorType) {
|
|
6
|
+
NexusInnerErrorType["invalidInput"] = "NEXUS_INNER_ERROR_TYPE_INVALID_INPUT";
|
|
7
|
+
NexusInnerErrorType["networkInvalidInput"] = "NEXUS_INNER_ERROR_TYPE_NETWORK_INVALID_INPUT";
|
|
8
|
+
NexusInnerErrorType["storageConditionBuilder"] = "NEXUS_INNER_ERROR_TYPE_STORAGE_CONDITION_BUILDER";
|
|
9
|
+
NexusInnerErrorType["i18nTranslationLoaderError"] = "NEXUS_INNER_ERROR_TYPE_TRANSLATION_GETTER";
|
|
10
|
+
NexusInnerErrorType["i18nTranslationLocaleInvalid"] = "NEXUS_INNER_ERROR_TYPE_TRANSLATION_LOCALE_INVALID";
|
|
11
|
+
})(NexusInnerErrorType || (NexusInnerErrorType = {}));
|
package/lib/error.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NexusCode } from "./code.js";
|
|
2
|
+
import { NexusInnerErrorType } from "./error-type.js";
|
|
3
|
+
/**
|
|
4
|
+
* NexusError 异常类
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class NexusError extends Error {
|
|
7
|
+
#private;
|
|
8
|
+
get code(): NexusCode;
|
|
9
|
+
get type(): string;
|
|
10
|
+
constructor(code: NexusCode, type: string, message: string);
|
|
11
|
+
}
|
|
12
|
+
export declare class NexusInnerError extends NexusError {
|
|
13
|
+
constructor(code: NexusCode, type: NexusInnerErrorType, message: string);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/lib/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,8BAAsB,UAAW,SAAQ,KAAK;;IAE1C,IAAW,IAAI,IAAI,SAAS,CAE3B;IAGD,IAAW,IAAI,IAAI,MAAM,CAExB;gBAEkB,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAKpE;AAED,qBAAa,eAAgB,SAAQ,UAAU;gBACxB,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM;CAGjF"}
|
package/lib/error.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NexusError 异常类
|
|
3
|
+
*/
|
|
4
|
+
export class NexusError extends Error {
|
|
5
|
+
#code;
|
|
6
|
+
get code() {
|
|
7
|
+
return this.#code;
|
|
8
|
+
}
|
|
9
|
+
#type;
|
|
10
|
+
get type() {
|
|
11
|
+
return this.#type;
|
|
12
|
+
}
|
|
13
|
+
constructor(code, type, message) {
|
|
14
|
+
super(message);
|
|
15
|
+
this.#code = code;
|
|
16
|
+
this.#type = type;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export class NexusInnerError extends NexusError {
|
|
20
|
+
constructor(code, type, message) {
|
|
21
|
+
super(code, type, message);
|
|
22
|
+
}
|
|
23
|
+
}
|
package/lib/handler.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NexusAppContext } from "./context.js";
|
|
2
|
+
export interface HandlerFunctionEvent<T = unknown> {
|
|
3
|
+
type: string;
|
|
4
|
+
payload: T;
|
|
5
|
+
}
|
|
6
|
+
export interface HandlerFunction<TPayload = unknown, TReturn = void> {
|
|
7
|
+
(context: NexusAppContext, event: HandlerFunctionEvent<TPayload>): Promise<TReturn>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/lib/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC7C,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,CAAC,CAAC;CACd;AAED,MAAM,WAAW,eAAe,CAAC,QAAQ,GAAG,OAAO,EAAE,OAAO,GAAG,IAAI;IAC/D,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,oBAAoB,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACvF"}
|
package/lib/handler.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NexusAppContext } from "./context.js";
|
|
2
|
+
export interface ResolverFunction<P, R> {
|
|
3
|
+
(context: NexusAppContext, payload: P): Promise<R>;
|
|
4
|
+
}
|
|
5
|
+
export declare class Resolver {
|
|
6
|
+
#private;
|
|
7
|
+
constructor();
|
|
8
|
+
define<P, R = unknown>(key: string, fn: ResolverFunction<P, R>): this;
|
|
9
|
+
invoke<P, R>(key: string, context: NexusAppContext, payload: P): Promise<R>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../src/lib/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,WAAW,gBAAgB,CAAC,CAAC,EAAE,CAAC;IAClC,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACtD;AAQD,qBAAa,QAAQ;;;IAOV,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI;IAK/D,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;CAQ3F"}
|
package/lib/resolver.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NexusCode } from "./code.js";
|
|
2
|
+
import { NexusError } from "./error.js";
|
|
3
|
+
import { NexusInnerErrorType } from "./error-type.js";
|
|
4
|
+
class ResolverError extends NexusError {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(NexusCode.invalidInput, NexusInnerErrorType.invalidInput, message);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export class Resolver {
|
|
10
|
+
#functions;
|
|
11
|
+
constructor() {
|
|
12
|
+
this.#functions = {};
|
|
13
|
+
}
|
|
14
|
+
define(key, fn) {
|
|
15
|
+
this.#functions[key] = fn;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
async invoke(key, context, payload) {
|
|
19
|
+
const fn = this.#functions[key];
|
|
20
|
+
if (!fn) {
|
|
21
|
+
throw new ResolverError(`Cannot find function by key "${key}"`);
|
|
22
|
+
}
|
|
23
|
+
const result = await fn(context, payload);
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pc-nexus/internal",
|
|
3
|
+
"version": "0.5.0-next.3",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"pub:alpha": "cd dist && npm publish --access public --tag alpha",
|
|
9
|
+
"pub": "cd dist && npm publish --access public --tag latest",
|
|
10
|
+
"pub-next": "cd dist && npm publish --access public --tag next"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/atinc/pc-nexus.git"
|
|
15
|
+
},
|
|
16
|
+
"author": "",
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"directories": {
|
|
19
|
+
"test": "test",
|
|
20
|
+
"lib": "dist"
|
|
21
|
+
},
|
|
22
|
+
"types": "index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"default": "./index.js",
|
|
26
|
+
"types": "./index.d.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"type": "module",
|
|
30
|
+
"dependencies": {},
|
|
31
|
+
"devDependencies": {},
|
|
32
|
+
"peerDependencies": {}
|
|
33
|
+
}
|