@garchicms/garchi-node-sdk 0.0.5 → 0.0.8

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/index.d.cts CHANGED
@@ -56,6 +56,7 @@ type CreatePageResponse = {
56
56
  title: string;
57
57
  path?: string;
58
58
  slug?: string;
59
+ agent_description?: string;
59
60
  description: string;
60
61
  image?: string;
61
62
  created_at?: string;
@@ -67,6 +68,7 @@ type GarchiPage = {
67
68
  title: string;
68
69
  slug: string;
69
70
  description: string;
71
+ agent_description?: string;
70
72
  image?: string;
71
73
  sections: GarchiSection[];
72
74
  };
@@ -79,6 +81,7 @@ interface SectionTemplateProp {
79
81
  interface SectionTemplate {
80
82
  name: string;
81
83
  description?: string;
84
+ agent_description?: string;
82
85
  prev_name?: string;
83
86
  props?: SectionTemplateProp[];
84
87
  id?: string;
@@ -157,11 +160,13 @@ type GarchiSpace = {
157
160
  uid: string;
158
161
  name: string;
159
162
  logo_url?: string;
163
+ agent_description?: string;
160
164
  number_of_items: number;
161
165
  };
162
166
  type GarchiSpaceCreate = {
163
167
  name: string;
164
168
  logo?: File;
169
+ agent_description?: string;
165
170
  };
166
171
  type GarchiSpaceAPIResponse = PaginatedResponse<GarchiSpace>;
167
172
  type GarchiItemMeta = {
@@ -174,6 +179,7 @@ type GarchiItem = {
174
179
  item_id: number;
175
180
  slug: string;
176
181
  sku?: string;
182
+ agent_description?: string;
177
183
  name: string;
178
184
  stock?: number;
179
185
  categories: GarchiCategory[];
@@ -201,6 +207,7 @@ type GarchiAsset = {
201
207
  path: string;
202
208
  size: string;
203
209
  type: string;
210
+ agent_description?: string;
204
211
  };
205
212
  type GarchiCMSInitOptions = {
206
213
  api_key?: string;
@@ -217,6 +224,7 @@ interface CreateDataItemParams {
217
224
  detail_description?: string;
218
225
  external_url?: string;
219
226
  slug?: string;
227
+ agent_description?: string;
220
228
  }
221
229
  interface DeleteDataItemParams {
222
230
  item_id: number;
@@ -235,12 +243,14 @@ interface UpdateDataItemParams {
235
243
  external_url?: string;
236
244
  make_public?: boolean;
237
245
  slug?: string;
246
+ agent_description?: string;
238
247
  }
239
248
  type MetaType = "string" | "array" | "url" | "object" | "numeric" | "email" | "date" | "color" | "icon_hero" | "icon_lucid";
240
249
  interface MetaInfo {
241
250
  key: string;
242
251
  type: MetaType;
243
252
  value: string;
253
+ agent_description?: string;
244
254
  }
245
255
  interface CreateMetaInfoParams {
246
256
  item_id: number;
package/dist/index.d.ts CHANGED
@@ -56,6 +56,7 @@ type CreatePageResponse = {
56
56
  title: string;
57
57
  path?: string;
58
58
  slug?: string;
59
+ agent_description?: string;
59
60
  description: string;
60
61
  image?: string;
61
62
  created_at?: string;
@@ -67,6 +68,7 @@ type GarchiPage = {
67
68
  title: string;
68
69
  slug: string;
69
70
  description: string;
71
+ agent_description?: string;
70
72
  image?: string;
71
73
  sections: GarchiSection[];
72
74
  };
@@ -79,6 +81,7 @@ interface SectionTemplateProp {
79
81
  interface SectionTemplate {
80
82
  name: string;
81
83
  description?: string;
84
+ agent_description?: string;
82
85
  prev_name?: string;
83
86
  props?: SectionTemplateProp[];
84
87
  id?: string;
@@ -157,11 +160,13 @@ type GarchiSpace = {
157
160
  uid: string;
158
161
  name: string;
159
162
  logo_url?: string;
163
+ agent_description?: string;
160
164
  number_of_items: number;
161
165
  };
162
166
  type GarchiSpaceCreate = {
163
167
  name: string;
164
168
  logo?: File;
169
+ agent_description?: string;
165
170
  };
166
171
  type GarchiSpaceAPIResponse = PaginatedResponse<GarchiSpace>;
167
172
  type GarchiItemMeta = {
@@ -174,6 +179,7 @@ type GarchiItem = {
174
179
  item_id: number;
175
180
  slug: string;
176
181
  sku?: string;
182
+ agent_description?: string;
177
183
  name: string;
178
184
  stock?: number;
179
185
  categories: GarchiCategory[];
@@ -201,6 +207,7 @@ type GarchiAsset = {
201
207
  path: string;
202
208
  size: string;
203
209
  type: string;
210
+ agent_description?: string;
204
211
  };
205
212
  type GarchiCMSInitOptions = {
206
213
  api_key?: string;
@@ -217,6 +224,7 @@ interface CreateDataItemParams {
217
224
  detail_description?: string;
218
225
  external_url?: string;
219
226
  slug?: string;
227
+ agent_description?: string;
220
228
  }
221
229
  interface DeleteDataItemParams {
222
230
  item_id: number;
@@ -235,12 +243,14 @@ interface UpdateDataItemParams {
235
243
  external_url?: string;
236
244
  make_public?: boolean;
237
245
  slug?: string;
246
+ agent_description?: string;
238
247
  }
239
248
  type MetaType = "string" | "array" | "url" | "object" | "numeric" | "email" | "date" | "color" | "icon_hero" | "icon_lucid";
240
249
  interface MetaInfo {
241
250
  key: string;
242
251
  type: MetaType;
243
252
  value: string;
253
+ agent_description?: string;
244
254
  }
245
255
  interface CreateMetaInfoParams {
246
256
  item_id: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@garchicms/garchi-node-sdk",
3
3
  "description": "Node SDK for light weight wrapper for Garchi CMS API",
4
- "version": "0.0.5",
4
+ "version": "0.0.8",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -14,7 +14,6 @@
14
14
  },
15
15
  "./package.json": "./package.json"
16
16
  },
17
-
18
17
  "files": [
19
18
  "/dist",
20
19
  "README.md"
@@ -50,4 +49,4 @@
50
49
  "axios": "^1.13.4",
51
50
  "dotenv": "^17.2.3"
52
51
  }
53
- }
52
+ }