Skip to content

Commit 5cef7fa

Browse files
suchak1alkalescent
authored andcommitted
🤖 🎨 Autoformat
Signed-off-by: Krish Suchak <[email protected]>
1 parent 53cf268 commit 5cef7fa

File tree

12 files changed

+2799
-1084
lines changed

12 files changed

+2799
-1084
lines changed

‎lib/src/platform/authorization/authorization_pb.ts

Lines changed: 224 additions & 114 deletions
Large diffs are not rendered by default.

‎lib/src/platform/common/common_pb.ts

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
/* eslint-disable */
44
// @ts-nocheck
55

6-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7-
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
6+
import type {
7+
BinaryReadOptions,
8+
FieldList,
9+
JsonReadOptions,
10+
JsonValue,
11+
PartialMessage,
12+
PlainMessage,
13+
} from '@bufbuild/protobuf';
14+
import { Message, proto3, Timestamp } from '@bufbuild/protobuf';
815

916
/**
1017
* @generated from enum common.MetadataUpdateEnum
@@ -32,10 +39,10 @@ export enum MetadataUpdateEnum {
3239
REPLACE = 2,
3340
}
3441
// Retrieve enum metadata with: proto3.getEnumType(MetadataUpdateEnum)
35-
proto3.util.setEnumType(MetadataUpdateEnum, "common.MetadataUpdateEnum", [
36-
{ no: 0, name: "METADATA_UPDATE_ENUM_UNSPECIFIED" },
37-
{ no: 1, name: "METADATA_UPDATE_ENUM_EXTEND" },
38-
{ no: 2, name: "METADATA_UPDATE_ENUM_REPLACE" },
42+
proto3.util.setEnumType(MetadataUpdateEnum, 'common.MetadataUpdateEnum', [
43+
{ no: 0, name: 'METADATA_UPDATE_ENUM_UNSPECIFIED' },
44+
{ no: 1, name: 'METADATA_UPDATE_ENUM_EXTEND' },
45+
{ no: 2, name: 'METADATA_UPDATE_ENUM_REPLACE' },
3946
]);
4047

4148
/**
@@ -65,11 +72,11 @@ export enum ActiveStateEnum {
6572
ANY = 3,
6673
}
6774
// Retrieve enum metadata with: proto3.getEnumType(ActiveStateEnum)
68-
proto3.util.setEnumType(ActiveStateEnum, "common.ActiveStateEnum", [
69-
{ no: 0, name: "ACTIVE_STATE_ENUM_UNSPECIFIED" },
70-
{ no: 1, name: "ACTIVE_STATE_ENUM_ACTIVE" },
71-
{ no: 2, name: "ACTIVE_STATE_ENUM_INACTIVE" },
72-
{ no: 3, name: "ACTIVE_STATE_ENUM_ANY" },
75+
proto3.util.setEnumType(ActiveStateEnum, 'common.ActiveStateEnum', [
76+
{ no: 0, name: 'ACTIVE_STATE_ENUM_UNSPECIFIED' },
77+
{ no: 1, name: 'ACTIVE_STATE_ENUM_ACTIVE' },
78+
{ no: 2, name: 'ACTIVE_STATE_ENUM_INACTIVE' },
79+
{ no: 3, name: 'ACTIVE_STATE_ENUM_ANY' },
7380
]);
7481

7582
/**
@@ -105,11 +112,17 @@ export class Metadata extends Message<Metadata> {
105112
}
106113

107114
static readonly runtime: typeof proto3 = proto3;
108-
static readonly typeName = "common.Metadata";
115+
static readonly typeName = 'common.Metadata';
109116
static readonly fields: FieldList = proto3.util.newFieldList(() => [
110-
{ no: 1, name: "created_at", kind: "message", T: Timestamp },
111-
{ no: 2, name: "updated_at", kind: "message", T: Timestamp },
112-
{ no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
117+
{ no: 1, name: 'created_at', kind: 'message', T: Timestamp },
118+
{ no: 2, name: 'updated_at', kind: 'message', T: Timestamp },
119+
{
120+
no: 3,
121+
name: 'labels',
122+
kind: 'map',
123+
K: 9 /* ScalarType.STRING */,
124+
V: { kind: 'scalar', T: 9 /* ScalarType.STRING */ },
125+
},
113126
]);
114127

