@arbiwallet/contracts 1.0.121 → 1.0.123

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/gen/content.ts CHANGED
@@ -40,7 +40,7 @@ export interface GetPublicDocumentsResponse {
40
40
  }
41
41
 
42
42
  export interface GetPublicDocumentRequest {
43
- code: string;
43
+ slug: string;
44
44
  }
45
45
 
46
46
  export interface GetPublicDocumentResponse {
@@ -57,6 +57,7 @@ export interface GetPublicStoriesResponse {
57
57
  export interface CreateBannerRequest {
58
58
  imageUrl: string;
59
59
  order: number;
60
+ link?: string | undefined;
60
61
  }
61
62
 
62
63
  export interface CreateBannerResponse {
@@ -281,9 +282,8 @@ export interface ReorderBlogsResponse {
281
282
  }
282
283
 
283
284
  export interface CreateDocumentRequest {
284
- title: string;
285
+ slug: string;
285
286
  body: string;
286
- code: string;
287
287
  }
288
288
 
289
289
  export interface CreateDocumentResponse {
@@ -363,6 +363,7 @@ export interface Banner {
363
363
  id: number;
364
364
  imageUrl: string;
365
365
  order: number;
366
+ link?: string | undefined;
366
367
  }
367
368
 
368
369
  export interface FaqItem {
@@ -411,8 +412,7 @@ export interface Blog {
411
412
 
412
413
  export interface Document {
413
414
  id: number;
414
- code: string;
415
- title: string;
415
+ slug: string;
416
416
  body: string;
417
417
  createdAt: string;
418
418
  updatedAt: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.121",
4
+ "version": "1.0.123",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -99,7 +99,7 @@ message GetPublicDocumentsResponse {
99
99
  }
100
100
 
101
101
  message GetPublicDocumentRequest {
102
- string code = 1;
102
+ string slug = 1;
103
103
  }
104
104
 
105
105
  message GetPublicDocumentResponse {
@@ -117,6 +117,7 @@ message GetPublicStoriesResponse {
117
117
  message CreateBannerRequest {
118
118
  string image_url = 1;
119
119
  int32 order = 2;
120
+ optional string link = 3;
120
121
  }
121
122
 
122
123
  message CreateBannerResponse {
@@ -332,9 +333,8 @@ message ReorderBlogsResponse {}
332
333
  // --- DOCUMENT ---
333
334
 
334
335
  message CreateDocumentRequest {
335
- string title = 1;
336
+ string slug = 1;
336
337
  string body = 2;
337
- string code = 3;
338
338
  }
339
339
 
340
340
  message CreateDocumentResponse {
@@ -413,6 +413,7 @@ message Banner {
413
413
  int32 id = 1;
414
414
  string image_url = 2;
415
415
  int32 order = 3;
416
+ optional string link = 4;
416
417
  }
417
418
 
418
419
  message FaqItem {
@@ -461,11 +462,10 @@ message Blog {
461
462
 
462
463
  message Document {
463
464
  int32 id = 1;
464
- string code = 2;
465
- string title = 3;
466
- string body = 4;
467
- string created_at = 5;
468
- string updated_at = 6;
465
+ string slug = 2;
466
+ string body = 3;
467
+ string created_at = 4;
468
+ string updated_at = 5;
469
469
  }
470
470
 
471
471
  message Story {