@fivenet-app/gen 2025.5.2 → 2025.9.1
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/buf/validate/validate.ts +11301 -0
- package/clients.ts +157 -154
- package/codegen/dbscanner/dbscanner.ts +91 -0
- package/codegen/perms/perms.ts +208 -0
- package/codegen/sanitizer/sanitizer.ts +80 -0
- package/google/protobuf/any.ts +4 -3
- package/google/protobuf/descriptor.ts +393 -239
- package/google/protobuf/duration.ts +4 -3
- package/google/protobuf/struct.ts +485 -0
- package/google/protobuf/timestamp.ts +4 -3
- package/package.json +3 -3
- package/perms.ts +85 -159
- package/resources/accounts/accounts.ts +26 -25
- package/resources/accounts/oauth2.ts +30 -29
- package/resources/audit/audit.ts +36 -35
- package/resources/calendar/access.ts +49 -48
- package/resources/calendar/calendar.ts +122 -126
- package/resources/centrum/access.ts +345 -0
- package/resources/centrum/attributes.ts +8 -11
- package/resources/centrum/dispatchers.ts +149 -0
- package/resources/centrum/dispatches.ts +252 -115
- package/resources/centrum/settings.ts +384 -34
- package/resources/centrum/units.ts +112 -92
- package/resources/centrum/units_access.ts +54 -55
- package/resources/clientconfig/clientconfig.ts +890 -0
- package/resources/collab/collab.ts +817 -0
- package/resources/common/content/content.ts +113 -30
- package/resources/common/cron/cron.ts +43 -31
- package/resources/common/database/database.ts +92 -35
- package/resources/common/error.ts +17 -16
- package/resources/common/grpcws/grpcws.ts +24 -23
- package/resources/common/i18n.ts +20 -24
- package/resources/common/id_mapping.ts +69 -0
- package/resources/common/tests/objects.ts +4 -3
- package/resources/common/uuid.ts +4 -3
- package/resources/discord/discord.ts +209 -0
- package/resources/documents/access.ts +52 -53
- package/resources/documents/activity.ts +235 -58
- package/resources/documents/category.ts +20 -27
- package/resources/documents/comment.ts +26 -25
- package/resources/documents/documents.ts +335 -262
- package/resources/documents/pins.ts +127 -0
- package/resources/documents/requests.ts +31 -30
- package/resources/documents/signoff.ts +55 -0
- package/resources/documents/state.ts +69 -0
- package/resources/documents/templates.ts +119 -136
- package/resources/documents/workflow.ts +35 -24
- package/resources/file/file.ts +152 -0
- package/{services/settings → resources/file}/filestore.ts +179 -165
- package/resources/file/meta.ts +148 -0
- package/resources/jobs/activity.ts +39 -42
- package/resources/jobs/colleagues.ts +67 -60
- package/resources/jobs/conduct.ts +29 -30
- package/resources/jobs/job_props.ts +46 -48
- package/resources/jobs/job_settings.ts +45 -52
- package/resources/jobs/jobs.ts +14 -13
- package/resources/jobs/labels.ts +21 -22
- package/resources/jobs/timeclock.ts +26 -25
- package/resources/laws/laws.ts +40 -49
- package/resources/livemap/coords.ts +81 -0
- package/resources/livemap/heatmap.ts +93 -0
- package/resources/livemap/{livemap.ts → marker_marker.ts} +43 -310
- package/resources/livemap/user_marker.ts +298 -0
- package/resources/mailer/access.ts +75 -74
- package/resources/mailer/email.ts +24 -27
- package/resources/mailer/events.ts +25 -24
- package/resources/mailer/message.ts +45 -50
- package/resources/mailer/settings.ts +12 -15
- package/resources/mailer/template.ts +25 -28
- package/resources/mailer/thread.ts +70 -71
- package/resources/notifications/client_view.ts +239 -0
- package/resources/notifications/events.ts +50 -101
- package/resources/notifications/notifications.ts +52 -57
- package/resources/permissions/attributes.ts +63 -206
- package/resources/permissions/events.ts +149 -0
- package/resources/permissions/permissions.ts +103 -34
- package/resources/qualifications/access.ts +27 -26
- package/resources/qualifications/exam.ts +188 -126
- package/resources/qualifications/qualifications.ts +370 -303
- package/resources/settings/banner.ts +14 -21
- package/resources/settings/config.ts +163 -79
- package/resources/settings/perms.ts +151 -0
- package/resources/settings/status.ts +533 -0
- package/resources/stats/stats.ts +3 -2
- package/resources/sync/activity.ts +24 -23
- package/resources/sync/data.ts +94 -26
- package/resources/timestamp/timestamp.ts +3 -2
- package/resources/{centrum/user_unit.ts → tracker/mapping.ts} +44 -44
- package/resources/userinfo/user_info.ts +464 -0
- package/resources/users/activity.ts +80 -85
- package/resources/users/labels.ts +18 -21
- package/resources/users/licenses.ts +9 -8
- package/resources/users/props.ts +61 -51
- package/resources/users/users.ts +100 -78
- package/resources/vehicles/activity.ts +231 -0
- package/resources/vehicles/props.ts +103 -0
- package/resources/vehicles/vehicles.ts +28 -15
- package/resources/wiki/access.ts +49 -48
- package/resources/wiki/activity.ts +133 -51
- package/resources/wiki/page.ts +134 -87
- package/services/auth/auth.client.ts +24 -27
- package/services/auth/auth.ts +222 -195
- package/services/calendar/calendar.client.ts +32 -91
- package/services/calendar/calendar.ts +110 -109
- package/services/centrum/centrum.client.ts +97 -137
- package/services/centrum/centrum.ts +701 -298
- package/services/citizens/citizens.client.ts +70 -39
- package/services/citizens/citizens.ts +183 -93
- package/services/completor/completor.client.ts +16 -35
- package/services/completor/completor.ts +65 -44
- package/services/documents/collab.client.ts +46 -0
- package/services/documents/collab.ts +13 -0
- package/services/documents/documents.client.ts +88 -217
- package/services/documents/documents.ts +490 -508
- package/services/filestore/filestore.client.ts +86 -0
- package/services/filestore/filestore.ts +262 -0
- package/services/jobs/conduct.client.ts +10 -25
- package/services/jobs/conduct.ts +36 -35
- package/services/jobs/jobs.client.ts +22 -61
- package/services/jobs/jobs.ts +108 -91
- package/services/jobs/timeclock.client.ts +8 -19
- package/services/jobs/timeclock.ts +47 -46
- package/services/livemap/livemap.client.ts +8 -19
- package/services/livemap/livemap.ts +290 -119
- package/services/mailer/mailer.client.ts +44 -127
- package/services/mailer/mailer.ts +213 -216
- package/services/notifications/notifications.client.ts +65 -0
- package/services/{notificator/notificator.ts → notifications/notifications.ts} +117 -74
- package/services/qualifications/qualifications.client.ts +46 -91
- package/services/qualifications/qualifications.ts +181 -175
- package/services/settings/accounts.client.ts +10 -25
- package/services/settings/accounts.ts +64 -41
- package/services/settings/config.client.ts +6 -13
- package/services/settings/config.ts +8 -7
- package/services/settings/cron.client.ts +4 -7
- package/services/settings/cron.ts +4 -3
- package/services/settings/laws.client.ts +10 -25
- package/services/settings/laws.ts +29 -28
- package/services/settings/settings.client.ts +57 -103
- package/services/settings/settings.ts +190 -607
- package/services/settings/system.client.ts +90 -0
- package/services/settings/system.ts +618 -0
- package/services/stats/stats.client.ts +4 -3
- package/services/stats/stats.ts +4 -3
- package/services/sync/sync.client.ts +16 -15
- package/services/sync/sync.ts +82 -52
- package/services/vehicles/vehicles.client.ts +17 -7
- package/services/vehicles/vehicles.ts +169 -24
- package/services/wiki/collab.client.ts +46 -0
- package/services/wiki/collab.ts +13 -0
- package/services/wiki/wiki.client.ts +28 -37
- package/services/wiki/wiki.ts +93 -63
- package/svcs.ts +79 -103
- package/resources/centrum/disponents.ts +0 -81
- package/resources/filestore/file.ts +0 -204
- package/resources/internet/access.ts +0 -358
- package/resources/internet/ads.ts +0 -257
- package/resources/internet/domain.ts +0 -328
- package/resources/internet/page.ts +0 -428
- package/resources/internet/search.ts +0 -128
- package/resources/livemap/tracker.ts +0 -81
- package/services/internet/ads.client.ts +0 -41
- package/services/internet/ads.ts +0 -145
- package/services/internet/domain.client.ts +0 -109
- package/services/internet/domain.ts +0 -658
- package/services/internet/internet.client.ts +0 -58
- package/services/internet/internet.ts +0 -268
- package/services/notificator/notificator.client.ts +0 -76
- package/services/settings/filestore.client.ts +0 -75
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
-
// @generated from protobuf file "resources/internet/access.proto" (package "resources.internet", syntax proto3)
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
-
import { UserShort } from "../users/users";
|
|
14
|
-
import { Timestamp } from "../timestamp/timestamp";
|
|
15
|
-
/**
|
|
16
|
-
* @generated from protobuf message resources.internet.PageAccess
|
|
17
|
-
*/
|
|
18
|
-
export interface PageAccess {
|
|
19
|
-
/**
|
|
20
|
-
* @generated from protobuf field: repeated resources.internet.PageJobAccess jobs = 1;
|
|
21
|
-
*/
|
|
22
|
-
jobs: PageJobAccess[]; // @gotags: alias:"job_access"
|
|
23
|
-
/**
|
|
24
|
-
* @generated from protobuf field: repeated resources.internet.PageUserAccess users = 2;
|
|
25
|
-
*/
|
|
26
|
-
users: PageUserAccess[]; // @gotags: alias:"citizen_access"
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @generated from protobuf message resources.internet.PageJobAccess
|
|
30
|
-
*/
|
|
31
|
-
export interface PageJobAccess {
|
|
32
|
-
/**
|
|
33
|
-
* @generated from protobuf field: uint64 id = 1;
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
38
|
-
*/
|
|
39
|
-
createdAt?: Timestamp;
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf field: uint64 target_id = 3;
|
|
42
|
-
*/
|
|
43
|
-
targetId: number;
|
|
44
|
-
/**
|
|
45
|
-
* @generated from protobuf field: string job = 4;
|
|
46
|
-
*/
|
|
47
|
-
job: string;
|
|
48
|
-
/**
|
|
49
|
-
* @generated from protobuf field: optional string job_label = 5;
|
|
50
|
-
*/
|
|
51
|
-
jobLabel?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: int32 minimum_grade = 6;
|
|
54
|
-
*/
|
|
55
|
-
minimumGrade: number;
|
|
56
|
-
/**
|
|
57
|
-
* @generated from protobuf field: optional string job_grade_label = 7;
|
|
58
|
-
*/
|
|
59
|
-
jobGradeLabel?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @generated from protobuf field: resources.internet.AccessLevel access = 8;
|
|
62
|
-
*/
|
|
63
|
-
access: AccessLevel;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @generated from protobuf message resources.internet.PageUserAccess
|
|
67
|
-
*/
|
|
68
|
-
export interface PageUserAccess {
|
|
69
|
-
/**
|
|
70
|
-
* @generated from protobuf field: uint64 id = 1;
|
|
71
|
-
*/
|
|
72
|
-
id: number;
|
|
73
|
-
/**
|
|
74
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
75
|
-
*/
|
|
76
|
-
createdAt?: Timestamp;
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf field: uint64 target_id = 3;
|
|
79
|
-
*/
|
|
80
|
-
targetId: number;
|
|
81
|
-
/**
|
|
82
|
-
* @generated from protobuf field: int32 user_id = 4;
|
|
83
|
-
*/
|
|
84
|
-
userId: number;
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf field: optional resources.users.UserShort user = 5;
|
|
87
|
-
*/
|
|
88
|
-
user?: UserShort;
|
|
89
|
-
/**
|
|
90
|
-
* @generated from protobuf field: resources.internet.AccessLevel access = 6;
|
|
91
|
-
*/
|
|
92
|
-
access: AccessLevel;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf enum resources.internet.AccessLevel
|
|
96
|
-
*/
|
|
97
|
-
export enum AccessLevel {
|
|
98
|
-
/**
|
|
99
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_UNSPECIFIED = 0;
|
|
100
|
-
*/
|
|
101
|
-
UNSPECIFIED = 0,
|
|
102
|
-
/**
|
|
103
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_BLOCKED = 1;
|
|
104
|
-
*/
|
|
105
|
-
BLOCKED = 1,
|
|
106
|
-
/**
|
|
107
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_VIEW = 2;
|
|
108
|
-
*/
|
|
109
|
-
VIEW = 2,
|
|
110
|
-
/**
|
|
111
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_EDIT = 3;
|
|
112
|
-
*/
|
|
113
|
-
EDIT = 3,
|
|
114
|
-
/**
|
|
115
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_OWNER = 4;
|
|
116
|
-
*/
|
|
117
|
-
OWNER = 4
|
|
118
|
-
}
|
|
119
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
120
|
-
class PageAccess$Type extends MessageType<PageAccess> {
|
|
121
|
-
constructor() {
|
|
122
|
-
super("resources.internet.PageAccess", [
|
|
123
|
-
{ no: 1, name: "jobs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PageJobAccess, options: { "validate.rules": { repeated: { maxItems: "20" } } } },
|
|
124
|
-
{ no: 2, name: "users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PageUserAccess, options: { "validate.rules": { repeated: { maxItems: "20" } } } }
|
|
125
|
-
]);
|
|
126
|
-
}
|
|
127
|
-
create(value?: PartialMessage<PageAccess>): PageAccess {
|
|
128
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
129
|
-
message.jobs = [];
|
|
130
|
-
message.users = [];
|
|
131
|
-
if (value !== undefined)
|
|
132
|
-
reflectionMergePartial<PageAccess>(this, message, value);
|
|
133
|
-
return message;
|
|
134
|
-
}
|
|
135
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PageAccess): PageAccess {
|
|
136
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
137
|
-
while (reader.pos < end) {
|
|
138
|
-
let [fieldNo, wireType] = reader.tag();
|
|
139
|
-
switch (fieldNo) {
|
|
140
|
-
case /* repeated resources.internet.PageJobAccess jobs */ 1:
|
|
141
|
-
message.jobs.push(PageJobAccess.internalBinaryRead(reader, reader.uint32(), options));
|
|
142
|
-
break;
|
|
143
|
-
case /* repeated resources.internet.PageUserAccess users */ 2:
|
|
144
|
-
message.users.push(PageUserAccess.internalBinaryRead(reader, reader.uint32(), options));
|
|
145
|
-
break;
|
|
146
|
-
default:
|
|
147
|
-
let u = options.readUnknownField;
|
|
148
|
-
if (u === "throw")
|
|
149
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
150
|
-
let d = reader.skip(wireType);
|
|
151
|
-
if (u !== false)
|
|
152
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
return message;
|
|
156
|
-
}
|
|
157
|
-
internalBinaryWrite(message: PageAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
158
|
-
/* repeated resources.internet.PageJobAccess jobs = 1; */
|
|
159
|
-
for (let i = 0; i < message.jobs.length; i++)
|
|
160
|
-
PageJobAccess.internalBinaryWrite(message.jobs[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
161
|
-
/* repeated resources.internet.PageUserAccess users = 2; */
|
|
162
|
-
for (let i = 0; i < message.users.length; i++)
|
|
163
|
-
PageUserAccess.internalBinaryWrite(message.users[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
164
|
-
let u = options.writeUnknownFields;
|
|
165
|
-
if (u !== false)
|
|
166
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
167
|
-
return writer;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* @generated MessageType for protobuf message resources.internet.PageAccess
|
|
172
|
-
*/
|
|
173
|
-
export const PageAccess = new PageAccess$Type();
|
|
174
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
175
|
-
class PageJobAccess$Type extends MessageType<PageJobAccess> {
|
|
176
|
-
constructor() {
|
|
177
|
-
super("resources.internet.PageJobAccess", [
|
|
178
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
179
|
-
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
180
|
-
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
181
|
-
{ no: 4, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
182
|
-
{ no: 5, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50" } } } },
|
|
183
|
-
{ no: 6, name: "minimum_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gte: 0 } } } },
|
|
184
|
-
{ no: 7, name: "job_grade_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50" } } } },
|
|
185
|
-
{ no: 8, name: "access", kind: "enum", T: () => ["resources.internet.AccessLevel", AccessLevel, "ACCESS_LEVEL_"], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
|
186
|
-
]);
|
|
187
|
-
}
|
|
188
|
-
create(value?: PartialMessage<PageJobAccess>): PageJobAccess {
|
|
189
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
190
|
-
message.id = 0;
|
|
191
|
-
message.targetId = 0;
|
|
192
|
-
message.job = "";
|
|
193
|
-
message.minimumGrade = 0;
|
|
194
|
-
message.access = 0;
|
|
195
|
-
if (value !== undefined)
|
|
196
|
-
reflectionMergePartial<PageJobAccess>(this, message, value);
|
|
197
|
-
return message;
|
|
198
|
-
}
|
|
199
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PageJobAccess): PageJobAccess {
|
|
200
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
201
|
-
while (reader.pos < end) {
|
|
202
|
-
let [fieldNo, wireType] = reader.tag();
|
|
203
|
-
switch (fieldNo) {
|
|
204
|
-
case /* uint64 id */ 1:
|
|
205
|
-
message.id = reader.uint64().toNumber();
|
|
206
|
-
break;
|
|
207
|
-
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
208
|
-
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
209
|
-
break;
|
|
210
|
-
case /* uint64 target_id */ 3:
|
|
211
|
-
message.targetId = reader.uint64().toNumber();
|
|
212
|
-
break;
|
|
213
|
-
case /* string job */ 4:
|
|
214
|
-
message.job = reader.string();
|
|
215
|
-
break;
|
|
216
|
-
case /* optional string job_label */ 5:
|
|
217
|
-
message.jobLabel = reader.string();
|
|
218
|
-
break;
|
|
219
|
-
case /* int32 minimum_grade */ 6:
|
|
220
|
-
message.minimumGrade = reader.int32();
|
|
221
|
-
break;
|
|
222
|
-
case /* optional string job_grade_label */ 7:
|
|
223
|
-
message.jobGradeLabel = reader.string();
|
|
224
|
-
break;
|
|
225
|
-
case /* resources.internet.AccessLevel access */ 8:
|
|
226
|
-
message.access = reader.int32();
|
|
227
|
-
break;
|
|
228
|
-
default:
|
|
229
|
-
let u = options.readUnknownField;
|
|
230
|
-
if (u === "throw")
|
|
231
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
232
|
-
let d = reader.skip(wireType);
|
|
233
|
-
if (u !== false)
|
|
234
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
return message;
|
|
238
|
-
}
|
|
239
|
-
internalBinaryWrite(message: PageJobAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
240
|
-
/* uint64 id = 1; */
|
|
241
|
-
if (message.id !== 0)
|
|
242
|
-
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
243
|
-
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
244
|
-
if (message.createdAt)
|
|
245
|
-
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
246
|
-
/* uint64 target_id = 3; */
|
|
247
|
-
if (message.targetId !== 0)
|
|
248
|
-
writer.tag(3, WireType.Varint).uint64(message.targetId);
|
|
249
|
-
/* string job = 4; */
|
|
250
|
-
if (message.job !== "")
|
|
251
|
-
writer.tag(4, WireType.LengthDelimited).string(message.job);
|
|
252
|
-
/* optional string job_label = 5; */
|
|
253
|
-
if (message.jobLabel !== undefined)
|
|
254
|
-
writer.tag(5, WireType.LengthDelimited).string(message.jobLabel);
|
|
255
|
-
/* int32 minimum_grade = 6; */
|
|
256
|
-
if (message.minimumGrade !== 0)
|
|
257
|
-
writer.tag(6, WireType.Varint).int32(message.minimumGrade);
|
|
258
|
-
/* optional string job_grade_label = 7; */
|
|
259
|
-
if (message.jobGradeLabel !== undefined)
|
|
260
|
-
writer.tag(7, WireType.LengthDelimited).string(message.jobGradeLabel);
|
|
261
|
-
/* resources.internet.AccessLevel access = 8; */
|
|
262
|
-
if (message.access !== 0)
|
|
263
|
-
writer.tag(8, WireType.Varint).int32(message.access);
|
|
264
|
-
let u = options.writeUnknownFields;
|
|
265
|
-
if (u !== false)
|
|
266
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
267
|
-
return writer;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* @generated MessageType for protobuf message resources.internet.PageJobAccess
|
|
272
|
-
*/
|
|
273
|
-
export const PageJobAccess = new PageJobAccess$Type();
|
|
274
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
275
|
-
class PageUserAccess$Type extends MessageType<PageUserAccess> {
|
|
276
|
-
constructor() {
|
|
277
|
-
super("resources.internet.PageUserAccess", [
|
|
278
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
279
|
-
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
280
|
-
{ no: 3, name: "target_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
281
|
-
{ no: 4, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gt: 0 } } } },
|
|
282
|
-
{ no: 5, name: "user", kind: "message", T: () => UserShort },
|
|
283
|
-
{ no: 6, name: "access", kind: "enum", T: () => ["resources.internet.AccessLevel", AccessLevel, "ACCESS_LEVEL_"], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
|
284
|
-
]);
|
|
285
|
-
}
|
|
286
|
-
create(value?: PartialMessage<PageUserAccess>): PageUserAccess {
|
|
287
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
288
|
-
message.id = 0;
|
|
289
|
-
message.targetId = 0;
|
|
290
|
-
message.userId = 0;
|
|
291
|
-
message.access = 0;
|
|
292
|
-
if (value !== undefined)
|
|
293
|
-
reflectionMergePartial<PageUserAccess>(this, message, value);
|
|
294
|
-
return message;
|
|
295
|
-
}
|
|
296
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PageUserAccess): PageUserAccess {
|
|
297
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
298
|
-
while (reader.pos < end) {
|
|
299
|
-
let [fieldNo, wireType] = reader.tag();
|
|
300
|
-
switch (fieldNo) {
|
|
301
|
-
case /* uint64 id */ 1:
|
|
302
|
-
message.id = reader.uint64().toNumber();
|
|
303
|
-
break;
|
|
304
|
-
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
305
|
-
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
306
|
-
break;
|
|
307
|
-
case /* uint64 target_id */ 3:
|
|
308
|
-
message.targetId = reader.uint64().toNumber();
|
|
309
|
-
break;
|
|
310
|
-
case /* int32 user_id */ 4:
|
|
311
|
-
message.userId = reader.int32();
|
|
312
|
-
break;
|
|
313
|
-
case /* optional resources.users.UserShort user */ 5:
|
|
314
|
-
message.user = UserShort.internalBinaryRead(reader, reader.uint32(), options, message.user);
|
|
315
|
-
break;
|
|
316
|
-
case /* resources.internet.AccessLevel access */ 6:
|
|
317
|
-
message.access = reader.int32();
|
|
318
|
-
break;
|
|
319
|
-
default:
|
|
320
|
-
let u = options.readUnknownField;
|
|
321
|
-
if (u === "throw")
|
|
322
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
323
|
-
let d = reader.skip(wireType);
|
|
324
|
-
if (u !== false)
|
|
325
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
return message;
|
|
329
|
-
}
|
|
330
|
-
internalBinaryWrite(message: PageUserAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
331
|
-
/* uint64 id = 1; */
|
|
332
|
-
if (message.id !== 0)
|
|
333
|
-
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
334
|
-
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
335
|
-
if (message.createdAt)
|
|
336
|
-
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
337
|
-
/* uint64 target_id = 3; */
|
|
338
|
-
if (message.targetId !== 0)
|
|
339
|
-
writer.tag(3, WireType.Varint).uint64(message.targetId);
|
|
340
|
-
/* int32 user_id = 4; */
|
|
341
|
-
if (message.userId !== 0)
|
|
342
|
-
writer.tag(4, WireType.Varint).int32(message.userId);
|
|
343
|
-
/* optional resources.users.UserShort user = 5; */
|
|
344
|
-
if (message.user)
|
|
345
|
-
UserShort.internalBinaryWrite(message.user, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
346
|
-
/* resources.internet.AccessLevel access = 6; */
|
|
347
|
-
if (message.access !== 0)
|
|
348
|
-
writer.tag(6, WireType.Varint).int32(message.access);
|
|
349
|
-
let u = options.writeUnknownFields;
|
|
350
|
-
if (u !== false)
|
|
351
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
352
|
-
return writer;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* @generated MessageType for protobuf message resources.internet.PageUserAccess
|
|
357
|
-
*/
|
|
358
|
-
export const PageUserAccess = new PageUserAccess$Type();
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
-
// @generated from protobuf file "resources/internet/ads.proto" (package "resources.internet", syntax proto3)
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
-
import { File } from "../filestore/file";
|
|
14
|
-
import { Timestamp } from "../timestamp/timestamp";
|
|
15
|
-
/**
|
|
16
|
-
* @generated from protobuf message resources.internet.Ad
|
|
17
|
-
*/
|
|
18
|
-
export interface Ad {
|
|
19
|
-
/**
|
|
20
|
-
* @generated from protobuf field: uint64 id = 1;
|
|
21
|
-
*/
|
|
22
|
-
id: number; // @gotags: sql:"primary_key" alias:"id"
|
|
23
|
-
/**
|
|
24
|
-
* @generated from protobuf field: resources.timestamp.Timestamp created_at = 2;
|
|
25
|
-
*/
|
|
26
|
-
createdAt?: Timestamp;
|
|
27
|
-
/**
|
|
28
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp updated_at = 3;
|
|
29
|
-
*/
|
|
30
|
-
updatedAt?: Timestamp;
|
|
31
|
-
/**
|
|
32
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp deleted_at = 4;
|
|
33
|
-
*/
|
|
34
|
-
deletedAt?: Timestamp;
|
|
35
|
-
/**
|
|
36
|
-
* @generated from protobuf field: bool disabled = 5;
|
|
37
|
-
*/
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @generated from protobuf field: resources.internet.AdType ad_type = 6;
|
|
41
|
-
*/
|
|
42
|
-
adType: AdType;
|
|
43
|
-
/**
|
|
44
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp starts_at = 7;
|
|
45
|
-
*/
|
|
46
|
-
startsAt?: Timestamp;
|
|
47
|
-
/**
|
|
48
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp ends_at = 8;
|
|
49
|
-
*/
|
|
50
|
-
endsAt?: Timestamp;
|
|
51
|
-
/**
|
|
52
|
-
* @sanitize: method=StripTags
|
|
53
|
-
*
|
|
54
|
-
* @generated from protobuf field: string title = 9;
|
|
55
|
-
*/
|
|
56
|
-
title: string;
|
|
57
|
-
/**
|
|
58
|
-
* @sanitize: method=StripTags
|
|
59
|
-
*
|
|
60
|
-
* @generated from protobuf field: string description = 10;
|
|
61
|
-
*/
|
|
62
|
-
description: string;
|
|
63
|
-
/**
|
|
64
|
-
* @generated from protobuf field: optional resources.filestore.File image = 11;
|
|
65
|
-
*/
|
|
66
|
-
image?: File;
|
|
67
|
-
/**
|
|
68
|
-
* @generated from protobuf field: optional int32 approver_id = 12;
|
|
69
|
-
*/
|
|
70
|
-
approverId?: number;
|
|
71
|
-
/**
|
|
72
|
-
* @generated from protobuf field: optional string approver_job = 13;
|
|
73
|
-
*/
|
|
74
|
-
approverJob?: string;
|
|
75
|
-
/**
|
|
76
|
-
* @generated from protobuf field: optional int32 creator_id = 14;
|
|
77
|
-
*/
|
|
78
|
-
creatorId?: number;
|
|
79
|
-
/**
|
|
80
|
-
* @generated from protobuf field: optional string creator_job = 15;
|
|
81
|
-
*/
|
|
82
|
-
creatorJob?: string;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* @generated from protobuf enum resources.internet.AdType
|
|
86
|
-
*/
|
|
87
|
-
export enum AdType {
|
|
88
|
-
/**
|
|
89
|
-
* @generated from protobuf enum value: AD_TYPE_UNSPECIFIED = 0;
|
|
90
|
-
*/
|
|
91
|
-
UNSPECIFIED = 0,
|
|
92
|
-
/**
|
|
93
|
-
* @generated from protobuf enum value: AD_TYPE_SPONSORED = 1;
|
|
94
|
-
*/
|
|
95
|
-
SPONSORED = 1,
|
|
96
|
-
/**
|
|
97
|
-
* @generated from protobuf enum value: AD_TYPE_SEARCH_RESULT = 2;
|
|
98
|
-
*/
|
|
99
|
-
SEARCH_RESULT = 2,
|
|
100
|
-
/**
|
|
101
|
-
* @generated from protobuf enum value: AD_TYPE_CONTENT_MAIN = 3;
|
|
102
|
-
*/
|
|
103
|
-
CONTENT_MAIN = 3,
|
|
104
|
-
/**
|
|
105
|
-
* @generated from protobuf enum value: AD_TYPE_CONTENT_ASIDE = 4;
|
|
106
|
-
*/
|
|
107
|
-
CONTENT_ASIDE = 4
|
|
108
|
-
}
|
|
109
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
110
|
-
class Ad$Type extends MessageType<Ad> {
|
|
111
|
-
constructor() {
|
|
112
|
-
super("resources.internet.Ad", [
|
|
113
|
-
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
114
|
-
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
115
|
-
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
116
|
-
{ no: 4, name: "deleted_at", kind: "message", T: () => Timestamp },
|
|
117
|
-
{ no: 5, name: "disabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
118
|
-
{ no: 6, name: "ad_type", kind: "enum", T: () => ["resources.internet.AdType", AdType, "AD_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
|
119
|
-
{ no: 7, name: "starts_at", kind: "message", T: () => Timestamp },
|
|
120
|
-
{ no: 8, name: "ends_at", kind: "message", T: () => Timestamp },
|
|
121
|
-
{ no: 9, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "3", maxLen: "255" } } } },
|
|
122
|
-
{ no: 10, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "3", maxLen: "1024" } } } },
|
|
123
|
-
{ no: 11, name: "image", kind: "message", T: () => File },
|
|
124
|
-
{ no: 12, name: "approver_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
125
|
-
{ no: 13, name: "approver_job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
126
|
-
{ no: 14, name: "creator_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
127
|
-
{ no: 15, name: "creator_job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
128
|
-
]);
|
|
129
|
-
}
|
|
130
|
-
create(value?: PartialMessage<Ad>): Ad {
|
|
131
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
132
|
-
message.id = 0;
|
|
133
|
-
message.disabled = false;
|
|
134
|
-
message.adType = 0;
|
|
135
|
-
message.title = "";
|
|
136
|
-
message.description = "";
|
|
137
|
-
if (value !== undefined)
|
|
138
|
-
reflectionMergePartial<Ad>(this, message, value);
|
|
139
|
-
return message;
|
|
140
|
-
}
|
|
141
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Ad): Ad {
|
|
142
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
143
|
-
while (reader.pos < end) {
|
|
144
|
-
let [fieldNo, wireType] = reader.tag();
|
|
145
|
-
switch (fieldNo) {
|
|
146
|
-
case /* uint64 id */ 1:
|
|
147
|
-
message.id = reader.uint64().toNumber();
|
|
148
|
-
break;
|
|
149
|
-
case /* resources.timestamp.Timestamp created_at */ 2:
|
|
150
|
-
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
151
|
-
break;
|
|
152
|
-
case /* optional resources.timestamp.Timestamp updated_at */ 3:
|
|
153
|
-
message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);
|
|
154
|
-
break;
|
|
155
|
-
case /* optional resources.timestamp.Timestamp deleted_at */ 4:
|
|
156
|
-
message.deletedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.deletedAt);
|
|
157
|
-
break;
|
|
158
|
-
case /* bool disabled */ 5:
|
|
159
|
-
message.disabled = reader.bool();
|
|
160
|
-
break;
|
|
161
|
-
case /* resources.internet.AdType ad_type */ 6:
|
|
162
|
-
message.adType = reader.int32();
|
|
163
|
-
break;
|
|
164
|
-
case /* optional resources.timestamp.Timestamp starts_at */ 7:
|
|
165
|
-
message.startsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.startsAt);
|
|
166
|
-
break;
|
|
167
|
-
case /* optional resources.timestamp.Timestamp ends_at */ 8:
|
|
168
|
-
message.endsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.endsAt);
|
|
169
|
-
break;
|
|
170
|
-
case /* string title */ 9:
|
|
171
|
-
message.title = reader.string();
|
|
172
|
-
break;
|
|
173
|
-
case /* string description */ 10:
|
|
174
|
-
message.description = reader.string();
|
|
175
|
-
break;
|
|
176
|
-
case /* optional resources.filestore.File image */ 11:
|
|
177
|
-
message.image = File.internalBinaryRead(reader, reader.uint32(), options, message.image);
|
|
178
|
-
break;
|
|
179
|
-
case /* optional int32 approver_id */ 12:
|
|
180
|
-
message.approverId = reader.int32();
|
|
181
|
-
break;
|
|
182
|
-
case /* optional string approver_job */ 13:
|
|
183
|
-
message.approverJob = reader.string();
|
|
184
|
-
break;
|
|
185
|
-
case /* optional int32 creator_id */ 14:
|
|
186
|
-
message.creatorId = reader.int32();
|
|
187
|
-
break;
|
|
188
|
-
case /* optional string creator_job */ 15:
|
|
189
|
-
message.creatorJob = reader.string();
|
|
190
|
-
break;
|
|
191
|
-
default:
|
|
192
|
-
let u = options.readUnknownField;
|
|
193
|
-
if (u === "throw")
|
|
194
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
195
|
-
let d = reader.skip(wireType);
|
|
196
|
-
if (u !== false)
|
|
197
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
return message;
|
|
201
|
-
}
|
|
202
|
-
internalBinaryWrite(message: Ad, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
203
|
-
/* uint64 id = 1; */
|
|
204
|
-
if (message.id !== 0)
|
|
205
|
-
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
206
|
-
/* resources.timestamp.Timestamp created_at = 2; */
|
|
207
|
-
if (message.createdAt)
|
|
208
|
-
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
209
|
-
/* optional resources.timestamp.Timestamp updated_at = 3; */
|
|
210
|
-
if (message.updatedAt)
|
|
211
|
-
Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
212
|
-
/* optional resources.timestamp.Timestamp deleted_at = 4; */
|
|
213
|
-
if (message.deletedAt)
|
|
214
|
-
Timestamp.internalBinaryWrite(message.deletedAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
215
|
-
/* bool disabled = 5; */
|
|
216
|
-
if (message.disabled !== false)
|
|
217
|
-
writer.tag(5, WireType.Varint).bool(message.disabled);
|
|
218
|
-
/* resources.internet.AdType ad_type = 6; */
|
|
219
|
-
if (message.adType !== 0)
|
|
220
|
-
writer.tag(6, WireType.Varint).int32(message.adType);
|
|
221
|
-
/* optional resources.timestamp.Timestamp starts_at = 7; */
|
|
222
|
-
if (message.startsAt)
|
|
223
|
-
Timestamp.internalBinaryWrite(message.startsAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
224
|
-
/* optional resources.timestamp.Timestamp ends_at = 8; */
|
|
225
|
-
if (message.endsAt)
|
|
226
|
-
Timestamp.internalBinaryWrite(message.endsAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
227
|
-
/* string title = 9; */
|
|
228
|
-
if (message.title !== "")
|
|
229
|
-
writer.tag(9, WireType.LengthDelimited).string(message.title);
|
|
230
|
-
/* string description = 10; */
|
|
231
|
-
if (message.description !== "")
|
|
232
|
-
writer.tag(10, WireType.LengthDelimited).string(message.description);
|
|
233
|
-
/* optional resources.filestore.File image = 11; */
|
|
234
|
-
if (message.image)
|
|
235
|
-
File.internalBinaryWrite(message.image, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
236
|
-
/* optional int32 approver_id = 12; */
|
|
237
|
-
if (message.approverId !== undefined)
|
|
238
|
-
writer.tag(12, WireType.Varint).int32(message.approverId);
|
|
239
|
-
/* optional string approver_job = 13; */
|
|
240
|
-
if (message.approverJob !== undefined)
|
|
241
|
-
writer.tag(13, WireType.LengthDelimited).string(message.approverJob);
|
|
242
|
-
/* optional int32 creator_id = 14; */
|
|
243
|
-
if (message.creatorId !== undefined)
|
|
244
|
-
writer.tag(14, WireType.Varint).int32(message.creatorId);
|
|
245
|
-
/* optional string creator_job = 15; */
|
|
246
|
-
if (message.creatorJob !== undefined)
|
|
247
|
-
writer.tag(15, WireType.LengthDelimited).string(message.creatorJob);
|
|
248
|
-
let u = options.writeUnknownFields;
|
|
249
|
-
if (u !== false)
|
|
250
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
251
|
-
return writer;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* @generated MessageType for protobuf message resources.internet.Ad
|
|
256
|
-
*/
|
|
257
|
-
export const Ad = new Ad$Type();
|