@knowledge-stack/ksapi 1.42.1 → 1.42.3

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
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.42.1
1
+ # @knowledge-stack/ksapi@1.42.3
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -284,7 +284,7 @@ and is automatically generated by the
284
284
  [OpenAPI Generator](https://openapi-generator.tech) project:
285
285
 
286
286
  - API version: `0.1.0`
287
- - Package version: `1.42.1`
287
+ - Package version: `1.42.3`
288
288
  - Generator version: `7.20.0`
289
289
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
290
290
 
@@ -65,6 +65,18 @@ export interface PathPartResponse {
65
65
  * @memberof PathPartResponse
66
66
  */
67
67
  tags?: Array<TagResponse> | null;
68
+ /**
69
+ * Whether the current user can read
70
+ * @type {boolean}
71
+ * @memberof PathPartResponse
72
+ */
73
+ canRead: boolean;
74
+ /**
75
+ * Whether the current user can write
76
+ * @type {boolean}
77
+ * @memberof PathPartResponse
78
+ */
79
+ canWrite: boolean;
68
80
  /**
69
81
  * Creation timestamp
70
82
  * @type {Date}
@@ -31,6 +31,10 @@ export function instanceOfPathPartResponse(value) {
31
31
  return false;
32
32
  if (!('systemManaged' in value) || value['systemManaged'] === undefined)
33
33
  return false;
34
+ if (!('canRead' in value) || value['canRead'] === undefined)
35
+ return false;
36
+ if (!('canWrite' in value) || value['canWrite'] === undefined)
37
+ return false;
34
38
  if (!('createdAt' in value) || value['createdAt'] === undefined)
35
39
  return false;
36
40
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -53,6 +57,8 @@ export function PathPartResponseFromJSONTyped(json, ignoreDiscriminator) {
53
57
  'materializedPath': json['materialized_path'],
54
58
  'systemManaged': json['system_managed'],
55
59
  'tags': json['tags'] == null ? undefined : (json['tags'].map(TagResponseFromJSON)),
60
+ 'canRead': json['can_read'],
61
+ 'canWrite': json['can_write'],
56
62
  'createdAt': (new Date(json['created_at'])),
57
63
  'updatedAt': (new Date(json['updated_at'])),
58
64
  };
@@ -73,6 +79,8 @@ export function PathPartResponseToJSONTyped(value, ignoreDiscriminator = false)
73
79
  'materialized_path': value['materializedPath'],
74
80
  'system_managed': value['systemManaged'],
75
81
  'tags': value['tags'] == null ? undefined : (value['tags'].map(TagResponseToJSON)),
82
+ 'can_read': value['canRead'],
83
+ 'can_write': value['canWrite'],
76
84
  'created_at': value['createdAt'].toISOString(),
77
85
  'updated_at': value['updatedAt'].toISOString(),
78
86
  };
@@ -65,6 +65,18 @@ export interface PathPartResponse {
65
65
  * @memberof PathPartResponse
66
66
  */
67
67
  tags?: Array<TagResponse> | null;
68
+ /**
69
+ * Whether the current user can read
70
+ * @type {boolean}
71
+ * @memberof PathPartResponse
72
+ */
73
+ canRead: boolean;
74
+ /**
75
+ * Whether the current user can write
76
+ * @type {boolean}
77
+ * @memberof PathPartResponse
78
+ */
79
+ canWrite: boolean;
68
80
  /**
69
81
  * Creation timestamp
70
82
  * @type {Date}
@@ -39,6 +39,10 @@ function instanceOfPathPartResponse(value) {
39
39
  return false;
40
40
  if (!('systemManaged' in value) || value['systemManaged'] === undefined)
41
41
  return false;
42
+ if (!('canRead' in value) || value['canRead'] === undefined)
43
+ return false;
44
+ if (!('canWrite' in value) || value['canWrite'] === undefined)
45
+ return false;
42
46
  if (!('createdAt' in value) || value['createdAt'] === undefined)
43
47
  return false;
44
48
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -61,6 +65,8 @@ function PathPartResponseFromJSONTyped(json, ignoreDiscriminator) {
61
65
  'materializedPath': json['materialized_path'],
62
66
  'systemManaged': json['system_managed'],
63
67
  'tags': json['tags'] == null ? undefined : (json['tags'].map(TagResponse_1.TagResponseFromJSON)),
68
+ 'canRead': json['can_read'],
69
+ 'canWrite': json['can_write'],
64
70
  'createdAt': (new Date(json['created_at'])),
65
71
  'updatedAt': (new Date(json['updated_at'])),
66
72
  };
@@ -81,6 +87,8 @@ function PathPartResponseToJSONTyped(value, ignoreDiscriminator = false) {
81
87
  'materialized_path': value['materializedPath'],
82
88
  'system_managed': value['systemManaged'],
83
89
  'tags': value['tags'] == null ? undefined : (value['tags'].map(TagResponse_1.TagResponseToJSON)),
90
+ 'can_read': value['canRead'],
91
+ 'can_write': value['canWrite'],
84
92
  'created_at': value['createdAt'].toISOString(),
85
93
  'updated_at': value['updatedAt'].toISOString(),
86
94
  };
@@ -15,6 +15,8 @@ Name | Type
15
15
  `materializedPath` | string
16
16
  `systemManaged` | boolean
17
17
  `tags` | [Array&lt;TagResponse&gt;](TagResponse.md)
18
+ `canRead` | boolean
19
+ `canWrite` | boolean
18
20
  `createdAt` | Date
19
21
  `updatedAt` | Date
20
22
 
@@ -33,6 +35,8 @@ const example = {
33
35
  "materializedPath": null,
34
36
  "systemManaged": null,
35
37
  "tags": null,
38
+ "canRead": null,
39
+ "canWrite": null,
36
40
  "createdAt": null,
37
41
  "updatedAt": null,
38
42
  } satisfies PathPartResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.42.1",
3
+ "version": "1.42.3",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -82,6 +82,18 @@ export interface PathPartResponse {
82
82
  * @memberof PathPartResponse
83
83
  */
84
84
  tags?: Array<TagResponse> | null;
85
+ /**
86
+ * Whether the current user can read
87
+ * @type {boolean}
88
+ * @memberof PathPartResponse
89
+ */
90
+ canRead: boolean;
91
+ /**
92
+ * Whether the current user can write
93
+ * @type {boolean}
94
+ * @memberof PathPartResponse
95
+ */
96
+ canWrite: boolean;
85
97
  /**
86
98
  * Creation timestamp
87
99
  * @type {Date}
@@ -109,6 +121,8 @@ export function instanceOfPathPartResponse(value: object): value is PathPartResp
109
121
  if (!('metadataObjId' in value) || value['metadataObjId'] === undefined) return false;
110
122
  if (!('materializedPath' in value) || value['materializedPath'] === undefined) return false;
111
123
  if (!('systemManaged' in value) || value['systemManaged'] === undefined) return false;
124
+ if (!('canRead' in value) || value['canRead'] === undefined) return false;
125
+ if (!('canWrite' in value) || value['canWrite'] === undefined) return false;
112
126
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
113
127
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
114
128
  return true;
@@ -132,6 +146,8 @@ export function PathPartResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
132
146
  'materializedPath': json['materialized_path'],
133
147
  'systemManaged': json['system_managed'],
134
148
  'tags': json['tags'] == null ? undefined : ((json['tags'] as Array<any>).map(TagResponseFromJSON)),
149
+ 'canRead': json['can_read'],
150
+ 'canWrite': json['can_write'],
135
151
  'createdAt': (new Date(json['created_at'])),
136
152
  'updatedAt': (new Date(json['updated_at'])),
137
153
  };
@@ -156,6 +172,8 @@ export function PathPartResponseToJSONTyped(value?: PathPartResponse | null, ign
156
172
  'materialized_path': value['materializedPath'],
157
173
  'system_managed': value['systemManaged'],
158
174
  'tags': value['tags'] == null ? undefined : ((value['tags'] as Array<any>).map(TagResponseToJSON)),
175
+ 'can_read': value['canRead'],
176
+ 'can_write': value['canWrite'],
159
177
  'created_at': value['createdAt'].toISOString(),
160
178
  'updated_at': value['updatedAt'].toISOString(),
161
179
  };