115128
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Metadata {
@@ -124,7 +137,10 @@ export class Metadata extends Message<Metadata> {
124137
return new Metadata().fromJsonString(jsonString, options);
125138
}
126139

127-
static equals(a: Metadata | PlainMessage<Metadata> | undefined, b: Metadata | PlainMessage<Metadata> | undefined): boolean {
140+
static equals(
141+
a: Metadata | PlainMessage<Metadata> | undefined,
142+
b: Metadata | PlainMessage<Metadata> | undefined
143+
): boolean {
128144
return proto3.util.equals(Metadata, a, b);
129145
}
130146
}
@@ -146,9 +162,15 @@ export class MetadataMutable extends Message<MetadataMutable> {
146162
}
147163

148164
static readonly runtime: typeof proto3 = proto3;
149-
static readonly typeName = "common.MetadataMutable";
165+
static readonly typeName = 'common.MetadataMutable';
150166
static readonly fields: FieldList = proto3.util.newFieldList(() => [
151-
{ no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
167+
{
168+
no: 3,
169+
name: 'labels',
170+
kind: 'map',
171+
K: 9 /* ScalarType.STRING */,
172+
V: { kind: 'scalar', T: 9 /* ScalarType.STRING */ },
173+
},
152174
]);
153175

154176
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMutable {
@@ -163,8 +185,10 @@ export class MetadataMutable extends Message<MetadataMutable> {
163185
return new MetadataMutable().fromJsonString(jsonString, options);
164186
}
165187

166-
static equals(a: MetadataMutable | PlainMessage<MetadataMutable> | undefined, b: MetadataMutable | PlainMessage<MetadataMutable> | undefined): boolean {
188+
static equals(
189+
a: MetadataMutable | PlainMessage<MetadataMutable> | undefined,
190+
b: MetadataMutable | PlainMessage<MetadataMutable> | undefined
191+
): boolean {
167192
return proto3.util.equals(MetadataMutable, a, b);
168193
}
169194
}
170-

‎lib/src/platform/entityresolution/entity_resolution_pb.ts

Lines changed: 79 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@
33
/* eslint-disable */
44
// @ts-nocheck
55

6-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7-
import { Any, Message, proto3, Struct } from "@bufbuild/protobuf";
8-
import { Entity } from "../authorization/authorization_pb.js";
6+
import type {
7+
BinaryReadOptions,
8+
FieldList,
9+
JsonReadOptions,
10+
JsonValue,
11+
PartialMessage,
12+
PlainMessage,
13+
} from '@bufbuild/protobuf';
14+
import { Any, Message, proto3, Struct } from '@bufbuild/protobuf';
15+
import { Entity } from '../authorization/authorization_pb.js';
916

1017
/**
1118
*
@@ -38,24 +45,36 @@ export class ResolveEntitiesRequest extends Message<ResolveEntitiesRequest> {
3845
}
3946

4047
static readonly runtime: typeof proto3 = proto3;
41-
static readonly typeName = "entityresolution.ResolveEntitiesRequest";
48+
static readonly typeName = 'entityresolution.ResolveEntitiesRequest';
4249
static readonly fields: FieldList = proto3.util.newFieldList(() => [
43-
{ no: 1, name: "entities", kind: "message", T: Entity, repeated: true },
50+
{ no: 1, name: 'entities', kind: 'message', T: Entity, repeated: true },
4451
]);
4552

46-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolveEntitiesRequest {
53+
static fromBinary(
54+
bytes: Uint8Array,
55+
options?: Partial<BinaryReadOptions>
56+
): ResolveEntitiesRequest {
4757
return new ResolveEntitiesRequest().fromBinary(bytes, options);
4858
}
4959

50-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolveEntitiesRequest {
60+
static fromJson(
61+
jsonValue: JsonValue,
62+
options?: Partial<JsonReadOptions>
63+
): ResolveEntitiesRequest {
5164
return new ResolveEntitiesRequest().fromJson(jsonValue, options);
5265
}
5366

54-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolveEntitiesRequest {
67+
static fromJsonString(
68+
jsonString: string,
69+
options?: Partial<JsonReadOptions>
70+
): ResolveEntitiesRequest {
5571
return new ResolveEntitiesRequest().fromJsonString(jsonString, options);
5672
}
5773

58-
static equals(a: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined, b: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined): boolean {
74+
static equals(
75+
a: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined,
76+
b: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined
77+
): boolean {
5978
return proto3.util.equals(ResolveEntitiesRequest, a, b);
6079
}
6180
}
@@ -74,18 +93,18 @@ export class EntityRepresentation extends Message<EntityRepresentation> {
7493
*
7594
* @generated from field: string original_id = 2;
7695
*/
77-
originalId = "";
96+
originalId = '';
7897

7998
constructor(data?: PartialMessage<EntityRepresentation>) {
8099
super();
81100
proto3.util.initPartial(data, this);
82101
}
83102

84103
static readonly runtime: typeof proto3 = proto3;
85-
static readonly typeName = "entityresolution.EntityRepresentation";
104+
static readonly typeName = 'entityresolution.EntityRepresentation';
86105
static readonly fields: FieldList = proto3.util.newFieldList(() => [
87-
{ no: 1, name: "additional_props", kind: "message", T: Struct, repeated: true },
88-
{ no: 2, name: "original_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
106+
{ no: 1, name: 'additional_props', kind: 'message', T: Struct, repeated: true },
107+
{ no: 2, name: 'original_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
89108
]);
90109

91110
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityRepresentation {
@@ -96,11 +115,17 @@ export class EntityRepresentation extends Message<EntityRepresentation> {
96115
return new EntityRepresentation().fromJson(jsonValue, options);
97116
}
98117

99-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityRepresentation {
118+
static fromJsonString(
119+
jsonString: string,
120+
options?: Partial<JsonReadOptions>
121+
): EntityRepresentation {
100122
return new EntityRepresentation().fromJsonString(jsonString, options);
101123
}
102124

103-
static equals(a: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined, b: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined): boolean {
125+
static equals(
126+
a: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined,
127+
b: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined
128+
): boolean {
104129
return proto3.util.equals(EntityRepresentation, a, b);
105130
}
106131
}
@@ -136,24 +161,42 @@ export class ResolveEntitiesResponse extends Message<ResolveEntitiesResponse> {
136161
}
137162

138163
static readonly runtime: typeof proto3 = proto3;
139-
static readonly typeName = "entityresolution.ResolveEntitiesResponse";
164+
static readonly typeName = 'entityresolution.ResolveEntitiesResponse';
140165
static readonly fields: FieldList = proto3.util.newFieldList(() => [
141-
{ no: 1, name: "entity_representations", kind: "message", T: EntityRepresentation, repeated: true },
166+
{
167+
no: 1,
168+
name: 'entity_representations',
169+
kind: 'message',
170+
T: EntityRepresentation,
171+
repeated: true,
172+
},
142173
]);
143174

144-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolveEntitiesResponse {
175+
static fromBinary(
176+
bytes: Uint8Array,
177+
options?: Partial<BinaryReadOptions>
178+
): ResolveEntitiesResponse {
145179
return new ResolveEntitiesResponse().fromBinary(bytes, options);
146180
}
147181

148-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolveEntitiesResponse {
182+
static fromJson(
183+
jsonValue: JsonValue,
184+
options?: Partial<JsonReadOptions>
185+
): ResolveEntitiesResponse {
149186
return new ResolveEntitiesResponse().fromJson(jsonValue, options);
150187
}
151188

152-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolveEntitiesResponse {
189+
static fromJsonString(
190+
jsonString: string,
191+
options?: Partial<JsonReadOptions>
192+
): ResolveEntitiesResponse {
153193
return new ResolveEntitiesResponse().fromJsonString(jsonString, options);
154194
}
155195

156-
static equals(a: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined, b: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined): boolean {
196+
static equals(
197+
a: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined,
198+
b: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined
199+
): boolean {
157200
return proto3.util.equals(ResolveEntitiesResponse, a, b);
158201
}
159202
}
@@ -170,7 +213,7 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
170213
/**
171214
* @generated from field: string message = 2;
172215
*/
173-
message = "";
216+
message = '';
174217

175218
/**
176219
* @generated from field: repeated google.protobuf.Any details = 3;
@@ -180,20 +223,20 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
180223
/**
181224
* @generated from field: string entity = 4;
182225
*/
183-
entity = "";
226+
entity = '';
184227

185228
constructor(data?: PartialMessage<EntityNotFoundError>) {
186229
super();
187230
proto3.util.initPartial(data, this);
188231
}
189232

190233
static readonly runtime: typeof proto3 = proto3;
191-
static readonly typeName = "entityresolution.EntityNotFoundError";
234+
static readonly typeName = 'entityresolution.EntityNotFoundError';
192235
static readonly fields: FieldList = proto3.util.newFieldList(() => [
193-
{ no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
194-
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195-
{ no: 3, name: "details", kind: "message", T: Any, repeated: true },
196-
{ no: 4, name: "entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
236+
{ no: 1, name: 'code', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
237+
{ no: 2, name: 'message', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
238+
{ no: 3, name: 'details', kind: 'message', T: Any, repeated: true },
239+
{ no: 4, name: 'entity', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
197240
]);
198241

199242
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityNotFoundError {
@@ -204,12 +247,17 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
204247
return new EntityNotFoundError().fromJson(jsonValue, options);
205248
}
206249

207-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityNotFoundError {
250+
static fromJsonString(
251+
jsonString: string,
252+
options?: Partial<JsonReadOptions>
253+
): EntityNotFoundError {
208254
return new EntityNotFoundError().fromJsonString(jsonString, options);
209255
}
210256

211-
static equals(a: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined, b: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined): boolean {
257+
static equals(
258+
a: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined,
259+
b: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined
260+
): boolean {
212261
return proto3.util.equals(EntityNotFoundError, a, b);
213262
}
214263
}
215-

0 commit comments

Comments
 (0)