@fivenet-app/gen 0.9.3 → 0.9.4-0
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/package.json +5 -1
- package/perms.ts +4 -0
- package/resources/accounts/accounts.ts +8 -8
- package/resources/accounts/oauth2.ts +16 -16
- package/resources/calendar/access.ts +32 -32
- package/resources/calendar/calendar.ts +48 -48
- package/resources/centrum/access.ts +40 -40
- package/resources/centrum/dispatches.ts +62 -62
- package/resources/centrum/general.ts +8 -8
- package/resources/centrum/units.ts +40 -40
- package/resources/documents/access.ts +32 -32
- package/resources/documents/activity.ts +16 -16
- package/resources/documents/category.ts +8 -8
- package/resources/documents/comment.ts +16 -16
- package/resources/documents/documents.ts +86 -86
- package/resources/documents/requests.ts +16 -16
- package/resources/documents/templates.ts +32 -32
- package/resources/internet/access.ts +358 -0
- package/resources/internet/ads.ts +8 -8
- package/resources/internet/domain.ts +182 -23
- package/resources/internet/page.ts +22 -20
- package/resources/internet/search.ts +8 -8
- package/resources/jobs/activity.ts +8 -8
- package/resources/jobs/conduct.ts +8 -8
- package/resources/jobs/labels.ts +8 -8
- package/resources/jobs/timeclock.ts +6 -2
- package/resources/laws/laws.ts +24 -24
- package/resources/livemap/livemap.ts +14 -14
- package/resources/mailer/access.ts +56 -56
- package/resources/mailer/email.ts +8 -8
- package/resources/mailer/events.ts +18 -18
- package/resources/mailer/message.ts +24 -24
- package/resources/mailer/settings.ts +8 -8
- package/resources/mailer/template.ts +16 -16
- package/resources/mailer/thread.ts +56 -56
- package/resources/notifications/events.ts +39 -2
- package/resources/notifications/notifications.ts +20 -20
- package/resources/permissions/permissions.ts +64 -64
- package/resources/qualifications/access.ts +16 -16
- package/resources/qualifications/exam.ts +40 -40
- package/resources/qualifications/qualifications.ts +64 -64
- package/resources/rector/audit.ts +16 -16
- package/resources/sync/activity.ts +92 -14
- package/resources/sync/data.ts +142 -10
- package/resources/users/activity.ts +992 -36
- package/resources/users/job_props.ts +3 -708
- package/resources/users/job_settings.ts +721 -0
- package/resources/users/labels.ts +8 -8
- package/resources/users/licenses.ts +148 -0
- package/resources/users/users.ts +1 -136
- package/resources/wiki/access.ts +32 -32
- package/resources/wiki/activity.ts +16 -16
- package/resources/wiki/page.ts +28 -28
- package/services/auth/auth.ts +16 -16
- package/services/calendar/calendar.ts +55 -55
- package/services/centrum/centrum.ts +112 -112
- package/services/citizenstore/citizenstore.ts +24 -1
- package/services/docstore/docstore.ts +280 -280
- package/services/internet/domain.client.ts +126 -0
- package/services/internet/domain.ts +695 -0
- package/services/internet/internet.ts +3 -3
- package/services/jobs/conduct.ts +15 -15
- package/services/jobs/jobs.ts +14 -14
- package/services/jobs/timeclock.ts +1 -1
- package/services/livemapper/livemap.ts +8 -8
- package/services/mailer/mailer.ts +159 -159
- package/services/notificator/notificator.ts +15 -15
- package/services/qualifications/qualifications.ts +108 -108
- package/services/rector/laws.ts +16 -16
- package/services/rector/rector.ts +63 -63
- package/services/sync/sync.client.ts +36 -2
- package/services/sync/sync.ts +259 -44
- package/services/wiki/wiki.ts +24 -24
- package/svcs.ts +13 -0
- package/resources/common/access/dummy.ts +0 -309
- package/resources/internet/internet.ts +0 -344
- package/resources/mailer/user.ts +0 -93
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fivenet-app/gen",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.4-0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/fivenet-app/fivenet.git"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@protobuf-ts/plugin": "2.9.4",
|
|
13
|
+
"google-protobuf": "3.21.4"
|
|
10
14
|
}
|
|
11
15
|
}
|
package/perms.ts
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
// source: resources/documents/templates.proto
|
|
25
25
|
// source: resources/documents/workflow.proto
|
|
26
26
|
// source: resources/filestore/file.proto
|
|
27
|
+
// source: resources/internet/access.proto
|
|
27
28
|
// source: resources/internet/ads.proto
|
|
28
29
|
// source: resources/internet/domain.proto
|
|
29
30
|
// source: resources/internet/page.proto
|
|
@@ -57,8 +58,10 @@
|
|
|
57
58
|
// source: resources/timestamp/timestamp.proto
|
|
58
59
|
// source: resources/users/activity.proto
|
|
59
60
|
// source: resources/users/job_props.proto
|
|
61
|
+
// source: resources/users/job_settings.proto
|
|
60
62
|
// source: resources/users/jobs.proto
|
|
61
63
|
// source: resources/users/labels.proto
|
|
64
|
+
// source: resources/users/licenses.proto
|
|
62
65
|
// source: resources/users/props.proto
|
|
63
66
|
// source: resources/users/users.proto
|
|
64
67
|
// source: resources/vehicles/vehicles.proto
|
|
@@ -73,6 +76,7 @@
|
|
|
73
76
|
// source: services/dmv/vehicles.proto
|
|
74
77
|
// source: services/docstore/docstore.proto
|
|
75
78
|
// source: services/internet/ads.proto
|
|
79
|
+
// source: services/internet/domain.proto
|
|
76
80
|
// source: services/internet/internet.proto
|
|
77
81
|
// source: services/jobs/conduct.proto
|
|
78
82
|
// source: services/jobs/jobs.proto
|
|
@@ -17,9 +17,9 @@ import { Timestamp } from "../timestamp/timestamp";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface Account {
|
|
19
19
|
/**
|
|
20
|
-
* @generated from protobuf field: uint64 id = 1
|
|
20
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
21
21
|
*/
|
|
22
|
-
id:
|
|
22
|
+
id: number;
|
|
23
23
|
/**
|
|
24
24
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
25
25
|
*/
|
|
@@ -58,7 +58,7 @@ export interface Character {
|
|
|
58
58
|
class Account$Type extends MessageType<Account> {
|
|
59
59
|
constructor() {
|
|
60
60
|
super("resources.accounts.Account", [
|
|
61
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
61
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
62
62
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
63
63
|
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
64
64
|
{ no: 4, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "24" } } } },
|
|
@@ -67,7 +67,7 @@ class Account$Type extends MessageType<Account> {
|
|
|
67
67
|
}
|
|
68
68
|
create(value?: PartialMessage<Account>): Account {
|
|
69
69
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
70
|
-
message.id =
|
|
70
|
+
message.id = 0;
|
|
71
71
|
message.username = "";
|
|
72
72
|
message.license = "";
|
|
73
73
|
if (value !== undefined)
|
|
@@ -79,8 +79,8 @@ class Account$Type extends MessageType<Account> {
|
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
let [fieldNo, wireType] = reader.tag();
|
|
81
81
|
switch (fieldNo) {
|
|
82
|
-
case /* uint64 id
|
|
83
|
-
message.id = reader.uint64().
|
|
82
|
+
case /* uint64 id */ 1:
|
|
83
|
+
message.id = reader.uint64().toNumber();
|
|
84
84
|
break;
|
|
85
85
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
86
86
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -106,8 +106,8 @@ class Account$Type extends MessageType<Account> {
|
|
|
106
106
|
return message;
|
|
107
107
|
}
|
|
108
108
|
internalBinaryWrite(message: Account, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
109
|
-
/* uint64 id = 1
|
|
110
|
-
if (message.id !==
|
|
109
|
+
/* uint64 id = 1; */
|
|
110
|
+
if (message.id !== 0)
|
|
111
111
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
112
112
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
113
113
|
if (message.createdAt)
|
|
@@ -16,9 +16,9 @@ import { Timestamp } from "../timestamp/timestamp";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface OAuth2Account {
|
|
18
18
|
/**
|
|
19
|
-
* @generated from protobuf field: uint64 account_id = 1
|
|
19
|
+
* @generated from protobuf field: uint64 account_id = 1;
|
|
20
20
|
*/
|
|
21
|
-
accountId:
|
|
21
|
+
accountId: number;
|
|
22
22
|
/**
|
|
23
23
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
24
24
|
*/
|
|
@@ -32,7 +32,7 @@ export interface OAuth2Account {
|
|
|
32
32
|
*/
|
|
33
33
|
provider?: OAuth2Provider;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field:
|
|
35
|
+
* @generated from protobuf field: string external_id = 5;
|
|
36
36
|
*/
|
|
37
37
|
externalId: string;
|
|
38
38
|
/**
|
|
@@ -69,20 +69,20 @@ export interface OAuth2Provider {
|
|
|
69
69
|
class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
70
70
|
constructor() {
|
|
71
71
|
super("resources.accounts.OAuth2Account", [
|
|
72
|
-
{ no: 1, name: "account_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
72
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
73
73
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
74
74
|
{ no: 3, name: "provider_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
75
75
|
{ no: 4, name: "provider", kind: "message", T: () => OAuth2Provider },
|
|
76
|
-
{ no: 5, name: "external_id", kind: "scalar", T:
|
|
76
|
+
{ no: 5, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
77
77
|
{ no: 6, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
78
78
|
{ no: 7, name: "avatar", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
79
79
|
]);
|
|
80
80
|
}
|
|
81
81
|
create(value?: PartialMessage<OAuth2Account>): OAuth2Account {
|
|
82
82
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
83
|
-
message.accountId =
|
|
83
|
+
message.accountId = 0;
|
|
84
84
|
message.providerName = "";
|
|
85
|
-
message.externalId = "
|
|
85
|
+
message.externalId = "";
|
|
86
86
|
message.username = "";
|
|
87
87
|
message.avatar = "";
|
|
88
88
|
if (value !== undefined)
|
|
@@ -94,8 +94,8 @@ class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
|
94
94
|
while (reader.pos < end) {
|
|
95
95
|
let [fieldNo, wireType] = reader.tag();
|
|
96
96
|
switch (fieldNo) {
|
|
97
|
-
case /* uint64 account_id
|
|
98
|
-
message.accountId = reader.uint64().
|
|
97
|
+
case /* uint64 account_id */ 1:
|
|
98
|
+
message.accountId = reader.uint64().toNumber();
|
|
99
99
|
break;
|
|
100
100
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
101
101
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -106,8 +106,8 @@ class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
|
106
106
|
case /* resources.accounts.OAuth2Provider provider */ 4:
|
|
107
107
|
message.provider = OAuth2Provider.internalBinaryRead(reader, reader.uint32(), options, message.provider);
|
|
108
108
|
break;
|
|
109
|
-
case /*
|
|
110
|
-
message.externalId = reader.
|
|
109
|
+
case /* string external_id */ 5:
|
|
110
|
+
message.externalId = reader.string();
|
|
111
111
|
break;
|
|
112
112
|
case /* string username */ 6:
|
|
113
113
|
message.username = reader.string();
|
|
@@ -127,8 +127,8 @@ class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
|
127
127
|
return message;
|
|
128
128
|
}
|
|
129
129
|
internalBinaryWrite(message: OAuth2Account, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
130
|
-
/* uint64 account_id = 1
|
|
131
|
-
if (message.accountId !==
|
|
130
|
+
/* uint64 account_id = 1; */
|
|
131
|
+
if (message.accountId !== 0)
|
|
132
132
|
writer.tag(1, WireType.Varint).uint64(message.accountId);
|
|
133
133
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
134
134
|
if (message.createdAt)
|
|
@@ -139,9 +139,9 @@ class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
|
139
139
|
/* resources.accounts.OAuth2Provider provider = 4; */
|
|
140
140
|
if (message.provider)
|
|
141
141
|
OAuth2Provider.internalBinaryWrite(message.provider, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
142
|
-
/*
|
|
143
|
-
if (message.externalId !== "
|
|
144
|
-
writer.tag(5, WireType.
|
|
142
|
+
/* string external_id = 5; */
|
|
143
|
+
if (message.externalId !== "")
|
|
144
|
+
writer.tag(5, WireType.LengthDelimited).string(message.externalId);
|
|
145
145
|
/* string username = 6; */
|
|
146
146
|
if (message.username !== "")
|
|
147
147
|
writer.tag(6, WireType.LengthDelimited).string(message.username);
|
|
@@ -30,17 +30,17 @@ export interface CalendarAccess {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface CalendarJobAccess {
|
|
32
32
|
/**
|
|
33
|
-
* @generated from protobuf field: uint64 id = 1
|
|
33
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
34
34
|
*/
|
|
35
|
-
id:
|
|
35
|
+
id: number;
|
|
36
36
|
/**
|
|
37
37
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
38
38
|
*/
|
|
39
39
|
createdAt?: Timestamp;
|
|
40
40
|
/**
|
|
41
|
-
* @generated from protobuf field: uint64 target_id = 3
|
|
41
|
+
* @generated from protobuf field: uint64 target_id = 3;
|
|
42
42
|
*/
|
|
43
|
-
targetId:
|
|
43
|
+
targetId: number; // @gotags: alias:"calendar_id"
|
|
44
44
|
/**
|
|
45
45
|
* @generated from protobuf field: string job = 4;
|
|
46
46
|
*/
|
|
@@ -67,17 +67,17 @@ export interface CalendarJobAccess {
|
|
|
67
67
|
*/
|
|
68
68
|
export interface CalendarUserAccess {
|
|
69
69
|
/**
|
|
70
|
-
* @generated from protobuf field: uint64 id = 1
|
|
70
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
71
71
|
*/
|
|
72
|
-
id:
|
|
72
|
+
id: number;
|
|
73
73
|
/**
|
|
74
74
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
75
75
|
*/
|
|
76
76
|
createdAt?: Timestamp;
|
|
77
77
|
/**
|
|
78
|
-
* @generated from protobuf field: uint64 target_id = 3
|
|
78
|
+
* @generated from protobuf field: uint64 target_id = 3;
|
|
79
79
|
*/
|
|
80
|
-
targetId:
|
|
80
|
+
targetId: number; // @gotags: alias:"calendar_id"
|
|
81
81
|
/**
|
|
82
82
|
* @generated from protobuf field: int32 user_id = 4;
|
|
83
83
|
*/
|
|
@@ -179,9 +179,9 @@ export const CalendarAccess = new CalendarAccess$Type();
|
|
|
179
179
|
class CalendarJobAccess$Type extends MessageType<CalendarJobAccess> {
|
|
180
180
|
constructor() {
|
|
181
181
|
super("resources.calendar.CalendarJobAccess", [
|
|
182
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
182
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
183
183
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
184
|
-
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
184
|
+
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
185
185
|
{ no: 4, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
186
186
|
{ no: 5, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50" } } } },
|
|
187
187
|
{ no: 6, name: "minimum_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gte: 0 } } } },
|
|
@@ -191,8 +191,8 @@ class CalendarJobAccess$Type extends MessageType<CalendarJobAccess> {
|
|
|
191
191
|
}
|
|
192
192
|
create(value?: PartialMessage<CalendarJobAccess>): CalendarJobAccess {
|
|
193
193
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
194
|
-
message.id =
|
|
195
|
-
message.targetId =
|
|
194
|
+
message.id = 0;
|
|
195
|
+
message.targetId = 0;
|
|
196
196
|
message.job = "";
|
|
197
197
|
message.minimumGrade = 0;
|
|
198
198
|
message.access = 0;
|
|
@@ -205,14 +205,14 @@ class CalendarJobAccess$Type extends MessageType<CalendarJobAccess> {
|
|
|
205
205
|
while (reader.pos < end) {
|
|
206
206
|
let [fieldNo, wireType] = reader.tag();
|
|
207
207
|
switch (fieldNo) {
|
|
208
|
-
case /* uint64 id
|
|
209
|
-
message.id = reader.uint64().
|
|
208
|
+
case /* uint64 id */ 1:
|
|
209
|
+
message.id = reader.uint64().toNumber();
|
|
210
210
|
break;
|
|
211
211
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
212
212
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
213
213
|
break;
|
|
214
|
-
case /* uint64 target_id
|
|
215
|
-
message.targetId = reader.uint64().
|
|
214
|
+
case /* uint64 target_id */ 3:
|
|
215
|
+
message.targetId = reader.uint64().toNumber();
|
|
216
216
|
break;
|
|
217
217
|
case /* string job */ 4:
|
|
218
218
|
message.job = reader.string();
|
|
@@ -241,14 +241,14 @@ class CalendarJobAccess$Type extends MessageType<CalendarJobAccess> {
|
|
|
241
241
|
return message;
|
|
242
242
|
}
|
|
243
243
|
internalBinaryWrite(message: CalendarJobAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
244
|
-
/* uint64 id = 1
|
|
245
|
-
if (message.id !==
|
|
244
|
+
/* uint64 id = 1; */
|
|
245
|
+
if (message.id !== 0)
|
|
246
246
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
247
247
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
248
248
|
if (message.createdAt)
|
|
249
249
|
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
250
|
-
/* uint64 target_id = 3
|
|
251
|
-
if (message.targetId !==
|
|
250
|
+
/* uint64 target_id = 3; */
|
|
251
|
+
if (message.targetId !== 0)
|
|
252
252
|
writer.tag(3, WireType.Varint).uint64(message.targetId);
|
|
253
253
|
/* string job = 4; */
|
|
254
254
|
if (message.job !== "")
|
|
@@ -279,9 +279,9 @@ export const CalendarJobAccess = new CalendarJobAccess$Type();
|
|
|
279
279
|
class CalendarUserAccess$Type extends MessageType<CalendarUserAccess> {
|
|
280
280
|
constructor() {
|
|
281
281
|
super("resources.calendar.CalendarUserAccess", [
|
|
282
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
282
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
283
283
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
284
|
-
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
284
|
+
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
285
285
|
{ no: 4, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gte: 0 } } } },
|
|
286
286
|
{ no: 5, name: "user", kind: "message", T: () => UserShort },
|
|
287
287
|
{ no: 6, name: "access", kind: "enum", T: () => ["resources.calendar.AccessLevel", AccessLevel, "ACCESS_LEVEL_"], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
|
@@ -289,8 +289,8 @@ class CalendarUserAccess$Type extends MessageType<CalendarUserAccess> {
|
|
|
289
289
|
}
|
|
290
290
|
create(value?: PartialMessage<CalendarUserAccess>): CalendarUserAccess {
|
|
291
291
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
292
|
-
message.id =
|
|
293
|
-
message.targetId =
|
|
292
|
+
message.id = 0;
|
|
293
|
+
message.targetId = 0;
|
|
294
294
|
message.userId = 0;
|
|
295
295
|
message.access = 0;
|
|
296
296
|
if (value !== undefined)
|
|
@@ -302,14 +302,14 @@ class CalendarUserAccess$Type extends MessageType<CalendarUserAccess> {
|
|
|
302
302
|
while (reader.pos < end) {
|
|
303
303
|
let [fieldNo, wireType] = reader.tag();
|
|
304
304
|
switch (fieldNo) {
|
|
305
|
-
case /* uint64 id
|
|
306
|
-
message.id = reader.uint64().
|
|
305
|
+
case /* uint64 id */ 1:
|
|
306
|
+
message.id = reader.uint64().toNumber();
|
|
307
307
|
break;
|
|
308
308
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
309
309
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
310
310
|
break;
|
|
311
|
-
case /* uint64 target_id
|
|
312
|
-
message.targetId = reader.uint64().
|
|
311
|
+
case /* uint64 target_id */ 3:
|
|
312
|
+
message.targetId = reader.uint64().toNumber();
|
|
313
313
|
break;
|
|
314
314
|
case /* int32 user_id */ 4:
|
|
315
315
|
message.userId = reader.int32();
|
|
@@ -332,14 +332,14 @@ class CalendarUserAccess$Type extends MessageType<CalendarUserAccess> {
|
|
|
332
332
|
return message;
|
|
333
333
|
}
|
|
334
334
|
internalBinaryWrite(message: CalendarUserAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
335
|
-
/* uint64 id = 1
|
|
336
|
-
if (message.id !==
|
|
335
|
+
/* uint64 id = 1; */
|
|
336
|
+
if (message.id !== 0)
|
|
337
337
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
338
338
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
339
339
|
if (message.createdAt)
|
|
340
340
|
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
341
|
-
/* uint64 target_id = 3
|
|
342
|
-
if (message.targetId !==
|
|
341
|
+
/* uint64 target_id = 3; */
|
|
342
|
+
if (message.targetId !== 0)
|
|
343
343
|
writer.tag(3, WireType.Varint).uint64(message.targetId);
|
|
344
344
|
/* int32 user_id = 4; */
|
|
345
345
|
if (message.userId !== 0)
|
|
@@ -19,9 +19,9 @@ import { Timestamp } from "../timestamp/timestamp";
|
|
|
19
19
|
*/
|
|
20
20
|
export interface Calendar {
|
|
21
21
|
/**
|
|
22
|
-
* @generated from protobuf field: uint64 id = 1
|
|
22
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
23
23
|
*/
|
|
24
|
-
id:
|
|
24
|
+
id: number; // @gotags: sql:"primary_key" alias:"id"
|
|
25
25
|
/**
|
|
26
26
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
27
27
|
*/
|
|
@@ -90,9 +90,9 @@ export interface Calendar {
|
|
|
90
90
|
*/
|
|
91
91
|
export interface CalendarShort {
|
|
92
92
|
/**
|
|
93
|
-
* @generated from protobuf field: uint64 id = 1
|
|
93
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
94
94
|
*/
|
|
95
|
-
id:
|
|
95
|
+
id: number; // @gotags: sql:"primary_key" alias:"id"
|
|
96
96
|
/**
|
|
97
97
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
98
98
|
*/
|
|
@@ -133,9 +133,9 @@ export interface CalendarShort {
|
|
|
133
133
|
*/
|
|
134
134
|
export interface CalendarSub {
|
|
135
135
|
/**
|
|
136
|
-
* @generated from protobuf field: uint64 calendar_id = 1
|
|
136
|
+
* @generated from protobuf field: uint64 calendar_id = 1;
|
|
137
137
|
*/
|
|
138
|
-
calendarId:
|
|
138
|
+
calendarId: number;
|
|
139
139
|
/**
|
|
140
140
|
* @generated from protobuf field: int32 user_id = 2;
|
|
141
141
|
*/
|
|
@@ -164,9 +164,9 @@ export interface CalendarSub {
|
|
|
164
164
|
*/
|
|
165
165
|
export interface CalendarEntry {
|
|
166
166
|
/**
|
|
167
|
-
* @generated from protobuf field: uint64 id = 1
|
|
167
|
+
* @generated from protobuf field: uint64 id = 1;
|
|
168
168
|
*/
|
|
169
|
-
id:
|
|
169
|
+
id: number; // @gotags: sql:"primary_key" alias:"id"
|
|
170
170
|
/**
|
|
171
171
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
172
172
|
*/
|
|
@@ -180,9 +180,9 @@ export interface CalendarEntry {
|
|
|
180
180
|
*/
|
|
181
181
|
deletedAt?: Timestamp;
|
|
182
182
|
/**
|
|
183
|
-
* @generated from protobuf field: uint64 calendar_id = 5
|
|
183
|
+
* @generated from protobuf field: uint64 calendar_id = 5;
|
|
184
184
|
*/
|
|
185
|
-
calendarId:
|
|
185
|
+
calendarId: number;
|
|
186
186
|
/**
|
|
187
187
|
* @generated from protobuf field: optional resources.calendar.Calendar calendar = 6;
|
|
188
188
|
*/
|
|
@@ -260,9 +260,9 @@ export interface CalendarEntryRecurring {
|
|
|
260
260
|
*/
|
|
261
261
|
export interface CalendarEntryRSVP {
|
|
262
262
|
/**
|
|
263
|
-
* @generated from protobuf field: uint64 entry_id = 1
|
|
263
|
+
* @generated from protobuf field: uint64 entry_id = 1;
|
|
264
264
|
*/
|
|
265
|
-
entryId:
|
|
265
|
+
entryId: number;
|
|
266
266
|
/**
|
|
267
267
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
268
268
|
*/
|
|
@@ -313,7 +313,7 @@ export enum RsvpResponses {
|
|
|
313
313
|
class Calendar$Type extends MessageType<Calendar> {
|
|
314
314
|
constructor() {
|
|
315
315
|
super("resources.calendar.Calendar", [
|
|
316
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
316
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
317
317
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
318
318
|
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
319
319
|
{ no: 4, name: "deleted_at", kind: "message", T: () => Timestamp },
|
|
@@ -332,7 +332,7 @@ class Calendar$Type extends MessageType<Calendar> {
|
|
|
332
332
|
}
|
|
333
333
|
create(value?: PartialMessage<Calendar>): Calendar {
|
|
334
334
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
335
|
-
message.id =
|
|
335
|
+
message.id = 0;
|
|
336
336
|
message.name = "";
|
|
337
337
|
message.public = false;
|
|
338
338
|
message.closed = false;
|
|
@@ -347,8 +347,8 @@ class Calendar$Type extends MessageType<Calendar> {
|
|
|
347
347
|
while (reader.pos < end) {
|
|
348
348
|
let [fieldNo, wireType] = reader.tag();
|
|
349
349
|
switch (fieldNo) {
|
|
350
|
-
case /* uint64 id
|
|
351
|
-
message.id = reader.uint64().
|
|
350
|
+
case /* uint64 id */ 1:
|
|
351
|
+
message.id = reader.uint64().toNumber();
|
|
352
352
|
break;
|
|
353
353
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
354
354
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -404,8 +404,8 @@ class Calendar$Type extends MessageType<Calendar> {
|
|
|
404
404
|
return message;
|
|
405
405
|
}
|
|
406
406
|
internalBinaryWrite(message: Calendar, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
407
|
-
/* uint64 id = 1
|
|
408
|
-
if (message.id !==
|
|
407
|
+
/* uint64 id = 1; */
|
|
408
|
+
if (message.id !== 0)
|
|
409
409
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
410
410
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
411
411
|
if (message.createdAt)
|
|
@@ -463,7 +463,7 @@ export const Calendar = new Calendar$Type();
|
|
|
463
463
|
class CalendarShort$Type extends MessageType<CalendarShort> {
|
|
464
464
|
constructor() {
|
|
465
465
|
super("resources.calendar.CalendarShort", [
|
|
466
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
466
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
467
467
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
468
468
|
{ no: 6, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "3", maxLen: "255" } } } },
|
|
469
469
|
{ no: 7, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "512" } } } },
|
|
@@ -475,7 +475,7 @@ class CalendarShort$Type extends MessageType<CalendarShort> {
|
|
|
475
475
|
}
|
|
476
476
|
create(value?: PartialMessage<CalendarShort>): CalendarShort {
|
|
477
477
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
478
|
-
message.id =
|
|
478
|
+
message.id = 0;
|
|
479
479
|
message.name = "";
|
|
480
480
|
message.public = false;
|
|
481
481
|
message.closed = false;
|
|
@@ -489,8 +489,8 @@ class CalendarShort$Type extends MessageType<CalendarShort> {
|
|
|
489
489
|
while (reader.pos < end) {
|
|
490
490
|
let [fieldNo, wireType] = reader.tag();
|
|
491
491
|
switch (fieldNo) {
|
|
492
|
-
case /* uint64 id
|
|
493
|
-
message.id = reader.uint64().
|
|
492
|
+
case /* uint64 id */ 1:
|
|
493
|
+
message.id = reader.uint64().toNumber();
|
|
494
494
|
break;
|
|
495
495
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
496
496
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -525,8 +525,8 @@ class CalendarShort$Type extends MessageType<CalendarShort> {
|
|
|
525
525
|
return message;
|
|
526
526
|
}
|
|
527
527
|
internalBinaryWrite(message: CalendarShort, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
528
|
-
/* uint64 id = 1
|
|
529
|
-
if (message.id !==
|
|
528
|
+
/* uint64 id = 1; */
|
|
529
|
+
if (message.id !== 0)
|
|
530
530
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
531
531
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
532
532
|
if (message.createdAt)
|
|
@@ -563,7 +563,7 @@ export const CalendarShort = new CalendarShort$Type();
|
|
|
563
563
|
class CalendarSub$Type extends MessageType<CalendarSub> {
|
|
564
564
|
constructor() {
|
|
565
565
|
super("resources.calendar.CalendarSub", [
|
|
566
|
-
{ no: 1, name: "calendar_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
566
|
+
{ no: 1, name: "calendar_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
567
567
|
{ no: 2, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gte: 0 } } } },
|
|
568
568
|
{ no: 3, name: "user", kind: "message", T: () => UserShort },
|
|
569
569
|
{ no: 4, name: "created_at", kind: "message", T: () => Timestamp },
|
|
@@ -573,7 +573,7 @@ class CalendarSub$Type extends MessageType<CalendarSub> {
|
|
|
573
573
|
}
|
|
574
574
|
create(value?: PartialMessage<CalendarSub>): CalendarSub {
|
|
575
575
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
576
|
-
message.calendarId =
|
|
576
|
+
message.calendarId = 0;
|
|
577
577
|
message.userId = 0;
|
|
578
578
|
message.confirmed = false;
|
|
579
579
|
message.muted = false;
|
|
@@ -586,8 +586,8 @@ class CalendarSub$Type extends MessageType<CalendarSub> {
|
|
|
586
586
|
while (reader.pos < end) {
|
|
587
587
|
let [fieldNo, wireType] = reader.tag();
|
|
588
588
|
switch (fieldNo) {
|
|
589
|
-
case /* uint64 calendar_id
|
|
590
|
-
message.calendarId = reader.uint64().
|
|
589
|
+
case /* uint64 calendar_id */ 1:
|
|
590
|
+
message.calendarId = reader.uint64().toNumber();
|
|
591
591
|
break;
|
|
592
592
|
case /* int32 user_id */ 2:
|
|
593
593
|
message.userId = reader.int32();
|
|
@@ -616,8 +616,8 @@ class CalendarSub$Type extends MessageType<CalendarSub> {
|
|
|
616
616
|
return message;
|
|
617
617
|
}
|
|
618
618
|
internalBinaryWrite(message: CalendarSub, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
619
|
-
/* uint64 calendar_id = 1
|
|
620
|
-
if (message.calendarId !==
|
|
619
|
+
/* uint64 calendar_id = 1; */
|
|
620
|
+
if (message.calendarId !== 0)
|
|
621
621
|
writer.tag(1, WireType.Varint).uint64(message.calendarId);
|
|
622
622
|
/* int32 user_id = 2; */
|
|
623
623
|
if (message.userId !== 0)
|
|
@@ -648,11 +648,11 @@ export const CalendarSub = new CalendarSub$Type();
|
|
|
648
648
|
class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
649
649
|
constructor() {
|
|
650
650
|
super("resources.calendar.CalendarEntry", [
|
|
651
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
651
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
652
652
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
653
653
|
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
654
654
|
{ no: 4, name: "deleted_at", kind: "message", T: () => Timestamp },
|
|
655
|
-
{ no: 5, name: "calendar_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
655
|
+
{ no: 5, name: "calendar_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
656
656
|
{ no: 6, name: "calendar", kind: "message", T: () => Calendar },
|
|
657
657
|
{ no: 7, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
658
658
|
{ no: 8, name: "start_time", kind: "message", T: () => Timestamp },
|
|
@@ -670,8 +670,8 @@ class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
|
670
670
|
}
|
|
671
671
|
create(value?: PartialMessage<CalendarEntry>): CalendarEntry {
|
|
672
672
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
673
|
-
message.id =
|
|
674
|
-
message.calendarId =
|
|
673
|
+
message.id = 0;
|
|
674
|
+
message.calendarId = 0;
|
|
675
675
|
message.title = "";
|
|
676
676
|
message.closed = false;
|
|
677
677
|
message.creatorJob = "";
|
|
@@ -684,8 +684,8 @@ class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
|
684
684
|
while (reader.pos < end) {
|
|
685
685
|
let [fieldNo, wireType] = reader.tag();
|
|
686
686
|
switch (fieldNo) {
|
|
687
|
-
case /* uint64 id
|
|
688
|
-
message.id = reader.uint64().
|
|
687
|
+
case /* uint64 id */ 1:
|
|
688
|
+
message.id = reader.uint64().toNumber();
|
|
689
689
|
break;
|
|
690
690
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
691
691
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -696,8 +696,8 @@ class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
|
696
696
|
case /* optional resources.timestamp.Timestamp deleted_at */ 4:
|
|
697
697
|
message.deletedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.deletedAt);
|
|
698
698
|
break;
|
|
699
|
-
case /* uint64 calendar_id
|
|
700
|
-
message.calendarId = reader.uint64().
|
|
699
|
+
case /* uint64 calendar_id */ 5:
|
|
700
|
+
message.calendarId = reader.uint64().toNumber();
|
|
701
701
|
break;
|
|
702
702
|
case /* optional resources.calendar.Calendar calendar */ 6:
|
|
703
703
|
message.calendar = Calendar.internalBinaryRead(reader, reader.uint32(), options, message.calendar);
|
|
@@ -750,8 +750,8 @@ class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
|
750
750
|
return message;
|
|
751
751
|
}
|
|
752
752
|
internalBinaryWrite(message: CalendarEntry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
753
|
-
/* uint64 id = 1
|
|
754
|
-
if (message.id !==
|
|
753
|
+
/* uint64 id = 1; */
|
|
754
|
+
if (message.id !== 0)
|
|
755
755
|
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
756
756
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
757
757
|
if (message.createdAt)
|
|
@@ -762,8 +762,8 @@ class CalendarEntry$Type extends MessageType<CalendarEntry> {
|
|
|
762
762
|
/* optional resources.timestamp.Timestamp deleted_at = 4; */
|
|
763
763
|
if (message.deletedAt)
|
|
764
764
|
Timestamp.internalBinaryWrite(message.deletedAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
765
|
-
/* uint64 calendar_id = 5
|
|
766
|
-
if (message.calendarId !==
|
|
765
|
+
/* uint64 calendar_id = 5; */
|
|
766
|
+
if (message.calendarId !== 0)
|
|
767
767
|
writer.tag(5, WireType.Varint).uint64(message.calendarId);
|
|
768
768
|
/* optional resources.calendar.Calendar calendar = 6; */
|
|
769
769
|
if (message.calendar)
|
|
@@ -880,7 +880,7 @@ export const CalendarEntryRecurring = new CalendarEntryRecurring$Type();
|
|
|
880
880
|
class CalendarEntryRSVP$Type extends MessageType<CalendarEntryRSVP> {
|
|
881
881
|
constructor() {
|
|
882
882
|
super("resources.calendar.CalendarEntryRSVP", [
|
|
883
|
-
{ no: 1, name: "entry_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
883
|
+
{ no: 1, name: "entry_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
884
884
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
885
885
|
{ no: 3, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gt: 0 } } } },
|
|
886
886
|
{ no: 4, name: "user", kind: "message", T: () => UserShort },
|
|
@@ -889,7 +889,7 @@ class CalendarEntryRSVP$Type extends MessageType<CalendarEntryRSVP> {
|
|
|
889
889
|
}
|
|
890
890
|
create(value?: PartialMessage<CalendarEntryRSVP>): CalendarEntryRSVP {
|
|
891
891
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
892
|
-
message.entryId =
|
|
892
|
+
message.entryId = 0;
|
|
893
893
|
message.userId = 0;
|
|
894
894
|
message.response = 0;
|
|
895
895
|
if (value !== undefined)
|
|
@@ -901,8 +901,8 @@ class CalendarEntryRSVP$Type extends MessageType<CalendarEntryRSVP> {
|
|
|
901
901
|
while (reader.pos < end) {
|
|
902
902
|
let [fieldNo, wireType] = reader.tag();
|
|
903
903
|
switch (fieldNo) {
|
|
904
|
-
case /* uint64 entry_id
|
|
905
|
-
message.entryId = reader.uint64().
|
|
904
|
+
case /* uint64 entry_id */ 1:
|
|
905
|
+
message.entryId = reader.uint64().toNumber();
|
|
906
906
|
break;
|
|
907
907
|
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
908
908
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
@@ -928,8 +928,8 @@ class CalendarEntryRSVP$Type extends MessageType<CalendarEntryRSVP> {
|
|
|
928
928
|
return message;
|
|
929
929
|
}
|
|
930
930
|
internalBinaryWrite(message: CalendarEntryRSVP, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
931
|
-
/* uint64 entry_id = 1
|
|
932
|
-
if (message.entryId !==
|
|
931
|
+
/* uint64 entry_id = 1; */
|
|
932
|
+
if (message.entryId !== 0)
|
|
933
933
|
writer.tag(1, WireType.Varint).uint64(message.entryId);
|
|
934
934
|
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
935
935
|
if (message.createdAt)
|