@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 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
- npm install
12
+ pnpm install
13
13
  ```
14
14
 
15
15
  Build the library:
16
16
 
17
17
  ```shell
18
- npm run build
18
+ pnpm run build
19
19
  ```
20
20
 
21
21
  Run all tests:
22
22
 
23
23
  ```shell
24
- npm run test
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.ZodPipe<z.ZodTransform<string | undefined, string | Date | undefined>, z.ZodISODateTime>;
55
- updatedAt: z.ZodNullable<z.ZodPipe<z.ZodTransform<string | undefined, string | Date | undefined>, z.ZodISODateTime>>;
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.ZodPipe<z.ZodTransform<string | undefined, string | Date | undefined>, z.ZodISODateTime>;
116
- updatedAt: z.ZodNullable<z.ZodPipe<z.ZodTransform<string | undefined, string | Date | undefined>, z.ZodISODateTime>>;
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
- "name": "@lokalise/maestro-nextgen-tenant-lib",
3
- "version": "8.1.0",
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
- "scripts": {
25
- "build": "rimraf dist && tsc --project tsconfig.build.json",
26
- "build:watch": "rimraf dist && tsc --project tsconfig.build.json --watch",
27
- "test": "vitest",
28
- "test:coverage": "vitest --coverage",
29
- "test:ci": "npm run lint && npm run test:coverage",
30
- "test:update-snapshots": "vitest -u",
31
- "lint": "biome check . && tsc",
32
- "lint:fix": "biome check --write",
33
- "version": "auto-changelog -p && git add CHANGELOG.md",
34
- "prepublishOnly": "npm run build",
35
- "package-version": "echo $npm_package_version"
36
- },
37
- "engines": {
38
- "node": ">=20.12.2"
39
- },
40
- "dependencies": {
41
- "@message-queue-toolkit/schemas": "^7.1.0"
42
- },
43
- "peerDependencies": {
44
- "@lokalise/api-contracts": ">=6.5.1",
45
- "@lokalise/common-api-schemas": ">=2.1.0",
46
- "@lokalise/maestro-common": ">=6.0.0",
47
- "@lokalise/translation-storage-api-schemas": ">=8.4.0",
48
- "@lokalise/translation-storage-events-schemas": ">=6.1.0",
49
- "zod": ">=4.3.6"
50
- },
51
- "devDependencies": {
52
- "@biomejs/biome": "^2.4.11",
53
- "@lokalise/biome-config": "^3.1.1",
54
- "@lokalise/common-api-schemas": "^2.1.1",
55
- "@lokalise/id-utils": "^3.0.1",
56
- "@lokalise/maestro-common": "*",
57
- "@lokalise/tsconfig": "~3.1.0",
58
- "@types/node": "^25.6.0",
59
- "@vitest/coverage-v8": "^4.1.3",
60
- "auto-changelog": "^2.5.0",
61
- "rimraf": "^6.1.3",
62
- "tslib": "^2.8.1",
63
- "typescript": "^6.0.2",
64
- "vitest": "^4.1.3",
65
- "zod": "^4.3.6"
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
+ }