@prosopo/datasets-fs 3.0.154 → 3.0.156
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/.turbo/turbo-build$colon$cjs.log +1 -1
- package/.turbo/turbo-build$colon$esm.log +1 -1
- package/.turbo/turbo-build$colon$tsc.log +10 -10
- package/CHANGELOG.md +24 -0
- package/dist/tsc/commands/flatten.d.ts +8 -8
- package/dist/tsc/commands/generate.d.ts +3 -4
- package/dist/tsc/commands/generate.d.ts.map +1 -1
- package/dist/tsc/commands/generateV1.d.ts +8 -10
- package/dist/tsc/commands/generateV1.d.ts.map +1 -1
- package/dist/tsc/commands/generateV2.d.ts +8 -10
- package/dist/tsc/commands/generateV2.d.ts.map +1 -1
- package/dist/tsc/commands/get.d.ts +4 -4
- package/dist/tsc/commands/labels.d.ts +6 -6
- package/dist/tsc/commands/relocate.d.ts +8 -8
- package/dist/tsc/commands/resize.d.ts +8 -8
- package/dist/tsc/tests/utils.d.ts.map +1 -1
- package/dist/tsc/utils/inputOutput.d.ts +3 -3
- package/dist/types/commands/flatten.d.ts +8 -8
- package/dist/types/commands/generate.d.ts +3 -4
- package/dist/types/commands/generate.d.ts.map +1 -1
- package/dist/types/commands/generateV1.d.ts +8 -10
- package/dist/types/commands/generateV1.d.ts.map +1 -1
- package/dist/types/commands/generateV2.d.ts +8 -10
- package/dist/types/commands/generateV2.d.ts.map +1 -1
- package/dist/types/commands/get.d.ts +4 -4
- package/dist/types/commands/labels.d.ts +6 -6
- package/dist/types/commands/relocate.d.ts +8 -8
- package/dist/types/commands/resize.d.ts +8 -8
- package/dist/types/tests/utils.d.ts.map +1 -1
- package/dist/types/utils/inputOutput.d.ts +3 -3
- package/package.json +9 -9
|
@@ -31,7 +31,7 @@ dist/cjs/index.cjs 0.15 kB │ gzip: 0.14 kB
|
|
|
31
31
|
dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
|
|
32
32
|
dist/cjs/cli/cli.cjs 1.78 kB │ gzip: 0.83 kB
|
|
33
33
|
|
|
34
|
-
[32m✓ built in
|
|
34
|
+
[32m✓ built in 63ms[39m
|
|
35
35
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat/data.json
|
|
36
36
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat_resized/captchas_v1.json
|
|
37
37
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat_resized/captchas_v2.json
|
|
@@ -31,7 +31,7 @@ dist/esm/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
|
|
|
31
31
|
dist/esm/index.js 0.09 kB │ gzip: 0.09 kB
|
|
32
32
|
dist/esm/cli/cli.js 1.56 kB │ gzip: 0.76 kB
|
|
33
33
|
|
|
34
|
-
[32m✓ built in
|
|
34
|
+
[32m✓ built in 49ms[39m
|
|
35
35
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat/data.json
|
|
36
36
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat_resized/captchas_v1.json
|
|
37
37
|
[copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat_resized/captchas_v2.json
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ tsc --build --verbose
|
|
2
|
-
11:
|
|
2
|
+
11:33:14 PM - Projects in this build:
|
|
3
3
|
* ../../dev/config/tsconfig.json
|
|
4
4
|
* ../util/tsconfig.json
|
|
5
5
|
* ../locale/tsconfig.json
|
|
@@ -9,21 +9,21 @@ $ tsc --build --verbose
|
|
|
9
9
|
* ../logger/tsconfig.json
|
|
10
10
|
* tsconfig.json
|
|
11
11
|
|
|
12
|
-
11:
|
|
12
|
+
11:33:14 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/dist/tsc/tsconfig.tsbuildinfo'
|
|
13
13
|
|
|
14
|
-
11:
|
|
14
|
+
11:33:14 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
|
|
15
15
|
|
|
16
|
-
11:
|
|
16
|
+
11:33:14 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/process.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
|
|
17
17
|
|
|
18
|
-
11:
|
|
18
|
+
11:33:14 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
|
|
19
19
|
|
|
20
|
-
11:
|
|
20
|
+
11:33:14 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
|
|
21
21
|
|
|
22
|
-
11:
|
|
22
|
+
11:33:14 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/errorCodes.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
|
|
23
23
|
|
|
24
|
-
11:
|
|
24
|
+
11:33:14 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
|
|
25
25
|
|
|
26
|
-
11:
|
|
26
|
+
11:33:14 PM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
|
|
27
27
|
|
|
28
|
-
11:
|
|
28
|
+
11:33:14 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets-fs/tsconfig.json'...
|
|
29
29
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @prosopo/datasets-fs
|
|
2
2
|
|
|
3
|
+
## 3.0.156
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [f019ec4]
|
|
7
|
+
- @prosopo/types@5.20.1
|
|
8
|
+
- @prosopo/common@3.3.2
|
|
9
|
+
|
|
10
|
+
## 3.0.155
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1966fc1: Bump the npm-minor-and-patch group across 1 directory with 15 updates
|
|
14
|
+
- Updated dependencies [1966fc1]
|
|
15
|
+
- Updated dependencies [c69b636]
|
|
16
|
+
- Updated dependencies [78107d9]
|
|
17
|
+
- Updated dependencies [d6cc6fe]
|
|
18
|
+
- Updated dependencies [f13677e]
|
|
19
|
+
- Updated dependencies [77bd891]
|
|
20
|
+
- Updated dependencies [76b6edd]
|
|
21
|
+
- @prosopo/common@3.3.2
|
|
22
|
+
- @prosopo/logger@2.1.7
|
|
23
|
+
- @prosopo/types@5.20.0
|
|
24
|
+
- @prosopo/util@3.4.0
|
|
25
|
+
- @prosopo/util-crypto@13.6.3
|
|
26
|
+
|
|
3
27
|
## 3.0.154
|
|
4
28
|
### Patch Changes
|
|
5
29
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
input: string;
|
|
12
12
|
output: string;
|
|
13
13
|
overwrite?: boolean | undefined;
|
|
@@ -21,14 +21,14 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
21
21
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
22
22
|
export type Args = z.infer<ArgsSchemaType>;
|
|
23
23
|
export declare class Flatten extends InputOutputCliCommand<ArgsSchemaType> {
|
|
24
|
-
getArgSchema(): z.ZodObject<
|
|
24
|
+
getArgSchema(): z.ZodObject<{
|
|
25
25
|
input: z.ZodString;
|
|
26
|
-
}
|
|
26
|
+
} & {
|
|
27
27
|
output: z.ZodString;
|
|
28
28
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
}
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
input: string;
|
|
33
33
|
output: string;
|
|
34
34
|
overwrite?: boolean | undefined;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type Item, type LabelledItem } from "@prosopo/types";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { OutputCliCommand } from "../utils/output.js";
|
|
4
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
4
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
5
5
|
output: z.ZodString;
|
|
6
|
-
|
|
7
|
-
}, {
|
|
6
|
+
} & {
|
|
8
7
|
labels: z.ZodOptional<z.ZodString>;
|
|
9
8
|
labelled: z.ZodOptional<z.ZodString>;
|
|
10
9
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -14,7 +13,7 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14
13
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
15
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
}
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
17
|
output: string;
|
|
19
18
|
seed: number;
|
|
20
19
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/generate.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,IAAI,EAET,KAAK,YAAY,EAEjB,MAAM,gBAAgB,CAAC;AAexB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAoB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAExE,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/generate.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,IAAI,EAET,KAAK,YAAY,EAEjB,MAAM,gBAAgB,CAAC;AAexB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAoB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAExE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,8BAAsB,QAAQ,CAC7B,CAAC,SAAS,cAAc,CACvB,SAAQ,gBAAgB,CAAC,CAAC,CAAC;IACZ,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6CJ,MAAM,CAAC,IAAI,EAAE,IAAI;IAsBvC,QAAQ,EAAE,YAAY,EAAE,CAAM;IAC9B,UAAU,EAAE,IAAI,EAAE,CAAM;IACxB,MAAM,EAAE,MAAM,EAAE,CAAM;IACtB,eAAe,SAAM;IACrB,iBAAiB,SAAM;IACvB,aAAa,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAAA;KAAE,CAAM;IAChD,OAAO,EAAE,MAAM,EAAE,CAAM;IACvB,UAAU,SAAM;IAEhB,OAAO,CAAC,QAAQ;IAkChB,OAAO,CAAC,UAAU;IAmBI,IAAI,CAAC,IAAI,EAAE,IAAI;CAWrC;AAED,eAAO,MAAM,eAAe,aACjB,YAAY,EAAE,cACZ,IAAI,EAAE,WACT;IACR,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACpC,SAOD,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Generate } from "./generate.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
output: z.ZodString;
|
|
5
|
-
|
|
6
|
-
}, {
|
|
5
|
+
} & {
|
|
7
6
|
labels: z.ZodOptional<z.ZodString>;
|
|
8
7
|
labelled: z.ZodOptional<z.ZodString>;
|
|
9
8
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -13,12 +12,12 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
13
12
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
14
13
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
}
|
|
15
|
+
} & {
|
|
17
16
|
solved: z.ZodOptional<z.ZodNumber>;
|
|
18
17
|
unsolved: z.ZodOptional<z.ZodNumber>;
|
|
19
18
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
20
19
|
maxCorrect: z.ZodOptional<z.ZodNumber>;
|
|
21
|
-
}
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
21
|
output: string;
|
|
23
22
|
seed: number;
|
|
24
23
|
overwrite?: boolean | undefined;
|
|
@@ -52,10 +51,9 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
52
51
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
53
52
|
export type Args = z.infer<ArgsSchemaType>;
|
|
54
53
|
export declare class GenerateV1 extends Generate<ArgsSchemaType> {
|
|
55
|
-
getArgSchema(): z.ZodObject<
|
|
54
|
+
getArgSchema(): z.ZodObject<{
|
|
56
55
|
output: z.ZodString;
|
|
57
|
-
|
|
58
|
-
}, {
|
|
56
|
+
} & {
|
|
59
57
|
labels: z.ZodOptional<z.ZodString>;
|
|
60
58
|
labelled: z.ZodOptional<z.ZodString>;
|
|
61
59
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -65,12 +63,12 @@ export declare class GenerateV1 extends Generate<ArgsSchemaType> {
|
|
|
65
63
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
66
64
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
67
65
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
}
|
|
66
|
+
} & {
|
|
69
67
|
solved: z.ZodOptional<z.ZodNumber>;
|
|
70
68
|
unsolved: z.ZodOptional<z.ZodNumber>;
|
|
71
69
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
72
70
|
maxCorrect: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
}
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
72
|
output: string;
|
|
75
73
|
seed: number;
|
|
76
74
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateV1.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV1.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generateV1.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV1.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,qBAAa,UAAW,SAAQ,QAAQ,CAAC,cAAc,CAAC;IACvC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIZ,cAAc,IAAI,MAAM;IAIxB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqB1B,OAAO,CAAC,cAAc;IA+FtB,OAAO,CAAC,gBAAgB;IAwDF,IAAI,CAAC,IAAI,EAAE,IAAI;CA6CrC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Generate } from "./generate.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
output: z.ZodString;
|
|
5
|
-
|
|
6
|
-
}, {
|
|
5
|
+
} & {
|
|
7
6
|
labels: z.ZodOptional<z.ZodString>;
|
|
8
7
|
labelled: z.ZodOptional<z.ZodString>;
|
|
9
8
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -13,13 +12,13 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
13
12
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
14
13
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
}
|
|
15
|
+
} & {
|
|
17
16
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
18
17
|
minIncorrect: z.ZodOptional<z.ZodNumber>;
|
|
19
18
|
minLabelled: z.ZodOptional<z.ZodNumber>;
|
|
20
19
|
maxLabelled: z.ZodOptional<z.ZodNumber>;
|
|
21
20
|
count: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
}
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
22
|
output: string;
|
|
24
23
|
seed: number;
|
|
25
24
|
overwrite?: boolean | undefined;
|
|
@@ -56,10 +55,9 @@ export type ArgsSchemaType = typeof ArgsSchema;
|
|
|
56
55
|
export type Args = z.infer<ArgsSchemaType>;
|
|
57
56
|
export declare class GenerateV2 extends Generate<ArgsSchemaType> {
|
|
58
57
|
#private;
|
|
59
|
-
getArgSchema(): z.ZodObject<
|
|
58
|
+
getArgSchema(): z.ZodObject<{
|
|
60
59
|
output: z.ZodString;
|
|
61
|
-
|
|
62
|
-
}, {
|
|
60
|
+
} & {
|
|
63
61
|
labels: z.ZodOptional<z.ZodString>;
|
|
64
62
|
labelled: z.ZodOptional<z.ZodString>;
|
|
65
63
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -69,13 +67,13 @@ export declare class GenerateV2 extends Generate<ArgsSchemaType> {
|
|
|
69
67
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
70
68
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
71
69
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
}
|
|
70
|
+
} & {
|
|
73
71
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
74
72
|
minIncorrect: z.ZodOptional<z.ZodNumber>;
|
|
75
73
|
minLabelled: z.ZodOptional<z.ZodNumber>;
|
|
76
74
|
maxLabelled: z.ZodOptional<z.ZodNumber>;
|
|
77
75
|
count: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
77
|
output: string;
|
|
80
78
|
seed: number;
|
|
81
79
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateV2.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV2.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generateV2.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV2.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,qBAAa,UAAW,SAAQ,QAAQ,CAAC,cAAc,CAAC;;IAmBvC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIZ,cAAc,IAAI,MAAM;IAIxB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyB1B,OAAO,CAAC,WAAW;IA4DG,IAAI,CAAC,IAAI,EAAE,IAAI;CAyIrC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputCliCommand } from "../utils/input.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
},
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
6
|
input: string;
|
|
7
7
|
}, {
|
|
8
8
|
input: string;
|
|
@@ -10,9 +10,9 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10
10
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
11
11
|
export type Args = z.infer<ArgsSchemaType>;
|
|
12
12
|
export declare class Get extends InputCliCommand<ArgsSchemaType> {
|
|
13
|
-
getArgSchema(): z.ZodObject<
|
|
13
|
+
getArgSchema(): z.ZodObject<{
|
|
14
14
|
input: z.ZodString;
|
|
15
|
-
},
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
input: string;
|
|
17
17
|
}, {
|
|
18
18
|
input: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
input: string;
|
|
10
10
|
output: string;
|
|
11
11
|
overwrite?: boolean | undefined;
|
|
@@ -17,12 +17,12 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
17
17
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
18
18
|
export type Args = z.infer<ArgsSchemaType>;
|
|
19
19
|
export declare class Labels extends InputOutputCliCommand<ArgsSchemaType> {
|
|
20
|
-
getArgSchema(): z.ZodObject<
|
|
20
|
+
getArgSchema(): z.ZodObject<{
|
|
21
21
|
input: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
output: z.ZodString;
|
|
24
24
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
input: string;
|
|
27
27
|
output: string;
|
|
28
28
|
overwrite?: boolean | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
from: z.ZodString;
|
|
10
10
|
to: z.ZodString;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
input: string;
|
|
13
13
|
output: string;
|
|
14
14
|
from: string;
|
|
@@ -24,15 +24,15 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
24
24
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
25
25
|
export type Args = z.infer<ArgsSchemaType>;
|
|
26
26
|
export declare class Relocate extends InputOutputCliCommand<ArgsSchemaType> {
|
|
27
|
-
getArgSchema(): z.ZodObject<
|
|
27
|
+
getArgSchema(): z.ZodObject<{
|
|
28
28
|
input: z.ZodString;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
output: z.ZodString;
|
|
31
31
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
from: z.ZodString;
|
|
34
34
|
to: z.ZodString;
|
|
35
|
-
}
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
input: string;
|
|
37
37
|
output: string;
|
|
38
38
|
from: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
size: z.ZodNumber;
|
|
10
10
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
input: string;
|
|
13
13
|
output: string;
|
|
14
14
|
size: number;
|
|
@@ -24,15 +24,15 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
24
24
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
25
25
|
export type Args = z.infer<ArgsSchemaType>;
|
|
26
26
|
export declare class Resize extends InputOutputCliCommand<ArgsSchemaType> {
|
|
27
|
-
getArgSchema(): z.ZodObject<
|
|
27
|
+
getArgSchema(): z.ZodObject<{
|
|
28
28
|
input: z.ZodString;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
output: z.ZodString;
|
|
31
31
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
size: z.ZodNumber;
|
|
34
34
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
}
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
input: string;
|
|
37
37
|
output: string;
|
|
38
38
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tests/utils.ts"],"names":[],"mappings":"AAeA,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,gBAAgB,CAAC;AAIxB,wBAAiB,MAAM,CACtB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GACC,SAAS,CAAC,MAAM,CAAC,CAcnB;AAGD,eAAO,MAAM,IAAI,SAAU,MAAM,QAAQ,MAAM,YAiC9C,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tests/utils.ts"],"names":[],"mappings":"AAeA,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,gBAAgB,CAAC;AAIxB,wBAAiB,MAAM,CACtB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GACC,SAAS,CAAC,MAAM,CAAC,CAcnB;AAGD,eAAO,MAAM,IAAI,SAAU,MAAM,QAAQ,MAAM,YAiC9C,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,MAAM;;;;;aAiEmnZ,CAAC;;CA3D3pZ,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAS,MAAM;;;;;;;;;iBAyD05f,CAAC;wBAA8C,CAAC;gBAAsC,CAAC;kBAA0C,CAAC;iBAAyC,CAAC;;;CApDjngB,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,MAAM,QAAQ,MAAM,YAItD,CAAC;AAEF,eAAO,MAAM,UAAU,UACf,iBAAiB,UAChB,iBAAiB,YAoBzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C,eAAO,MAAM,QAAQ,QAAyC,CAAC;AAI/D,eAAO,MAAM,iBAAiB,YAAa,MAAM,QAAQ,MAAM,KAAG,MAKjE,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAS,MAAM,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,OAMlE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as z from "zod";
|
|
2
2
|
import { CliCommandComposite } from "../cli/cliCommandComposite.js";
|
|
3
|
-
export declare const InputOutputArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const InputOutputArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
input: string;
|
|
10
10
|
output: string;
|
|
11
11
|
overwrite?: boolean | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
input: string;
|
|
12
12
|
output: string;
|
|
13
13
|
overwrite?: boolean | undefined;
|
|
@@ -21,14 +21,14 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
21
21
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
22
22
|
export type Args = z.infer<ArgsSchemaType>;
|
|
23
23
|
export declare class Flatten extends InputOutputCliCommand<ArgsSchemaType> {
|
|
24
|
-
getArgSchema(): z.ZodObject<
|
|
24
|
+
getArgSchema(): z.ZodObject<{
|
|
25
25
|
input: z.ZodString;
|
|
26
|
-
}
|
|
26
|
+
} & {
|
|
27
27
|
output: z.ZodString;
|
|
28
28
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
}
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
input: string;
|
|
33
33
|
output: string;
|
|
34
34
|
overwrite?: boolean | undefined;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type Item, type LabelledItem } from "@prosopo/types";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { OutputCliCommand } from "../utils/output.js";
|
|
4
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
4
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
5
5
|
output: z.ZodString;
|
|
6
|
-
|
|
7
|
-
}, {
|
|
6
|
+
} & {
|
|
8
7
|
labels: z.ZodOptional<z.ZodString>;
|
|
9
8
|
labelled: z.ZodOptional<z.ZodString>;
|
|
10
9
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -14,7 +13,7 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14
13
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
15
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
}
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
17
|
output: string;
|
|
19
18
|
seed: number;
|
|
20
19
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/generate.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,IAAI,EAET,KAAK,YAAY,EAEjB,MAAM,gBAAgB,CAAC;AAexB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAoB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAExE,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/generate.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,IAAI,EAET,KAAK,YAAY,EAEjB,MAAM,gBAAgB,CAAC;AAexB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAoB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAExE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,8BAAsB,QAAQ,CAC7B,CAAC,SAAS,cAAc,CACvB,SAAQ,gBAAgB,CAAC,CAAC,CAAC;IACZ,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6CJ,MAAM,CAAC,IAAI,EAAE,IAAI;IAsBvC,QAAQ,EAAE,YAAY,EAAE,CAAM;IAC9B,UAAU,EAAE,IAAI,EAAE,CAAM;IACxB,MAAM,EAAE,MAAM,EAAE,CAAM;IACtB,eAAe,SAAM;IACrB,iBAAiB,SAAM;IACvB,aAAa,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAAA;KAAE,CAAM;IAChD,OAAO,EAAE,MAAM,EAAE,CAAM;IACvB,UAAU,SAAM;IAEhB,OAAO,CAAC,QAAQ;IAkChB,OAAO,CAAC,UAAU;IAmBI,IAAI,CAAC,IAAI,EAAE,IAAI;CAWrC;AAED,eAAO,MAAM,eAAe,aACjB,YAAY,EAAE,cACZ,IAAI,EAAE,WACT;IACR,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACpC,SAOD,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Generate } from "./generate.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
output: z.ZodString;
|
|
5
|
-
|
|
6
|
-
}, {
|
|
5
|
+
} & {
|
|
7
6
|
labels: z.ZodOptional<z.ZodString>;
|
|
8
7
|
labelled: z.ZodOptional<z.ZodString>;
|
|
9
8
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -13,12 +12,12 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
13
12
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
14
13
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
}
|
|
15
|
+
} & {
|
|
17
16
|
solved: z.ZodOptional<z.ZodNumber>;
|
|
18
17
|
unsolved: z.ZodOptional<z.ZodNumber>;
|
|
19
18
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
20
19
|
maxCorrect: z.ZodOptional<z.ZodNumber>;
|
|
21
|
-
}
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
21
|
output: string;
|
|
23
22
|
seed: number;
|
|
24
23
|
overwrite?: boolean | undefined;
|
|
@@ -52,10 +51,9 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
52
51
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
53
52
|
export type Args = z.infer<ArgsSchemaType>;
|
|
54
53
|
export declare class GenerateV1 extends Generate<ArgsSchemaType> {
|
|
55
|
-
getArgSchema(): z.ZodObject<
|
|
54
|
+
getArgSchema(): z.ZodObject<{
|
|
56
55
|
output: z.ZodString;
|
|
57
|
-
|
|
58
|
-
}, {
|
|
56
|
+
} & {
|
|
59
57
|
labels: z.ZodOptional<z.ZodString>;
|
|
60
58
|
labelled: z.ZodOptional<z.ZodString>;
|
|
61
59
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -65,12 +63,12 @@ export declare class GenerateV1 extends Generate<ArgsSchemaType> {
|
|
|
65
63
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
66
64
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
67
65
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
}
|
|
66
|
+
} & {
|
|
69
67
|
solved: z.ZodOptional<z.ZodNumber>;
|
|
70
68
|
unsolved: z.ZodOptional<z.ZodNumber>;
|
|
71
69
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
72
70
|
maxCorrect: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
}
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
72
|
output: string;
|
|
75
73
|
seed: number;
|
|
76
74
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateV1.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV1.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generateV1.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV1.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,qBAAa,UAAW,SAAQ,QAAQ,CAAC,cAAc,CAAC;IACvC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIZ,cAAc,IAAI,MAAM;IAIxB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqB1B,OAAO,CAAC,cAAc;IA+FtB,OAAO,CAAC,gBAAgB;IAwDF,IAAI,CAAC,IAAI,EAAE,IAAI;CA6CrC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Generate } from "./generate.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
output: z.ZodString;
|
|
5
|
-
|
|
6
|
-
}, {
|
|
5
|
+
} & {
|
|
7
6
|
labels: z.ZodOptional<z.ZodString>;
|
|
8
7
|
labelled: z.ZodOptional<z.ZodString>;
|
|
9
8
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -13,13 +12,13 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
13
12
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
14
13
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
}
|
|
15
|
+
} & {
|
|
17
16
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
18
17
|
minIncorrect: z.ZodOptional<z.ZodNumber>;
|
|
19
18
|
minLabelled: z.ZodOptional<z.ZodNumber>;
|
|
20
19
|
maxLabelled: z.ZodOptional<z.ZodNumber>;
|
|
21
20
|
count: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
}
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
22
|
output: string;
|
|
24
23
|
seed: number;
|
|
25
24
|
overwrite?: boolean | undefined;
|
|
@@ -56,10 +55,9 @@ export type ArgsSchemaType = typeof ArgsSchema;
|
|
|
56
55
|
export type Args = z.infer<ArgsSchemaType>;
|
|
57
56
|
export declare class GenerateV2 extends Generate<ArgsSchemaType> {
|
|
58
57
|
#private;
|
|
59
|
-
getArgSchema(): z.ZodObject<
|
|
58
|
+
getArgSchema(): z.ZodObject<{
|
|
60
59
|
output: z.ZodString;
|
|
61
|
-
|
|
62
|
-
}, {
|
|
60
|
+
} & {
|
|
63
61
|
labels: z.ZodOptional<z.ZodString>;
|
|
64
62
|
labelled: z.ZodOptional<z.ZodString>;
|
|
65
63
|
unlabelled: z.ZodOptional<z.ZodString>;
|
|
@@ -69,13 +67,13 @@ export declare class GenerateV2 extends Generate<ArgsSchemaType> {
|
|
|
69
67
|
allowDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
70
68
|
allowDuplicatesLabelled: z.ZodOptional<z.ZodBoolean>;
|
|
71
69
|
allowDuplicatesUnlabelled: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
}
|
|
70
|
+
} & {
|
|
73
71
|
minCorrect: z.ZodOptional<z.ZodNumber>;
|
|
74
72
|
minIncorrect: z.ZodOptional<z.ZodNumber>;
|
|
75
73
|
minLabelled: z.ZodOptional<z.ZodNumber>;
|
|
76
74
|
maxLabelled: z.ZodOptional<z.ZodNumber>;
|
|
77
75
|
count: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
77
|
output: string;
|
|
80
78
|
seed: number;
|
|
81
79
|
overwrite?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateV2.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV2.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"generateV2.d.ts","sourceRoot":"","sources":["../../../src/commands/generateV2.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAoC,MAAM,eAAe,CAAC;AAE3E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,UAAU,CAAC;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE3C,qBAAa,UAAW,SAAQ,QAAQ,CAAC,cAAc,CAAC;;IAmBvC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIZ,cAAc,IAAI,MAAM;IAIxB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyB1B,OAAO,CAAC,WAAW;IA4DG,IAAI,CAAC,IAAI,EAAE,IAAI;CAyIrC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputCliCommand } from "../utils/input.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
},
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
6
|
input: string;
|
|
7
7
|
}, {
|
|
8
8
|
input: string;
|
|
@@ -10,9 +10,9 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10
10
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
11
11
|
export type Args = z.infer<ArgsSchemaType>;
|
|
12
12
|
export declare class Get extends InputCliCommand<ArgsSchemaType> {
|
|
13
|
-
getArgSchema(): z.ZodObject<
|
|
13
|
+
getArgSchema(): z.ZodObject<{
|
|
14
14
|
input: z.ZodString;
|
|
15
|
-
},
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
input: string;
|
|
17
17
|
}, {
|
|
18
18
|
input: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
input: string;
|
|
10
10
|
output: string;
|
|
11
11
|
overwrite?: boolean | undefined;
|
|
@@ -17,12 +17,12 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
17
17
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
18
18
|
export type Args = z.infer<ArgsSchemaType>;
|
|
19
19
|
export declare class Labels extends InputOutputCliCommand<ArgsSchemaType> {
|
|
20
|
-
getArgSchema(): z.ZodObject<
|
|
20
|
+
getArgSchema(): z.ZodObject<{
|
|
21
21
|
input: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
output: z.ZodString;
|
|
24
24
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
input: string;
|
|
27
27
|
output: string;
|
|
28
28
|
overwrite?: boolean | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
from: z.ZodString;
|
|
10
10
|
to: z.ZodString;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
input: string;
|
|
13
13
|
output: string;
|
|
14
14
|
from: string;
|
|
@@ -24,15 +24,15 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
24
24
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
25
25
|
export type Args = z.infer<ArgsSchemaType>;
|
|
26
26
|
export declare class Relocate extends InputOutputCliCommand<ArgsSchemaType> {
|
|
27
|
-
getArgSchema(): z.ZodObject<
|
|
27
|
+
getArgSchema(): z.ZodObject<{
|
|
28
28
|
input: z.ZodString;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
output: z.ZodString;
|
|
31
31
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
from: z.ZodString;
|
|
34
34
|
to: z.ZodString;
|
|
35
|
-
}
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
input: string;
|
|
37
37
|
output: string;
|
|
38
38
|
from: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { InputOutputCliCommand } from "../utils/inputOutput.js";
|
|
3
|
-
export declare const ArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
size: z.ZodNumber;
|
|
10
10
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
input: string;
|
|
13
13
|
output: string;
|
|
14
14
|
size: number;
|
|
@@ -24,15 +24,15 @@ export declare const ArgsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
24
24
|
export type ArgsSchemaType = typeof ArgsSchema;
|
|
25
25
|
export type Args = z.infer<ArgsSchemaType>;
|
|
26
26
|
export declare class Resize extends InputOutputCliCommand<ArgsSchemaType> {
|
|
27
|
-
getArgSchema(): z.ZodObject<
|
|
27
|
+
getArgSchema(): z.ZodObject<{
|
|
28
28
|
input: z.ZodString;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
output: z.ZodString;
|
|
31
31
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
size: z.ZodNumber;
|
|
34
34
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
}
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
input: string;
|
|
37
37
|
output: string;
|
|
38
38
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tests/utils.ts"],"names":[],"mappings":"AAeA,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,gBAAgB,CAAC;AAIxB,wBAAiB,MAAM,CACtB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GACC,SAAS,CAAC,MAAM,CAAC,CAcnB;AAGD,eAAO,MAAM,IAAI,SAAU,MAAM,QAAQ,MAAM,YAiC9C,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tests/utils.ts"],"names":[],"mappings":"AAeA,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,gBAAgB,CAAC;AAIxB,wBAAiB,MAAM,CACtB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GACC,SAAS,CAAC,MAAM,CAAC,CAcnB;AAGD,eAAO,MAAM,IAAI,SAAU,MAAM,QAAQ,MAAM,YAiC9C,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,MAAM;;;;;aAiEmnZ,CAAC;;CA3D3pZ,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAS,MAAM;;;;;;;;;iBAyD05f,CAAC;wBAA8C,CAAC;gBAAsC,CAAC;kBAA0C,CAAC;iBAAyC,CAAC;;;CApDjngB,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,MAAM,QAAQ,MAAM,YAItD,CAAC;AAEF,eAAO,MAAM,UAAU,UACf,iBAAiB,UAChB,iBAAiB,YAoBzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C,eAAO,MAAM,QAAQ,QAAyC,CAAC;AAI/D,eAAO,MAAM,iBAAiB,YAAa,MAAM,QAAQ,MAAM,KAAG,MAKjE,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAS,MAAM,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,OAMlE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as z from "zod";
|
|
2
2
|
import { CliCommandComposite } from "../cli/cliCommandComposite.js";
|
|
3
|
-
export declare const InputOutputArgsSchema: z.ZodObject<
|
|
3
|
+
export declare const InputOutputArgsSchema: z.ZodObject<{
|
|
4
4
|
input: z.ZodString;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
output: z.ZodString;
|
|
7
7
|
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
input: string;
|
|
10
10
|
output: string;
|
|
11
11
|
overwrite?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/datasets-fs",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.156",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"private": false,
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@noble/hashes": "2.4.0",
|
|
22
|
-
"@prosopo/common": "3.3.
|
|
23
|
-
"@prosopo/logger": "2.1.
|
|
24
|
-
"@prosopo/types": "5.
|
|
25
|
-
"@prosopo/util": "3.
|
|
26
|
-
"@prosopo/util-crypto": "13.6.
|
|
22
|
+
"@prosopo/common": "3.3.2",
|
|
23
|
+
"@prosopo/logger": "2.1.7",
|
|
24
|
+
"@prosopo/types": "5.20.1",
|
|
25
|
+
"@prosopo/util": "3.4.0",
|
|
26
|
+
"@prosopo/util-crypto": "13.6.3",
|
|
27
27
|
"bcrypt": "6.0.0",
|
|
28
28
|
"cli-progress": "3.12.0",
|
|
29
29
|
"sharp": "0.35.5",
|
|
30
30
|
"yargs": "18.2.0",
|
|
31
|
-
"zod": "3.
|
|
31
|
+
"zod": "3.25.76"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@prosopo/config": "3.5.
|
|
34
|
+
"@prosopo/config": "3.5.2",
|
|
35
35
|
"@types/bcrypt": "6.0.0",
|
|
36
36
|
"@types/cli-progress": "3.11.6",
|
|
37
37
|
"@types/node": "22.10.2",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@vitest/coverage-v8": "5.0.4",
|
|
40
40
|
"concurrently": "9.0.1",
|
|
41
41
|
"del-cli": "6.0.0",
|
|
42
|
-
"dotenv": "18.0.
|
|
42
|
+
"dotenv": "18.0.8",
|
|
43
43
|
"npm-run-all": "4.1.5",
|
|
44
44
|
"tslib": "2.7.0",
|
|
45
45
|
"tsx": "4.20.3",
|