@arbiwallet/contracts 1.0.122 → 1.0.124
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 +5 -5
- package/package.json +1 -1
- package/proto/content.proto +8 -8
package/gen/content.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface GetPublicDocumentsResponse {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
export interface GetPublicDocumentRequest {
|
|
43
|
-
|
|
43
|
+
slug: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export interface GetPublicDocumentResponse {
|
|
@@ -282,9 +282,9 @@ export interface ReorderBlogsResponse {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
export interface CreateDocumentRequest {
|
|
285
|
-
|
|
285
|
+
slug: string;
|
|
286
286
|
body: string;
|
|
287
|
-
|
|
287
|
+
title: string;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export interface CreateDocumentResponse {
|
|
@@ -413,11 +413,11 @@ export interface Blog {
|
|
|
413
413
|
|
|
414
414
|
export interface Document {
|
|
415
415
|
id: number;
|
|
416
|
-
|
|
417
|
-
title: string;
|
|
416
|
+
slug: string;
|
|
418
417
|
body: string;
|
|
419
418
|
createdAt: string;
|
|
420
419
|
updatedAt: string;
|
|
420
|
+
title: string;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
export interface Story {
|
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.
|
|
4
|
+
"version": "1.0.124",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/content.proto
CHANGED
|
@@ -99,7 +99,7 @@ message GetPublicDocumentsResponse {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
message GetPublicDocumentRequest {
|
|
102
|
-
string
|
|
102
|
+
string slug = 1;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
message GetPublicDocumentResponse {
|
|
@@ -333,9 +333,9 @@ message ReorderBlogsResponse {}
|
|
|
333
333
|
// --- DOCUMENT ---
|
|
334
334
|
|
|
335
335
|
message CreateDocumentRequest {
|
|
336
|
-
string
|
|
336
|
+
string slug = 1;
|
|
337
337
|
string body = 2;
|
|
338
|
-
string
|
|
338
|
+
string title = 3;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
message CreateDocumentResponse {
|
|
@@ -463,11 +463,11 @@ message Blog {
|
|
|
463
463
|
|
|
464
464
|
message Document {
|
|
465
465
|
int32 id = 1;
|
|
466
|
-
string
|
|
467
|
-
string
|
|
468
|
-
string
|
|
469
|
-
string
|
|
470
|
-
string
|
|
466
|
+
string slug = 2;
|
|
467
|
+
string body = 3;
|
|
468
|
+
string created_at = 4;
|
|
469
|
+
string updated_at = 5;
|
|
470
|
+
string title = 6;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
message Story {
|