@arbiwallet/contracts 1.0.144 → 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
@@ -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
 
@@ -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.144",
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
  },
@@ -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
 
@@ -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