@ldsg/types 0.3.42 → 0.3.44
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/types/app-data.d.ts +1 -3
- package/dist/types/app-data.d.ts.map +1 -1
- package/dist/types/data.d.ts +5 -0
- package/dist/types/data.d.ts.map +1 -0
- package/dist/types/data.js +2 -0
- package/dist/types/generate.d.ts +13 -0
- package/dist/types/generate.d.ts.map +1 -0
- package/dist/types/generate.js +2 -0
- package/dist/types/generator.d.ts +5 -0
- package/dist/types/generator.d.ts.map +1 -0
- package/dist/types/generator.js +2 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -0
- package/dist/types/module.d.ts +13 -0
- package/dist/types/module.d.ts.map +1 -0
- package/dist/types/module.js +2 -0
- package/dist/types/resource-record.d.ts +1 -1
- package/dist/types/resource-record.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/types/app-data.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Manifest } from "./manifest";
|
|
2
|
-
export type FileData = string | object;
|
|
3
|
-
export type AppDataFileData = FileData | undefined;
|
|
4
2
|
export interface AppDataFile {
|
|
5
3
|
path: string;
|
|
6
|
-
|
|
4
|
+
content: string;
|
|
7
5
|
}
|
|
8
6
|
export interface AppData extends Manifest {
|
|
9
7
|
environmentVariables?: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-data.d.ts","sourceRoot":"","sources":["../../src/types/app-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,
|
|
1
|
+
{"version":3,"file":"app-data.d.ts","sourceRoot":"","sources":["../../src/types/app-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,OAAQ,SAAQ,QAAQ;IACvC,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC,oBAAoB,CAAC,EAAE,WAAW,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/types/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,IAAI;IACnB,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Data } from "./data";
|
|
2
|
+
export type ExtraOptions = Record<string, string | number | boolean>;
|
|
3
|
+
export interface GenerateParams {
|
|
4
|
+
data: Data;
|
|
5
|
+
outputPath: string;
|
|
6
|
+
isZip: boolean;
|
|
7
|
+
extraOptions?: ExtraOptions;
|
|
8
|
+
}
|
|
9
|
+
export interface GenerateRes {
|
|
10
|
+
archive: Buffer<ArrayBufferLike>;
|
|
11
|
+
}
|
|
12
|
+
export type Generate = (params: GenerateParams) => Promise<GenerateRes>;
|
|
13
|
+
//# sourceMappingURL=generate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/types/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAErE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC;CAClC;AAED,MAAM,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/types/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from "./app-data";
|
|
2
|
+
export * from "./data";
|
|
3
|
+
export * from "./generate";
|
|
4
|
+
export * from "./generator";
|
|
2
5
|
export * from "./manifest";
|
|
6
|
+
export * from "./module";
|
|
3
7
|
export * from "./resource-record";
|
|
4
8
|
export * from "./resource-settings";
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -15,6 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./app-data"), exports);
|
|
18
|
+
__exportStar(require("./data"), exports);
|
|
19
|
+
__exportStar(require("./generate"), exports);
|
|
20
|
+
__exportStar(require("./generator"), exports);
|
|
18
21
|
__exportStar(require("./manifest"), exports);
|
|
22
|
+
__exportStar(require("./module"), exports);
|
|
19
23
|
__exportStar(require("./resource-record"), exports);
|
|
20
24
|
__exportStar(require("./resource-settings"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ModuleFile {
|
|
2
|
+
path: string;
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ModuleInfo {
|
|
6
|
+
files: ModuleFile[];
|
|
7
|
+
}
|
|
8
|
+
export interface AppModuleInfo extends ModuleInfo {
|
|
9
|
+
}
|
|
10
|
+
export interface HandlerModuleInfo extends ModuleInfo {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/types/module.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;CAAG;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-record.d.ts","sourceRoot":"","sources":["../../src/types/resource-record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,wBAAwB,GAAG,wBAAwB;IAC3F;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"resource-record.d.ts","sourceRoot":"","sources":["../../src/types/resource-record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,wBAAwB,GAAG,wBAAwB;IAC3F;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,wBAAwB,GAAG,wBAAwB,IACvF,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/types",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.44",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "wanxger",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/jest": "^29.5.2",
|
|
17
|
+
"@types/node": "~26.6.5",
|
|
17
18
|
"jest": "^29.5.0",
|
|
18
19
|
"oxfmt": "latest",
|
|
19
20
|
"oxlint": "latest",
|