@b10cks/mgmt-client 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ declare class AiResource {
8
8
 
9
9
  export declare interface Asset {
10
10
  id: string;
11
+ external_id?: string | null;
11
12
  name: string;
12
13
  filename: string;
13
14
  mime_type: string;
@@ -22,6 +23,7 @@ export declare interface Asset {
22
23
 
23
24
  export declare interface AssetFolder {
24
25
  id: string;
26
+ external_id?: string | null;
25
27
  name: string;
26
28
  parent_id: string | null;
27
29
  space_id: string;
@@ -51,6 +53,7 @@ declare class AssetsResource {
51
53
 
52
54
  export declare interface AssetTag {
53
55
  id: string;
56
+ external_id?: string | null;
54
57
  name: string;
55
58
  slug: string;
56
59
  color: string | null;
@@ -81,6 +84,7 @@ export declare interface AvailableModelsParams {
81
84
 
82
85
  export declare interface Block {
83
86
  id: string;
87
+ external_id?: string | null;
84
88
  name: string;
85
89
  slug: string;
86
90
  type: string;
@@ -97,6 +101,7 @@ export declare interface Block {
97
101
 
98
102
  export declare interface BlockFolder {
99
103
  id: string;
104
+ external_id?: string | null;
100
105
  name: string;
101
106
  parent_id: string | null;
102
107
  space_id: string;
@@ -126,6 +131,7 @@ declare class BlocksResource {
126
131
 
127
132
  export declare interface BlockTag {
128
133
  id: string;
134
+ external_id?: string | null;
129
135
  name: string;
130
136
  slug: string;
131
137
  color: string | null;
@@ -152,6 +158,7 @@ export declare interface ClientConfig {
152
158
 
153
159
  export declare interface Content {
154
160
  id: string;
161
+ external_id?: string | null;
155
162
  name: string;
156
163
  slug: string;
157
164
  block_id: string;
@@ -216,6 +223,7 @@ export declare interface CreateTeamParams {
216
223
 
217
224
  export declare interface DataEntry {
218
225
  id: string;
226
+ external_id?: string | null;
219
227
  data_source_id: string;
220
228
  data: Record<string, unknown>;
221
229
  metadata: Record<string, unknown> | null;
@@ -225,6 +233,7 @@ export declare interface DataEntry {
225
233
 
226
234
  export declare interface DataSource {
227
235
  id: string;
236
+ external_id?: string | null;
228
237
  name: string;
229
238
  slug: string;
230
239
  type: string;
@@ -252,6 +261,7 @@ declare class DataSourcesResource {
252
261
 
253
262
  export declare interface GetBlocksParams extends PaginationParams {
254
263
  search?: string;
264
+ external_id?: string;
255
265
  folder_id?: string;
256
266
  tag_id?: string;
257
267
  include_archived?: boolean;
@@ -269,6 +279,7 @@ export declare interface GetContentsParams extends PaginationParams {
269
279
  published_after?: string;
270
280
  search?: string;
271
281
  block_id?: string | string[];
282
+ external_id?: string;
272
283
  published?: boolean;
273
284
  [key: string]: unknown;
274
285
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@b10cks/mgmt-client",
3
3
  "license": "MIT",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "author": "Michael Wallner @ Coder's Cantina",
6
6
  "description": "Management API client for b10cks",
7
7
  "type": "module",