@company-semantics/contracts 1.6.0 → 1.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -99,6 +99,7 @@
99
99
  "release": "npx tsx scripts/release.ts",
100
100
  "prepublishOnly": "echo 'ERROR: Publishing is CI-only via tag push. Use pnpm release instead.' && exit 1",
101
101
  "test": "vitest run",
102
+ "test:run": "vitest run",
102
103
  "generate:spec-hash": "tsx scripts/generate-spec-hash.ts",
103
104
  "generate:api": "pnpm generate:api-types && pnpm generate:spec-hash",
104
105
  "generate:api-types": "openapi-typescript openapi/backend.yaml -o src/api/generated.ts",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '7b6ec46c4d6a' as const;
3
- export const SPEC_HASH_FULL = '7b6ec46c4d6a112a9b133ad9e815f994f456ec3de2c4ff255fe12ce201445ea8' as const;
2
+ export const SPEC_HASH = '6dcd4788f96e' as const;
3
+ export const SPEC_HASH_FULL = '6dcd4788f96e0955ff7b5fcc0fa336cbaa88d3e8fced75e9f1cce650f8f8c0d7' as const;
@@ -1577,9 +1577,9 @@ export interface paths {
1577
1577
  path?: never;
1578
1578
  cookie?: never;
1579
1579
  };
1580
- /** List per-depth labels + allow_doc policy */
1580
+ /** List per-depth labels */
1581
1581
  get: operations["listOrgLevelConfig"];
1582
- /** Replace per-depth labels + allow_doc policy */
1582
+ /** Replace per-depth labels */
1583
1583
  put: operations["upsertOrgLevelConfig"];
1584
1584
  post?: never;
1585
1585
  delete?: never;
@@ -3113,7 +3113,6 @@ export interface components {
3113
3113
  orgId: string;
3114
3114
  depth: number;
3115
3115
  label: string;
3116
- allowDoc: boolean;
3117
3116
  createdAt: string;
3118
3117
  updatedAt: string;
3119
3118
  }[];
@@ -3124,7 +3123,6 @@ export interface components {
3124
3123
  orgId: string;
3125
3124
  depth: number;
3126
3125
  label: string;
3127
- allowDoc: boolean;
3128
3126
  createdAt: string;
3129
3127
  updatedAt: string;
3130
3128
  }[];
@@ -5789,7 +5787,6 @@ export interface operations {
5789
5787
  entries: {
5790
5788
  depth: number;
5791
5789
  label: string;
5792
- allowDoc: boolean;
5793
5790
  }[];
5794
5791
  };
5795
5792
  };
@@ -133,7 +133,6 @@ describe('OrgLevelConfigSchema', () => {
133
133
  orgId: UUID_B,
134
134
  depth: 2,
135
135
  label: 'Department',
136
- allowDoc: true,
137
136
  createdAt: '2026-04-17T00:00:00Z',
138
137
  updatedAt: '2026-04-17T00:00:00Z',
139
138
  };
@@ -711,7 +711,6 @@ export const OrgLevelConfigSchema = z.object({
711
711
  orgId: z.string().uuid(),
712
712
  depth: z.number().int().min(1).max(5),
713
713
  label: z.string().min(1),
714
- allowDoc: z.boolean(),
715
714
  createdAt: z.string(),
716
715
  updatedAt: z.string(),
717
716
  });