@arbiwallet/contracts 1.0.143 → 1.0.145

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
@@ -180,7 +180,7 @@ export interface UpsertAboutResponse {
180
180
  }
181
181
 
182
182
  export interface CreateFilialRequest {
183
- imageUrl: LocalizedString | undefined;
183
+ imageUrl: string;
184
184
  title: LocalizedString | undefined;
185
185
  address: string;
186
186
  order: number;
@@ -230,7 +230,7 @@ export interface GetPublicFilialsResponse {
230
230
  }
231
231
 
232
232
  export interface CreatePartnerRequest {
233
- imageUrl: LocalizedString | undefined;
233
+ imageUrl: string;
234
234
  title: LocalizedString | undefined;
235
235
  url: string;
236
236
  order: number;
@@ -278,12 +278,12 @@ export interface GetPublicPartnersResponse {
278
278
 
279
279
  /** --- BLOG --- */
280
280
  export interface CreateBlogRequest {
281
- title: string;
282
- body?: string | undefined;
281
+ title: LocalizedString | undefined;
282
+ body?: LocalizedString | undefined;
283
283
  author: string;
284
284
  slug: string;
285
285
  publishedAt?: string | undefined;
286
- imageUrl: string;
286
+ imageUrl: LocalizedString | undefined;
287
287
  order?: number | undefined;
288
288
  }
289
289
 
@@ -428,7 +428,7 @@ export interface About {
428
428
 
429
429
  export interface Filial {
430
430
  id: number;
431
- imageUrl: LocalizedString | undefined;
431
+ imageUrl: string;
432
432
  title: LocalizedString | undefined;
433
433
  address: string;
434
434
  order: number;
@@ -439,7 +439,7 @@ export interface Filial {
439
439
 
440
440
  export interface Partner {
441
441
  id: number;
442
- imageUrl: LocalizedString | undefined;
442
+ imageUrl: string;
443
443
  title: LocalizedString | undefined;
444
444
  url: string;
445
445
  order: number;
@@ -447,12 +447,12 @@ export interface Partner {
447
447
 
448
448
  export interface Blog {
449
449
  id: number;
450
- title: string;
451
- body?: string | undefined;
450
+ title: LocalizedString | undefined;
451
+ body?: LocalizedString | undefined;
452
452
  author: string;
453
453
  slug: string;
454
454
  publishedAt?: string | undefined;
455
- imageUrl: string;
455
+ imageUrl: LocalizedString | undefined;
456
456
  order: number;
457
457
  }
458
458
 
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.143",
4
+ "version": "1.0.145",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -242,7 +242,7 @@ message UpsertAboutResponse {
242
242
  // --- FILIAL MESSAGES ---
243
243
 
244
244
  message CreateFilialRequest {
245
- LocalizedString image_url = 1;
245
+ string image_url = 1;
246
246
  LocalizedString title = 2;
247
247
  string address = 3;
248
248
  int32 order = 4;
@@ -290,7 +290,7 @@ message GetPublicFilialsResponse {
290
290
  // --- PARTNER ---
291
291
 
292
292
  message CreatePartnerRequest {
293
- LocalizedString image_url = 1;
293
+ string image_url = 1;
294
294
  LocalizedString title = 2;
295
295
  string url = 3;
296
296
  int32 order = 4;
@@ -334,12 +334,12 @@ message GetPublicPartnersResponse {
334
334
 
335
335
  // --- BLOG ---
336
336
  message CreateBlogRequest {
337
- string title = 1;
338
- optional string body = 2;
337
+ LocalizedString title = 1;
338
+ optional LocalizedString body = 2;
339
339
  string author = 3;
340
340
  string slug = 4;
341
341
  optional string published_at = 5;
342
- string image_url = 6;
342
+ LocalizedString image_url = 6;
343
343
  optional int32 order = 7;
344
344
  }
345
345
 
@@ -482,7 +482,7 @@ message About {
482
482
 
483
483
  message Filial {
484
484
  int32 id = 1;
485
- LocalizedString image_url = 2;
485
+ string image_url = 2;
486
486
  LocalizedString title = 3;
487
487
  string address = 4;
488
488
  int32 order = 5;
@@ -493,7 +493,7 @@ message Filial {
493
493
 
494
494
  message Partner {
495
495
  int32 id = 1;
496
- LocalizedString image_url = 2;
496
+ string image_url = 2;
497
497
  LocalizedString title = 3;
498
498
  string url = 4;
499
499
  int32 order = 5;
@@ -501,12 +501,12 @@ message Partner {
501
501
 
502
502
  message Blog {
503
503
  int32 id = 1;
504
- string title = 2;
505
- optional string body = 3;
504
+ LocalizedString title = 2;
505
+ optional LocalizedString body = 3;
506
506
  string author = 4;
507
507
  string slug = 5;
508
508
  optional string published_at = 6;
509
- string image_url = 7;
509
+ LocalizedString image_url = 7;
510
510
  int32 order = 8;
511
511
  }
512
512