@fivenet-app/gen 2025.4.8 → 2025.5.3
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/README.md +7 -1
- package/clients.ts +48 -42
- package/google/protobuf/any.ts +1 -1
- package/google/protobuf/descriptor.ts +108 -50
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +1 -1
- package/package.json +3 -2
- package/perms.ts +96 -91
- package/resources/accounts/accounts.ts +39 -3
- package/resources/accounts/oauth2.ts +6 -6
- package/resources/{rector → audit}/audit.ts +22 -23
- package/resources/calendar/access.ts +4 -4
- package/resources/calendar/calendar.ts +1 -1
- package/resources/centrum/attributes.ts +6 -2
- package/resources/centrum/dispatches.ts +4 -4
- package/resources/centrum/disponents.ts +2 -2
- package/resources/centrum/settings.ts +3 -3
- package/resources/centrum/units.ts +4 -4
- package/resources/centrum/{access.ts → units_access.ts} +4 -4
- package/resources/centrum/user_unit.ts +2 -2
- package/resources/common/content/content.ts +2 -2
- package/resources/common/cron/cron.ts +53 -12
- package/resources/common/database/database.ts +1 -1
- package/resources/common/error.ts +1 -1
- package/resources/common/grpcws/grpcws.ts +1 -1
- package/resources/common/i18n.ts +1 -1
- package/resources/common/tests/objects.ts +1 -1
- package/resources/common/uuid.ts +1 -1
- package/resources/documents/access.ts +4 -4
- package/resources/documents/activity.ts +7 -7
- package/resources/documents/category.ts +49 -26
- package/resources/documents/comment.ts +1 -1
- package/resources/documents/documents.ts +1 -1
- package/resources/documents/requests.ts +1 -1
- package/resources/documents/templates.ts +5 -5
- package/resources/documents/workflow.ts +2 -2
- package/resources/filestore/file.ts +1 -1
- package/resources/internet/access.ts +4 -4
- package/resources/internet/ads.ts +1 -1
- package/resources/internet/domain.ts +1 -1
- package/resources/internet/page.ts +3 -3
- package/resources/internet/search.ts +1 -1
- package/resources/jobs/activity.ts +114 -114
- package/resources/jobs/colleagues.ts +59 -48
- package/resources/jobs/conduct.ts +52 -41
- package/resources/{users → jobs}/job_props.ts +28 -41
- package/resources/{users → jobs}/job_settings.ts +54 -54
- package/resources/{users → jobs}/jobs.ts +12 -12
- package/resources/jobs/labels.ts +29 -17
- package/resources/jobs/timeclock.ts +7 -7
- package/resources/laws/laws.ts +2 -2
- package/resources/livemap/livemap.ts +1 -1
- package/resources/livemap/tracker.ts +3 -3
- package/resources/mailer/access.ts +5 -5
- package/resources/mailer/email.ts +11 -23
- package/resources/mailer/events.ts +1 -1
- package/resources/mailer/message.ts +2 -2
- package/resources/mailer/settings.ts +1 -1
- package/resources/mailer/template.ts +1 -1
- package/resources/mailer/thread.ts +2 -2
- package/resources/notifications/events.ts +23 -11
- package/resources/notifications/notifications.ts +1 -1
- package/resources/permissions/attributes.ts +689 -0
- package/resources/permissions/permissions.ts +4 -727
- package/resources/qualifications/access.ts +2 -2
- package/resources/qualifications/exam.ts +7 -7
- package/resources/qualifications/qualifications.ts +9 -9
- package/resources/{rector → settings}/banner.ts +5 -5
- package/resources/{rector → settings}/config.ts +83 -83
- package/resources/stats/stats.ts +1 -1
- package/resources/sync/activity.ts +20 -20
- package/resources/sync/data.ts +26 -26
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/users/activity.ts +196 -196
- package/resources/users/labels.ts +28 -28
- package/resources/users/licenses.ts +12 -12
- package/resources/users/props.ts +28 -17
- package/resources/users/users.ts +2 -2
- package/resources/vehicles/vehicles.ts +4 -4
- package/resources/wiki/access.ts +4 -4
- package/resources/wiki/activity.ts +7 -7
- package/resources/wiki/page.ts +2 -2
- package/services/auth/auth.client.ts +8 -8
- package/services/auth/auth.ts +32 -32
- package/services/calendar/calendar.client.ts +1 -1
- package/services/calendar/calendar.ts +6 -6
- package/services/centrum/centrum.client.ts +1 -1
- package/services/centrum/centrum.ts +8 -8
- package/services/{citizenstore/citizenstore.client.ts → citizens/citizens.client.ts} +37 -37
- package/services/{citizenstore/citizenstore.ts → citizens/citizens.ts} +72 -72
- package/services/completor/completor.client.ts +1 -1
- package/services/completor/completor.ts +17 -17
- package/services/{docstore/docstore.client.ts → documents/documents.client.ts} +163 -180
- package/services/{docstore/docstore.ts → documents/documents.ts} +280 -377
- package/services/internet/ads.client.ts +1 -1
- package/services/internet/ads.ts +2 -2
- package/services/internet/domain.client.ts +1 -1
- package/services/internet/domain.ts +3 -3
- package/services/internet/internet.client.ts +1 -1
- package/services/internet/internet.ts +2 -2
- package/services/jobs/conduct.client.ts +9 -9
- package/services/jobs/conduct.ts +4 -4
- package/services/jobs/jobs.client.ts +15 -15
- package/services/jobs/jobs.ts +77 -77
- package/services/jobs/timeclock.client.ts +9 -9
- package/services/jobs/timeclock.ts +15 -15
- package/services/{livemapper → livemap}/livemap.client.ts +16 -16
- package/services/{livemapper → livemap}/livemap.ts +63 -52
- package/services/mailer/mailer.client.ts +5 -5
- package/services/mailer/mailer.ts +6 -6
- package/services/notificator/notificator.client.ts +1 -1
- package/services/notificator/notificator.ts +5 -5
- package/services/qualifications/qualifications.client.ts +1 -1
- package/services/qualifications/qualifications.ts +4 -4
- package/services/settings/accounts.client.ts +92 -0
- package/services/settings/accounts.ts +526 -0
- package/services/{rector → settings}/config.client.ts +18 -18
- package/services/{rector → settings}/config.ts +26 -26
- package/services/settings/cron.client.ts +41 -0
- package/services/settings/cron.ts +119 -0
- package/services/{rector → settings}/filestore.client.ts +22 -22
- package/services/{rector → settings}/filestore.ts +23 -23
- package/services/{rector → settings}/laws.client.ts +26 -26
- package/services/{rector → settings}/laws.ts +28 -28
- package/services/settings/settings.client.ts +262 -0
- package/services/{rector/rector.ts → settings/settings.ts} +558 -149
- package/services/stats/stats.client.ts +1 -1
- package/services/stats/stats.ts +1 -1
- package/services/sync/sync.client.ts +1 -1
- package/services/sync/sync.ts +33 -33
- package/services/{dmv → vehicles}/vehicles.client.ts +12 -12
- package/services/{dmv → vehicles}/vehicles.ts +11 -11
- package/services/wiki/wiki.client.ts +1 -1
- package/services/wiki/wiki.ts +3 -3
- package/svcs.ts +247 -235
- package/services/rector/rector.client.ts +0 -211
package/perms.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// Code generated by protoc-gen-fronthelper. DO NOT EDIT.
|
|
2
2
|
// source: resources/accounts/accounts.proto
|
|
3
3
|
// source: resources/accounts/oauth2.proto
|
|
4
|
+
// source: resources/audit/audit.proto
|
|
4
5
|
// source: resources/calendar/access.proto
|
|
5
6
|
// source: resources/calendar/calendar.proto
|
|
6
|
-
// source: resources/centrum/access.proto
|
|
7
7
|
// source: resources/centrum/attributes.proto
|
|
8
8
|
// source: resources/centrum/dispatches.proto
|
|
9
9
|
// source: resources/centrum/disponents.proto
|
|
10
10
|
// source: resources/centrum/settings.proto
|
|
11
11
|
// source: resources/centrum/units.proto
|
|
12
|
+
// source: resources/centrum/units_access.proto
|
|
12
13
|
// source: resources/centrum/user_unit.proto
|
|
13
14
|
// source: resources/common/error.proto
|
|
14
15
|
// source: resources/common/i18n.proto
|
|
@@ -35,6 +36,9 @@
|
|
|
35
36
|
// source: resources/jobs/activity.proto
|
|
36
37
|
// source: resources/jobs/colleagues.proto
|
|
37
38
|
// source: resources/jobs/conduct.proto
|
|
39
|
+
// source: resources/jobs/job_props.proto
|
|
40
|
+
// source: resources/jobs/job_settings.proto
|
|
41
|
+
// source: resources/jobs/jobs.proto
|
|
38
42
|
// source: resources/jobs/labels.proto
|
|
39
43
|
// source: resources/jobs/timeclock.proto
|
|
40
44
|
// source: resources/laws/laws.proto
|
|
@@ -49,21 +53,18 @@
|
|
|
49
53
|
// source: resources/mailer/thread.proto
|
|
50
54
|
// source: resources/notifications/events.proto
|
|
51
55
|
// source: resources/notifications/notifications.proto
|
|
56
|
+
// source: resources/permissions/attributes.proto
|
|
52
57
|
// source: resources/permissions/permissions.proto
|
|
53
58
|
// source: resources/qualifications/access.proto
|
|
54
59
|
// source: resources/qualifications/exam.proto
|
|
55
60
|
// source: resources/qualifications/qualifications.proto
|
|
56
|
-
// source: resources/
|
|
57
|
-
// source: resources/
|
|
58
|
-
// source: resources/rector/config.proto
|
|
61
|
+
// source: resources/settings/banner.proto
|
|
62
|
+
// source: resources/settings/config.proto
|
|
59
63
|
// source: resources/stats/stats.proto
|
|
60
64
|
// source: resources/sync/activity.proto
|
|
61
65
|
// source: resources/sync/data.proto
|
|
62
66
|
// source: resources/timestamp/timestamp.proto
|
|
63
67
|
// source: resources/users/activity.proto
|
|
64
|
-
// source: resources/users/job_props.proto
|
|
65
|
-
// source: resources/users/job_settings.proto
|
|
66
|
-
// source: resources/users/jobs.proto
|
|
67
68
|
// source: resources/users/labels.proto
|
|
68
69
|
// source: resources/users/licenses.proto
|
|
69
70
|
// source: resources/users/props.proto
|
|
@@ -75,104 +76,108 @@
|
|
|
75
76
|
// source: services/auth/auth.proto
|
|
76
77
|
// source: services/calendar/calendar.proto
|
|
77
78
|
// source: services/centrum/centrum.proto
|
|
78
|
-
// source: services/
|
|
79
|
+
// source: services/citizens/citizens.proto
|
|
79
80
|
// source: services/completor/completor.proto
|
|
80
|
-
// source: services/
|
|
81
|
-
// source: services/docstore/docstore.proto
|
|
81
|
+
// source: services/documents/documents.proto
|
|
82
82
|
// source: services/internet/ads.proto
|
|
83
83
|
// source: services/internet/domain.proto
|
|
84
84
|
// source: services/internet/internet.proto
|
|
85
85
|
// source: services/jobs/conduct.proto
|
|
86
86
|
// source: services/jobs/jobs.proto
|
|
87
87
|
// source: services/jobs/timeclock.proto
|
|
88
|
-
// source: services/
|
|
88
|
+
// source: services/livemap/livemap.proto
|
|
89
89
|
// source: services/mailer/mailer.proto
|
|
90
90
|
// source: services/notificator/notificator.proto
|
|
91
91
|
// source: services/qualifications/qualifications.proto
|
|
92
|
-
// source: services/
|
|
93
|
-
// source: services/
|
|
94
|
-
// source: services/
|
|
95
|
-
// source: services/
|
|
92
|
+
// source: services/settings/accounts.proto
|
|
93
|
+
// source: services/settings/config.proto
|
|
94
|
+
// source: services/settings/cron.proto
|
|
95
|
+
// source: services/settings/filestore.proto
|
|
96
|
+
// source: services/settings/laws.proto
|
|
97
|
+
// source: services/settings/settings.proto
|
|
96
98
|
// source: services/stats/stats.proto
|
|
97
99
|
// source: services/sync/sync.proto
|
|
100
|
+
// source: services/vehicles/vehicles.proto
|
|
98
101
|
// source: services/wiki/wiki.proto
|
|
99
102
|
|
|
100
103
|
export type Perms =
|
|
101
104
|
| 'CanBeSuper'
|
|
102
|
-
| '
|
|
105
|
+
| 'Superuser'
|
|
103
106
|
| 'TODOService.TODOMethod'
|
|
104
|
-
| 'AuthService.ChooseCharacter'
|
|
105
|
-
| 'CalendarService.CreateCalendar'
|
|
106
|
-
| 'CentrumService.CreateDispatch'
|
|
107
|
-
| 'CentrumService.CreateOrUpdateUnit'
|
|
108
|
-
| 'CentrumService.DeleteDispatch'
|
|
109
|
-
| 'CentrumService.DeleteUnit'
|
|
110
|
-
| 'CentrumService.Stream'
|
|
111
|
-
| 'CentrumService.TakeControl'
|
|
112
|
-
| 'CentrumService.TakeDispatch'
|
|
113
|
-
| 'CentrumService.UpdateDispatch'
|
|
114
|
-
| 'CentrumService.UpdateSettings'
|
|
115
|
-
| '
|
|
116
|
-
| '
|
|
117
|
-
| '
|
|
118
|
-
| '
|
|
119
|
-
| '
|
|
120
|
-
| 'CompletorService.CompleteCitizenLabels'
|
|
121
|
-
| 'CompletorService.CompleteCitizens'
|
|
122
|
-
| 'CompletorService.CompleteDocumentCategories'
|
|
123
|
-
| '
|
|
124
|
-
| '
|
|
125
|
-
| '
|
|
126
|
-
| '
|
|
127
|
-
| '
|
|
128
|
-
| '
|
|
129
|
-
| '
|
|
130
|
-
| '
|
|
131
|
-
| '
|
|
132
|
-
| '
|
|
133
|
-
| '
|
|
134
|
-
| '
|
|
135
|
-
| '
|
|
136
|
-
| '
|
|
137
|
-
| '
|
|
138
|
-
| '
|
|
139
|
-
| '
|
|
140
|
-
| '
|
|
141
|
-
| '
|
|
142
|
-
| '
|
|
143
|
-
| '
|
|
144
|
-
| '
|
|
145
|
-
| '
|
|
146
|
-
| '
|
|
147
|
-
| '
|
|
148
|
-
| '
|
|
149
|
-
| '
|
|
150
|
-
| 'JobsService.
|
|
151
|
-
| 'JobsService.
|
|
152
|
-
| 'JobsService.
|
|
153
|
-
| 'JobsService.
|
|
154
|
-
| 'JobsService.
|
|
155
|
-
| '
|
|
156
|
-
| '
|
|
157
|
-
| '
|
|
158
|
-
| '
|
|
159
|
-
| '
|
|
160
|
-
| '
|
|
161
|
-
| 'MailerService.
|
|
162
|
-
| 'MailerService.
|
|
163
|
-
| '
|
|
164
|
-
| 'QualificationsService.
|
|
165
|
-
| 'QualificationsService.
|
|
166
|
-
| 'QualificationsService.
|
|
167
|
-
| '
|
|
168
|
-
| '
|
|
169
|
-
| '
|
|
170
|
-
| '
|
|
171
|
-
| '
|
|
172
|
-
| '
|
|
173
|
-
| '
|
|
174
|
-
| '
|
|
175
|
-
| '
|
|
176
|
-
| '
|
|
177
|
-
| 'WikiService.
|
|
178
|
-
| 'WikiService.
|
|
107
|
+
| 'auth.AuthService.ChooseCharacter'
|
|
108
|
+
| 'calendar.CalendarService.CreateCalendar'
|
|
109
|
+
| 'centrum.CentrumService.CreateDispatch'
|
|
110
|
+
| 'centrum.CentrumService.CreateOrUpdateUnit'
|
|
111
|
+
| 'centrum.CentrumService.DeleteDispatch'
|
|
112
|
+
| 'centrum.CentrumService.DeleteUnit'
|
|
113
|
+
| 'centrum.CentrumService.Stream'
|
|
114
|
+
| 'centrum.CentrumService.TakeControl'
|
|
115
|
+
| 'centrum.CentrumService.TakeDispatch'
|
|
116
|
+
| 'centrum.CentrumService.UpdateDispatch'
|
|
117
|
+
| 'centrum.CentrumService.UpdateSettings'
|
|
118
|
+
| 'citizens.CitizensService.GetUser'
|
|
119
|
+
| 'citizens.CitizensService.ListCitizens'
|
|
120
|
+
| 'citizens.CitizensService.ListUserActivity'
|
|
121
|
+
| 'citizens.CitizensService.ManageLabels'
|
|
122
|
+
| 'citizens.CitizensService.SetUserProps'
|
|
123
|
+
| 'completor.CompletorService.CompleteCitizenLabels'
|
|
124
|
+
| 'completor.CompletorService.CompleteCitizens'
|
|
125
|
+
| 'completor.CompletorService.CompleteDocumentCategories'
|
|
126
|
+
| 'documents.DocumentsService.AddDocumentReference'
|
|
127
|
+
| 'documents.DocumentsService.AddDocumentRelation'
|
|
128
|
+
| 'documents.DocumentsService.ChangeDocumentOwner'
|
|
129
|
+
| 'documents.DocumentsService.CreateDocument'
|
|
130
|
+
| 'documents.DocumentsService.CreateDocumentReq'
|
|
131
|
+
| 'documents.DocumentsService.CreateOrUpdateCategory'
|
|
132
|
+
| 'documents.DocumentsService.CreateTemplate'
|
|
133
|
+
| 'documents.DocumentsService.DeleteCategory'
|
|
134
|
+
| 'documents.DocumentsService.DeleteComment'
|
|
135
|
+
| 'documents.DocumentsService.DeleteDocument'
|
|
136
|
+
| 'documents.DocumentsService.DeleteDocumentReq'
|
|
137
|
+
| 'documents.DocumentsService.DeleteTemplate'
|
|
138
|
+
| 'documents.DocumentsService.ListCategories'
|
|
139
|
+
| 'documents.DocumentsService.ListDocumentActivity'
|
|
140
|
+
| 'documents.DocumentsService.ListDocumentReqs'
|
|
141
|
+
| 'documents.DocumentsService.ListDocuments'
|
|
142
|
+
| 'documents.DocumentsService.ListTemplates'
|
|
143
|
+
| 'documents.DocumentsService.ListUserDocuments'
|
|
144
|
+
| 'documents.DocumentsService.SetDocumentReminder'
|
|
145
|
+
| 'documents.DocumentsService.ToggleDocument'
|
|
146
|
+
| 'documents.DocumentsService.ToggleDocumentPin'
|
|
147
|
+
| 'documents.DocumentsService.UpdateDocument'
|
|
148
|
+
| 'jobs.ConductService.CreateConductEntry'
|
|
149
|
+
| 'jobs.ConductService.DeleteConductEntry'
|
|
150
|
+
| 'jobs.ConductService.ListConductEntries'
|
|
151
|
+
| 'jobs.ConductService.UpdateConductEntry'
|
|
152
|
+
| 'jobs.JobsService.GetColleague'
|
|
153
|
+
| 'jobs.JobsService.ListColleagueActivity'
|
|
154
|
+
| 'jobs.JobsService.ListColleagues'
|
|
155
|
+
| 'jobs.JobsService.ManageLabels'
|
|
156
|
+
| 'jobs.JobsService.SetColleagueProps'
|
|
157
|
+
| 'jobs.JobsService.SetMOTD'
|
|
158
|
+
| 'jobs.TimeclockService.ListInactiveEmployees'
|
|
159
|
+
| 'jobs.TimeclockService.ListTimeclock'
|
|
160
|
+
| 'livemap.LivemapService.CreateOrUpdateMarker'
|
|
161
|
+
| 'livemap.LivemapService.DeleteMarker'
|
|
162
|
+
| 'livemap.LivemapService.Stream'
|
|
163
|
+
| 'mailer.MailerService.CreateOrUpdateEmail'
|
|
164
|
+
| 'mailer.MailerService.DeleteEmail'
|
|
165
|
+
| 'mailer.MailerService.ListEmails'
|
|
166
|
+
| 'qualifications.QualificationsService.CreateQualification'
|
|
167
|
+
| 'qualifications.QualificationsService.DeleteQualification'
|
|
168
|
+
| 'qualifications.QualificationsService.ListQualifications'
|
|
169
|
+
| 'qualifications.QualificationsService.UpdateQualification'
|
|
170
|
+
| 'settings.LawsService.CreateOrUpdateLawBook'
|
|
171
|
+
| 'settings.LawsService.DeleteLawBook'
|
|
172
|
+
| 'settings.SettingsService.CreateRole'
|
|
173
|
+
| 'settings.SettingsService.DeleteRole'
|
|
174
|
+
| 'settings.SettingsService.GetJobProps'
|
|
175
|
+
| 'settings.SettingsService.GetRoles'
|
|
176
|
+
| 'settings.SettingsService.SetJobProps'
|
|
177
|
+
| 'settings.SettingsService.UpdateRolePerms'
|
|
178
|
+
| 'settings.SettingsService.ViewAuditLog'
|
|
179
|
+
| 'vehicles.VehiclesService.ListVehicles'
|
|
180
|
+
| 'wiki.WikiService.CreatePage'
|
|
181
|
+
| 'wiki.WikiService.DeletePage'
|
|
182
|
+
| 'wiki.WikiService.ListPageActivity'
|
|
183
|
+
| 'wiki.WikiService.ListPages';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/accounts/accounts.proto" (package "resources.accounts", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -11,6 +11,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
11
11
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
12
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
13
|
import { User } from "../users/users";
|
|
14
|
+
import { OAuth2Account } from "./oauth2";
|
|
14
15
|
import { Timestamp } from "../timestamp/timestamp";
|
|
15
16
|
/**
|
|
16
17
|
* @generated from protobuf message resources.accounts.Account
|
|
@@ -19,7 +20,7 @@ export interface Account {
|
|
|
19
20
|
/**
|
|
20
21
|
* @generated from protobuf field: uint64 id = 1;
|
|
21
22
|
*/
|
|
22
|
-
id: number;
|
|
23
|
+
id: number; // @gotags: sql:"primary_key"
|
|
23
24
|
/**
|
|
24
25
|
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
25
26
|
*/
|
|
@@ -36,6 +37,18 @@ export interface Account {
|
|
|
36
37
|
* @generated from protobuf field: string license = 5;
|
|
37
38
|
*/
|
|
38
39
|
license: string;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf field: bool enabled = 6;
|
|
42
|
+
*/
|
|
43
|
+
enabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf field: optional int32 last_char = 7;
|
|
46
|
+
*/
|
|
47
|
+
lastChar?: number;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf field: repeated resources.accounts.OAuth2Account oauth2_accounts = 8;
|
|
50
|
+
*/
|
|
51
|
+
oauth2Accounts: OAuth2Account[]; // @gotags: alias:"oauth2_account"
|
|
39
52
|
}
|
|
40
53
|
/**
|
|
41
54
|
* @generated from protobuf message resources.accounts.Character
|
|
@@ -62,7 +75,10 @@ class Account$Type extends MessageType<Account> {
|
|
|
62
75
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
63
76
|
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
64
77
|
{ no: 4, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "24" } } } },
|
|
65
|
-
{ no: 5, name: "license", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "64" } } } }
|
|
78
|
+
{ no: 5, name: "license", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "64" } } } },
|
|
79
|
+
{ no: 6, name: "enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
80
|
+
{ no: 7, name: "last_char", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gt: 0 } } } },
|
|
81
|
+
{ no: 8, name: "oauth2_accounts", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OAuth2Account, options: { "validate.rules": { repeated: { maxItems: "10" } } } }
|
|
66
82
|
]);
|
|
67
83
|
}
|
|
68
84
|
create(value?: PartialMessage<Account>): Account {
|
|
@@ -70,6 +86,8 @@ class Account$Type extends MessageType<Account> {
|
|
|
70
86
|
message.id = 0;
|
|
71
87
|
message.username = "";
|
|
72
88
|
message.license = "";
|
|
89
|
+
message.enabled = false;
|
|
90
|
+
message.oauth2Accounts = [];
|
|
73
91
|
if (value !== undefined)
|
|
74
92
|
reflectionMergePartial<Account>(this, message, value);
|
|
75
93
|
return message;
|
|
@@ -94,6 +112,15 @@ class Account$Type extends MessageType<Account> {
|
|
|
94
112
|
case /* string license */ 5:
|
|
95
113
|
message.license = reader.string();
|
|
96
114
|
break;
|
|
115
|
+
case /* bool enabled */ 6:
|
|
116
|
+
message.enabled = reader.bool();
|
|
117
|
+
break;
|
|
118
|
+
case /* optional int32 last_char */ 7:
|
|
119
|
+
message.lastChar = reader.int32();
|
|
120
|
+
break;
|
|
121
|
+
case /* repeated resources.accounts.OAuth2Account oauth2_accounts */ 8:
|
|
122
|
+
message.oauth2Accounts.push(OAuth2Account.internalBinaryRead(reader, reader.uint32(), options));
|
|
123
|
+
break;
|
|
97
124
|
default:
|
|
98
125
|
let u = options.readUnknownField;
|
|
99
126
|
if (u === "throw")
|
|
@@ -121,6 +148,15 @@ class Account$Type extends MessageType<Account> {
|
|
|
121
148
|
/* string license = 5; */
|
|
122
149
|
if (message.license !== "")
|
|
123
150
|
writer.tag(5, WireType.LengthDelimited).string(message.license);
|
|
151
|
+
/* bool enabled = 6; */
|
|
152
|
+
if (message.enabled !== false)
|
|
153
|
+
writer.tag(6, WireType.Varint).bool(message.enabled);
|
|
154
|
+
/* optional int32 last_char = 7; */
|
|
155
|
+
if (message.lastChar !== undefined)
|
|
156
|
+
writer.tag(7, WireType.Varint).int32(message.lastChar);
|
|
157
|
+
/* repeated resources.accounts.OAuth2Account oauth2_accounts = 8; */
|
|
158
|
+
for (let i = 0; i < message.oauth2Accounts.length; i++)
|
|
159
|
+
OAuth2Account.internalBinaryWrite(message.oauth2Accounts[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
124
160
|
let u = options.writeUnknownFields;
|
|
125
161
|
if (u !== false)
|
|
126
162
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/accounts/oauth2.proto" (package "resources.accounts", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -26,7 +26,7 @@ export interface OAuth2Account {
|
|
|
26
26
|
/**
|
|
27
27
|
* @generated from protobuf field: string provider_name = 3;
|
|
28
28
|
*/
|
|
29
|
-
providerName: string;
|
|
29
|
+
providerName: string; // @gotags: sql:"primary_key" alias:"provider_name"
|
|
30
30
|
/**
|
|
31
31
|
* @generated from protobuf field: resources.accounts.OAuth2Provider provider = 4;
|
|
32
32
|
*/
|
|
@@ -71,11 +71,11 @@ class OAuth2Account$Type extends MessageType<OAuth2Account> {
|
|
|
71
71
|
super("resources.accounts.OAuth2Account", [
|
|
72
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
|
-
{ no: 3, name: "provider_name", kind: "scalar", T: 9 /*ScalarType.STRING
|
|
74
|
+
{ no: 3, name: "provider_name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "255" } } } },
|
|
75
75
|
{ no: 4, name: "provider", kind: "message", T: () => OAuth2Provider },
|
|
76
|
-
{ no: 5, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING
|
|
77
|
-
{ no: 6, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING
|
|
78
|
-
{ no: 7, name: "avatar", kind: "scalar", T: 9 /*ScalarType.STRING
|
|
76
|
+
{ no: 5, name: "external_id", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "128" } } } },
|
|
77
|
+
{ no: 6, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "255" } } } },
|
|
78
|
+
{ no: 7, name: "avatar", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "255" } } } }
|
|
79
79
|
]);
|
|
80
80
|
}
|
|
81
81
|
create(value?: PartialMessage<OAuth2Account>): OAuth2Account {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
2
|
-
// @generated from protobuf file "resources/
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
+
// @generated from protobuf file "resources/audit/audit.proto" (package "resources.audit", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
5
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
@@ -13,7 +13,7 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
13
13
|
import { UserShort } from "../users/users";
|
|
14
14
|
import { Timestamp } from "../timestamp/timestamp";
|
|
15
15
|
/**
|
|
16
|
-
* @generated from protobuf message resources.
|
|
16
|
+
* @generated from protobuf message resources.audit.AuditEntry
|
|
17
17
|
*/
|
|
18
18
|
export interface AuditEntry {
|
|
19
19
|
/**
|
|
@@ -25,7 +25,7 @@ export interface AuditEntry {
|
|
|
25
25
|
*/
|
|
26
26
|
createdAt?: Timestamp;
|
|
27
27
|
/**
|
|
28
|
-
* @generated from protobuf field:
|
|
28
|
+
* @generated from protobuf field: int32 user_id = 3;
|
|
29
29
|
*/
|
|
30
30
|
userId: number; // @gotags: alias:"user_id"
|
|
31
31
|
/**
|
|
@@ -45,9 +45,9 @@ export interface AuditEntry {
|
|
|
45
45
|
*/
|
|
46
46
|
targetUser?: UserShort;
|
|
47
47
|
/**
|
|
48
|
-
* @generated from protobuf field: string target_user_job = 8;
|
|
48
|
+
* @generated from protobuf field: optional string target_user_job = 8;
|
|
49
49
|
*/
|
|
50
|
-
targetUserJob
|
|
50
|
+
targetUserJob?: string; // @gotags: alias:"target_user_job"
|
|
51
51
|
/**
|
|
52
52
|
* @generated from protobuf field: string service = 9;
|
|
53
53
|
*/
|
|
@@ -57,7 +57,7 @@ export interface AuditEntry {
|
|
|
57
57
|
*/
|
|
58
58
|
method: string; // @gotags: alias:"method"
|
|
59
59
|
/**
|
|
60
|
-
* @generated from protobuf field: resources.
|
|
60
|
+
* @generated from protobuf field: resources.audit.EventType state = 11;
|
|
61
61
|
*/
|
|
62
62
|
state: EventType; // @gotags: alias:"state"
|
|
63
63
|
/**
|
|
@@ -66,7 +66,7 @@ export interface AuditEntry {
|
|
|
66
66
|
data?: string; // @gotags: alias:"data"
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* @generated from protobuf enum resources.
|
|
69
|
+
* @generated from protobuf enum resources.audit.EventType
|
|
70
70
|
*/
|
|
71
71
|
export enum EventType {
|
|
72
72
|
/**
|
|
@@ -97,18 +97,18 @@ export enum EventType {
|
|
|
97
97
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
98
98
|
class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
99
99
|
constructor() {
|
|
100
|
-
super("resources.
|
|
100
|
+
super("resources.audit.AuditEntry", [
|
|
101
101
|
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
102
102
|
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
103
|
-
{ no: 3, name: "user_id", kind: "scalar", T:
|
|
103
|
+
{ no: 3, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
104
104
|
{ no: 4, name: "user", kind: "message", T: () => UserShort },
|
|
105
105
|
{ no: 5, name: "user_job", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
106
106
|
{ no: 6, name: "target_user_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
107
107
|
{ no: 7, name: "target_user", kind: "message", T: () => UserShort },
|
|
108
|
-
{ no: 8, name: "target_user_job", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
108
|
+
{ no: 8, name: "target_user_job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
109
109
|
{ no: 9, name: "service", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
110
110
|
{ no: 10, name: "method", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
111
|
-
{ no: 11, name: "state", kind: "enum", T: () => ["resources.
|
|
111
|
+
{ no: 11, name: "state", kind: "enum", T: () => ["resources.audit.EventType", EventType, "EVENT_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
|
112
112
|
{ no: 12, name: "data", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
113
113
|
]);
|
|
114
114
|
}
|
|
@@ -117,7 +117,6 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
117
117
|
message.id = 0;
|
|
118
118
|
message.userId = 0;
|
|
119
119
|
message.userJob = "";
|
|
120
|
-
message.targetUserJob = "";
|
|
121
120
|
message.service = "";
|
|
122
121
|
message.method = "";
|
|
123
122
|
message.state = 0;
|
|
@@ -136,8 +135,8 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
136
135
|
case /* resources.timestamp.Timestamp created_at */ 2:
|
|
137
136
|
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
138
137
|
break;
|
|
139
|
-
case /*
|
|
140
|
-
message.userId = reader.
|
|
138
|
+
case /* int32 user_id */ 3:
|
|
139
|
+
message.userId = reader.int32();
|
|
141
140
|
break;
|
|
142
141
|
case /* optional resources.users.UserShort user */ 4:
|
|
143
142
|
message.user = UserShort.internalBinaryRead(reader, reader.uint32(), options, message.user);
|
|
@@ -151,7 +150,7 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
151
150
|
case /* optional resources.users.UserShort target_user */ 7:
|
|
152
151
|
message.targetUser = UserShort.internalBinaryRead(reader, reader.uint32(), options, message.targetUser);
|
|
153
152
|
break;
|
|
154
|
-
case /* string target_user_job */ 8:
|
|
153
|
+
case /* optional string target_user_job */ 8:
|
|
155
154
|
message.targetUserJob = reader.string();
|
|
156
155
|
break;
|
|
157
156
|
case /* string service */ 9:
|
|
@@ -160,7 +159,7 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
160
159
|
case /* string method */ 10:
|
|
161
160
|
message.method = reader.string();
|
|
162
161
|
break;
|
|
163
|
-
case /* resources.
|
|
162
|
+
case /* resources.audit.EventType state */ 11:
|
|
164
163
|
message.state = reader.int32();
|
|
165
164
|
break;
|
|
166
165
|
case /* optional string data */ 12:
|
|
@@ -184,9 +183,9 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
184
183
|
/* resources.timestamp.Timestamp created_at = 2; */
|
|
185
184
|
if (message.createdAt)
|
|
186
185
|
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
187
|
-
/*
|
|
186
|
+
/* int32 user_id = 3; */
|
|
188
187
|
if (message.userId !== 0)
|
|
189
|
-
writer.tag(3, WireType.Varint).
|
|
188
|
+
writer.tag(3, WireType.Varint).int32(message.userId);
|
|
190
189
|
/* optional resources.users.UserShort user = 4; */
|
|
191
190
|
if (message.user)
|
|
192
191
|
UserShort.internalBinaryWrite(message.user, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -199,8 +198,8 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
199
198
|
/* optional resources.users.UserShort target_user = 7; */
|
|
200
199
|
if (message.targetUser)
|
|
201
200
|
UserShort.internalBinaryWrite(message.targetUser, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
202
|
-
/* string target_user_job = 8; */
|
|
203
|
-
if (message.targetUserJob !==
|
|
201
|
+
/* optional string target_user_job = 8; */
|
|
202
|
+
if (message.targetUserJob !== undefined)
|
|
204
203
|
writer.tag(8, WireType.LengthDelimited).string(message.targetUserJob);
|
|
205
204
|
/* string service = 9; */
|
|
206
205
|
if (message.service !== "")
|
|
@@ -208,7 +207,7 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
208
207
|
/* string method = 10; */
|
|
209
208
|
if (message.method !== "")
|
|
210
209
|
writer.tag(10, WireType.LengthDelimited).string(message.method);
|
|
211
|
-
/* resources.
|
|
210
|
+
/* resources.audit.EventType state = 11; */
|
|
212
211
|
if (message.state !== 0)
|
|
213
212
|
writer.tag(11, WireType.Varint).int32(message.state);
|
|
214
213
|
/* optional string data = 12; */
|
|
@@ -221,6 +220,6 @@ class AuditEntry$Type extends MessageType<AuditEntry> {
|
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
222
|
/**
|
|
224
|
-
* @generated MessageType for protobuf message resources.
|
|
223
|
+
* @generated MessageType for protobuf message resources.audit.AuditEntry
|
|
225
224
|
*/
|
|
226
225
|
export const AuditEntry = new AuditEntry$Type();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/calendar/access.proto" (package "resources.calendar", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -23,7 +23,7 @@ export interface CalendarAccess {
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from protobuf field: repeated resources.calendar.CalendarUserAccess users = 2;
|
|
25
25
|
*/
|
|
26
|
-
users: CalendarUserAccess[]; // @gotags: alias:"
|
|
26
|
+
users: CalendarUserAccess[]; // @gotags: alias:"citizen_access"
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* @generated from protobuf message resources.calendar.CalendarJobAccess
|
|
@@ -124,8 +124,8 @@ export enum AccessLevel {
|
|
|
124
124
|
class CalendarAccess$Type extends MessageType<CalendarAccess> {
|
|
125
125
|
constructor() {
|
|
126
126
|
super("resources.calendar.CalendarAccess", [
|
|
127
|
-
{ no: 1, name: "jobs", kind: "message", repeat:
|
|
128
|
-
{ no: 2, name: "users", kind: "message", repeat:
|
|
127
|
+
{ no: 1, name: "jobs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarJobAccess, options: { "validate.rules": { repeated: { maxItems: "20" } } } },
|
|
128
|
+
{ no: 2, name: "users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarUserAccess, options: { "validate.rules": { repeated: { maxItems: "20" } } } }
|
|
129
129
|
]);
|
|
130
130
|
}
|
|
131
131
|
create(value?: PartialMessage<CalendarAccess>): CalendarAccess {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/calendar/calendar.proto" (package "resources.calendar", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/centrum/attributes.proto" (package "resources.centrum", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -68,7 +68,11 @@ export enum DispatchAttribute {
|
|
|
68
68
|
/**
|
|
69
69
|
* @generated from protobuf enum value: DISPATCH_ATTRIBUTE_TOO_OLD = 3;
|
|
70
70
|
*/
|
|
71
|
-
TOO_OLD = 3
|
|
71
|
+
TOO_OLD = 3,
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf enum value: DISPATCH_ATTRIBUTE_AUTOMATIC = 4;
|
|
74
|
+
*/
|
|
75
|
+
AUTOMATIC = 4
|
|
72
76
|
}
|
|
73
77
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
74
78
|
class UnitAttributes$Type extends MessageType<UnitAttributes> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/centrum/dispatches.proto" (package "resources.centrum", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -340,7 +340,7 @@ class Dispatch$Type extends MessageType<Dispatch> {
|
|
|
340
340
|
{ no: 13, name: "anon", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
341
341
|
{ no: 14, name: "creator_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gt: 0 } } } },
|
|
342
342
|
{ no: 15, name: "creator", kind: "message", T: () => User },
|
|
343
|
-
{ no: 16, name: "units", kind: "message", repeat:
|
|
343
|
+
{ no: 16, name: "units", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DispatchAssignment },
|
|
344
344
|
{ no: 17, name: "references", kind: "message", T: () => DispatchReferences }
|
|
345
345
|
]);
|
|
346
346
|
}
|
|
@@ -486,7 +486,7 @@ class DispatchAssignments$Type extends MessageType<DispatchAssignments> {
|
|
|
486
486
|
super("resources.centrum.DispatchAssignments", [
|
|
487
487
|
{ no: 1, name: "dispatch_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
488
488
|
{ no: 2, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
489
|
-
{ no: 3, name: "units", kind: "message", repeat:
|
|
489
|
+
{ no: 3, name: "units", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DispatchAssignment }
|
|
490
490
|
]);
|
|
491
491
|
}
|
|
492
492
|
create(value?: PartialMessage<DispatchAssignments>): DispatchAssignments {
|
|
@@ -756,7 +756,7 @@ export const DispatchStatus = new DispatchStatus$Type();
|
|
|
756
756
|
class DispatchReferences$Type extends MessageType<DispatchReferences> {
|
|
757
757
|
constructor() {
|
|
758
758
|
super("resources.centrum.DispatchReferences", [
|
|
759
|
-
{ no: 1, name: "references", kind: "message", repeat:
|
|
759
|
+
{ no: 1, name: "references", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DispatchReference }
|
|
760
760
|
]);
|
|
761
761
|
}
|
|
762
762
|
create(value?: PartialMessage<DispatchReferences>): DispatchReferences {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/centrum/disponents.proto" (package "resources.centrum", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -29,7 +29,7 @@ class Disponents$Type extends MessageType<Disponents> {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super("resources.centrum.Disponents", [
|
|
31
31
|
{ no: 1, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
32
|
-
{ no: 2, name: "disponents", kind: "message", repeat:
|
|
32
|
+
{ no: 2, name: "disponents", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Colleague }
|
|
33
33
|
]);
|
|
34
34
|
}
|
|
35
35
|
create(value?: PartialMessage<Disponents>): Disponents {
|