@terai/extractor 0.0.16 → 0.0.17
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/index.cjs +1 -452
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -7
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +14 -7
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -452
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region ../types/dist/index.d.mts
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/message.d.ts
|
|
4
|
+
type ExtractedMessage = {
|
|
5
|
+
id: string;
|
|
6
|
+
value: string;
|
|
7
|
+
context: string;
|
|
8
|
+
files: string[];
|
|
9
|
+
chunksIds: string[];
|
|
10
|
+
};
|
|
11
|
+
type ExtractedMessages = Record<string, ExtractedMessage>;
|
|
12
|
+
//#endregion
|
|
3
13
|
//#region src/extract.d.ts
|
|
4
14
|
type ExtractOptions = {
|
|
5
15
|
filesPaths: readonly string[];
|
|
6
16
|
cwd: string;
|
|
7
17
|
};
|
|
8
|
-
declare function extract({
|
|
9
|
-
filesPaths,
|
|
10
|
-
cwd
|
|
11
|
-
}: ExtractOptions): Promise<ExtractedMessages>;
|
|
18
|
+
export declare function extract({ filesPaths, cwd }: ExtractOptions): Promise<ExtractedMessages>;
|
|
12
19
|
//#endregion
|
|
13
|
-
export {
|
|
20
|
+
export {};
|
|
14
21
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/extract.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../types/dist/index.d.mts","../src/extract.ts"],"mappings":";;;KA+DY;EACV;EACA;EACA;EACA;EACA;;KAEU,oBAAoB,eAAe;;;KC7D1C;EACJ;EACA;;wBAGqB,UACrB,YACA,OACE,iBAAiB,QAAQ"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region ../types/dist/index.d.mts
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/message.d.ts
|
|
4
|
+
type ExtractedMessage = {
|
|
5
|
+
id: string;
|
|
6
|
+
value: string;
|
|
7
|
+
context: string;
|
|
8
|
+
files: string[];
|
|
9
|
+
chunksIds: string[];
|
|
10
|
+
};
|
|
11
|
+
type ExtractedMessages = Record<string, ExtractedMessage>;
|
|
12
|
+
//#endregion
|
|
3
13
|
//#region src/extract.d.ts
|
|
4
14
|
type ExtractOptions = {
|
|
5
15
|
filesPaths: readonly string[];
|
|
6
16
|
cwd: string;
|
|
7
17
|
};
|
|
8
|
-
declare function extract({
|
|
9
|
-
filesPaths,
|
|
10
|
-
cwd
|
|
11
|
-
}: ExtractOptions): Promise<ExtractedMessages>;
|
|
18
|
+
export declare function extract({ filesPaths, cwd }: ExtractOptions): Promise<ExtractedMessages>;
|
|
12
19
|
//#endregion
|
|
13
|
-
export {
|
|
20
|
+
export {};
|
|
14
21
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/extract.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../types/dist/index.d.mts","../src/extract.ts"],"mappings":";;;KA+DY;EACV;EACA;EACA;EACA;EACA;;KAEU,oBAAoB,eAAe;;;KC7D1C;EACJ;EACA;;wBAGqB,UACrB,YACA,OACE,iBAAiB,QAAQ"}
|