@garchicms/garchi-node-sdk 0.0.5 → 0.0.9

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
@@ -50,12 +50,16 @@ type CreatePageRequest = {
50
50
  title: string;
51
51
  path: string;
52
52
  description: string;
53
+ agent_description?: string;
54
+ json_ld?: string;
53
55
  };
54
56
  type CreatePageResponse = {
55
57
  id: string;
56
58
  title: string;
57
59
  path?: string;
58
60
  slug?: string;
61
+ agent_description?: string;
62
+ json_ld?: string;
59
63
  description: string;
60
64
  image?: string;
61
65
  created_at?: string;
@@ -67,6 +71,8 @@ type GarchiPage = {
67
71
  title: string;
68
72
  slug: string;
69
73
  description: string;
74
+ agent_description?: string;
75
+ json_ld?: string;
70
76
  image?: string;
71
77
  sections: GarchiSection[];
72
78
  };
@@ -79,6 +85,7 @@ interface SectionTemplateProp {
79
85
  interface SectionTemplate {
80
86
  name: string;
81
87
  description?: string;
88
+ agent_description?: string;
82
89
  prev_name?: string;
83
90
  props?: SectionTemplateProp[];
84
91
  id?: string;
@@ -157,11 +164,13 @@ type GarchiSpace = {
157
164
  uid: string;
158
165
  name: string;
159
166
  logo_url?: string;
167
+ agent_description?: string;
160
168
  number_of_items: number;
161
169
  };
162
170
  type GarchiSpaceCreate = {
163
171
  name: string;
164
172
  logo?: File;
173
+ agent_description?: string;
165
174
  };
166
175
  type GarchiSpaceAPIResponse = PaginatedResponse<GarchiSpace>;
167
176
  type GarchiItemMeta = {
@@ -174,6 +183,7 @@ type GarchiItem = {
174
183
  item_id: number;
175
184
  slug: string;
176
185
  sku?: string;
186
+ agent_description?: string;
177
187
  name: string;
178
188
  stock?: number;
179
189
  categories: GarchiCategory[];
@@ -201,6 +211,7 @@ type GarchiAsset = {
201
211
  path: string;
202
212
  size: string;
203
213
  type: string;
214
+ agent_description?: string;
204
215
  };
205
216
  type GarchiCMSInitOptions = {
206
217
  api_key?: string;
@@ -217,6 +228,7 @@ interface CreateDataItemParams {
217
228
  detail_description?: string;
218
229
  external_url?: string;
219
230
  slug?: string;
231
+ agent_description?: string;
220
232
  }
221
233
  interface DeleteDataItemParams {
222
234
  item_id: number;
@@ -235,12 +247,14 @@ interface UpdateDataItemParams {
235
247
  external_url?: string;
236
248
  make_public?: boolean;
237
249
  slug?: string;
250
+ agent_description?: string;
238
251
  }
239
252
  type MetaType = "string" | "array" | "url" | "object" | "numeric" | "email" | "date" | "color" | "icon_hero" | "icon_lucid";
240
253
  interface MetaInfo {
241
254
  key: string;
242
255
  type: MetaType;
243
256
  value: string;
257
+ agent_description?: string;
244
258
  }
245
259
  interface CreateMetaInfoParams {
246
260
  item_id: number;
package/dist/index.d.ts CHANGED
@@ -50,12 +50,16 @@ type CreatePageRequest = {
50
50
  title: string;
51
51
  path: string;
52
52
  description: string;
53
+ agent_description?: string;
54
+ json_ld?: string;
53
55
  };
54
56
  type CreatePageResponse = {
55
57
  id: string;
56
58
  title: string;
57
59
  path?: string;
58
60
  slug?: string;
61
+ agent_description?: string;
62
+ json_ld?: string;
59
63
  description: string;
60
64
  image?: string;
61
65
  created_at?: string;
@@ -67,6 +71,8 @@ type GarchiPage = {
67
71
  title: string;
68
72
  slug: string;
69
73
  description: string;
74
+ agent_description?: string;
75
+ json_ld?: string;
70
76
  image?: string;
71
77
  sections: GarchiSection[];
72
78
  };
@@ -79,6 +85,7 @@ interface SectionTemplateProp {
79
85
  interface SectionTemplate {
80
86
  name: string;
81
87
  description?: string;
88
+ agent_description?: string;
82
89
  prev_name?: string;
83
90
  props?: SectionTemplateProp[];
84
91
  id?: string;
@@ -157,11 +164,13 @@ type GarchiSpace = {
157
164
  uid: string;
158
165
  name: string;
159
166
  logo_url?: string;
167
+ agent_description?: string;
160
168
  number_of_items: number;
161
169
  };
162
170
  type GarchiSpaceCreate = {
163
171
  name: string;
164
172
  logo?: File;
173
+ agent_description?: string;
165
174
  };
166
175
  type GarchiSpaceAPIResponse = PaginatedResponse<GarchiSpace>;
167
176
  type GarchiItemMeta = {
@@ -174,6 +183,7 @@ type GarchiItem = {
174
183
  item_id: number;
175
184
  slug: string;
176
185
  sku?: string;
186
+ agent_description?: string;
177
187
  name: string;
178
188
  stock?: number;
179
189
  categories: GarchiCategory[];
@@ -201,6 +211,7 @@ type GarchiAsset = {
201
211
  path: string;
202
212
  size: string;
203
213
  type: string;
214
+ agent_description?: string;
204
215
  };
205
216
  type GarchiCMSInitOptions = {
206
217
  api_key?: string;
@@ -217,6 +228,7 @@ interface CreateDataItemParams {
217
228
  detail_description?: string;
218
229
  external_url?: string;
219
230
  slug?: string;
231
+ agent_description?: string;
220
232
  }
221
233
  interface DeleteDataItemParams {
222
234
  item_id: number;
@@ -235,12 +247,14 @@ interface UpdateDataItemParams {
235
247
  external_url?: string;
236
248
  make_public?: boolean;
237
249
  slug?: string;
250
+ agent_description?: string;
238
251
  }
239
252
  type MetaType = "string" | "array" | "url" | "object" | "numeric" | "email" | "date" | "color" | "icon_hero" | "icon_lucid";
240
253
  interface MetaInfo {
241
254
  key: string;
242
255
  type: MetaType;
243
256
  value: string;
257
+ agent_description?: string;
244
258
  }
245
259
  interface CreateMetaInfoParams {
246
260
  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.9",
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
+ }