@coworkee/client 0.0.1032 → 0.0.1033

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/schema.d.ts CHANGED
@@ -11111,6 +11111,8 @@ export interface components {
11111
11111
  EntityHistoryPreviewDto: {
11112
11112
  undeletes: boolean;
11113
11113
  fields: components["schemas"]["EntityHistoryFieldDto"][];
11114
+ /** @default */
11115
+ version: string;
11114
11116
  };
11115
11117
  /**
11116
11118
  * @default After
@@ -11122,6 +11124,7 @@ export interface components {
11122
11124
  entryId: string;
11123
11125
  property?: null | string;
11124
11126
  mode: components["schemas"]["EntityHistoryRestoreMode"];
11127
+ version?: null | string;
11125
11128
  };
11126
11129
  EntityHistorySetDto: {
11127
11130
  entityType: string;
package/openapi.json CHANGED
@@ -11801,6 +11801,10 @@
11801
11801
  "items": {
11802
11802
  "$ref": "#/components/schemas/EntityHistoryFieldDto"
11803
11803
  }
11804
+ },
11805
+ "version": {
11806
+ "type": "string",
11807
+ "default": ""
11804
11808
  }
11805
11809
  }
11806
11810
  },
@@ -11831,6 +11835,12 @@
11831
11835
  },
11832
11836
  "mode": {
11833
11837
  "$ref": "#/components/schemas/EntityHistoryRestoreMode"
11838
+ },
11839
+ "version": {
11840
+ "type": [
11841
+ "null",
11842
+ "string"
11843
+ ]
11834
11844
  }
11835
11845
  }
11836
11846
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coworkee/client",
3
- "version": "0.0.1032",
3
+ "version": "0.0.1033",
4
4
  "description": "Typed client for the API of Coworkee apps: OpenAPI types, BFF session, theme, texts and OData helpers",
5
5
  "license": "MIT",
6
6
  "homepage": "https://fgilde.github.io/CoworkeeLib/web/airworks/",
@@ -35,6 +35,7 @@
35
35
  "scripts": {
36
36
  "openapi": "node scripts/openapi.mjs",
37
37
  "generate": "openapi-typescript openapi.json -o src/schema.ts",
38
+ "prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
38
39
  "build": "tsc -p tsconfig.json",
39
40
  "test": "node --test \"test/**/*.test.ts\""
40
41
  },