@lokalise/maestro-nextgen-tenant-lib 8.1.0 → 8.1.1
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 -3
- package/dist/event-schemas/segment.d.ts +4 -4
- package/package.json +65 -66
package/README.md
CHANGED
|
@@ -9,17 +9,17 @@ This library provides shared objects, types and zod schemas for NextGen tenant t
|
|
|
9
9
|
Install all dependencies:
|
|
10
10
|
|
|
11
11
|
```shell
|
|
12
|
-
|
|
12
|
+
pnpm install
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Build the library:
|
|
16
16
|
|
|
17
17
|
```shell
|
|
18
|
-
|
|
18
|
+
pnpm run build
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Run all tests:
|
|
22
22
|
|
|
23
23
|
```shell
|
|
24
|
-
|
|
24
|
+
pnpm run test
|
|
25
25
|
```
|
|
@@ -51,8 +51,8 @@ export declare const AutopilotSegmentEvents: {
|
|
|
51
51
|
prefix: z.ZodOptional<z.ZodString>;
|
|
52
52
|
suffix: z.ZodOptional<z.ZodString>;
|
|
53
53
|
}, z.core.$strip>>>;
|
|
54
|
-
createdAt: z.
|
|
55
|
-
updatedAt: z.
|
|
54
|
+
createdAt: z.ZodISODateTime;
|
|
55
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
56
56
|
}, z.core.$strip>>;
|
|
57
57
|
translationSourceContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
58
58
|
type: z.ZodLiteral<"TRANSLATION_MEMORY">;
|
|
@@ -112,8 +112,8 @@ export declare const AutopilotSegmentEvents: {
|
|
|
112
112
|
prefix: z.ZodOptional<z.ZodString>;
|
|
113
113
|
suffix: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, z.core.$strip>>>;
|
|
115
|
-
createdAt: z.
|
|
116
|
-
updatedAt: z.
|
|
115
|
+
createdAt: z.ZodISODateTime;
|
|
116
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
117
117
|
}, z.core.$strip>>;
|
|
118
118
|
translationSourceContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
119
119
|
type: z.ZodLiteral<"TRANSLATION_MEMORY">;
|
package/package.json
CHANGED
|
@@ -1,67 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
2
|
+
"name": "@lokalise/maestro-nextgen-tenant-lib",
|
|
3
|
+
"version": "8.1.1",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"homepage": "https://github.com/lokalise/maestro",
|
|
6
|
+
"description": "This library provides objects, types and zod schemas for NextGen tenant to work with Maestro",
|
|
7
|
+
"author": "",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/lokalise/maestro/issues"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git://github.com/lokalise/maestro.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": "./dist/index.js",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.12.2"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@lokalise/api-common": "^6.1.2",
|
|
29
|
+
"@message-queue-toolkit/schemas": "^7.1.0"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"@lokalise/api-contracts": ">=6.9.0",
|
|
33
|
+
"@lokalise/common-api-schemas": ">=2.1.0",
|
|
34
|
+
"@lokalise/maestro-common": ">=6.0.0",
|
|
35
|
+
"@lokalise/translation-storage-api-schemas": ">=8.4.0",
|
|
36
|
+
"@lokalise/translation-storage-events-schemas": ">=6.1.0",
|
|
37
|
+
"zod": ">=4.3.6"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@biomejs/biome": "2.4.12",
|
|
41
|
+
"@lokalise/biome-config": "^3.1.1",
|
|
42
|
+
"@lokalise/common-api-schemas": "^2.1.1",
|
|
43
|
+
"@lokalise/id-utils": "^3.0.1",
|
|
44
|
+
"@lokalise/tsconfig": "~3.1.0",
|
|
45
|
+
"@types/node": "^25.6.0",
|
|
46
|
+
"@vitest/coverage-v8": "4.1.4",
|
|
47
|
+
"auto-changelog": "^2.5.0",
|
|
48
|
+
"rimraf": "^6.1.3",
|
|
49
|
+
"tslib": "^2.8.1",
|
|
50
|
+
"typescript": "^6.0.2",
|
|
51
|
+
"vitest": "4.1.4",
|
|
52
|
+
"zod": "^4.3.6"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "rimraf dist && tsc --project tsconfig.build.json",
|
|
56
|
+
"build:watch": "rimraf dist && tsc --project tsconfig.build.json --watch",
|
|
57
|
+
"test": "vitest",
|
|
58
|
+
"test:coverage": "vitest --coverage",
|
|
59
|
+
"test:ci": "pnpm run lint && pnpm run test:coverage",
|
|
60
|
+
"test:update-snapshots": "vitest -u",
|
|
61
|
+
"lint": "biome check . && tsc",
|
|
62
|
+
"lint:fix": "biome check --write",
|
|
63
|
+
"version": "auto-changelog -p && git add CHANGELOG.md",
|
|
64
|
+
"package-version": "echo $npm_package_version"
|
|
65
|
+
}
|
|
66
|
+
}
|