@arbiwallet/contracts 1.0.122 → 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 +3 -5
- package/package.json +1 -1
- package/proto/content.proto +6 -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,8 @@ export interface ReorderBlogsResponse {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
export interface CreateDocumentRequest {
|
|
285
|
-
|
|
285
|
+
slug: string;
|
|
286
286
|
body: string;
|
|
287
|
-
code: string;
|
|
288
287
|
}
|
|
289
288
|
|
|
290
289
|
export interface CreateDocumentResponse {
|
|
@@ -413,8 +412,7 @@ export interface Blog {
|
|
|
413
412
|
|
|
414
413
|
export interface Document {
|
|
415
414
|
id: number;
|
|
416
|
-
|
|
417
|
-
title: string;
|
|
415
|
+
slug: string;
|
|
418
416
|
body: string;
|
|
419
417
|
createdAt: string;
|
|
420
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.
|
|
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
|
},
|
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,8 @@ message ReorderBlogsResponse {}
|
|
|
333
333
|
// --- DOCUMENT ---
|
|
334
334
|
|
|
335
335
|
message CreateDocumentRequest {
|
|
336
|
-
string
|
|
336
|
+
string slug = 1;
|
|
337
337
|
string body = 2;
|
|
338
|
-
string code = 3;
|
|
339
338
|
}
|
|
340
339
|
|
|
341
340
|
message CreateDocumentResponse {
|
|
@@ -463,11 +462,10 @@ message Blog {
|
|
|
463
462
|
|
|
464
463
|
message Document {
|
|
465
464
|
int32 id = 1;
|
|
466
|
-
string
|
|
467
|
-
string
|
|
468
|
-
string
|
|
469
|
-
string
|
|
470
|
-
string updated_at = 6;
|
|
465
|
+
string slug = 2;
|
|
466
|
+
string body = 3;
|
|
467
|
+
string created_at = 4;
|
|
468
|
+
string updated_at = 5;
|
|
471
469
|
}
|
|
472
470
|
|
|
473
471
|
message Story {
|