Skip to content

Commit

Permalink
[SCHEMA] - Update from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
keegancraigcruickshank committed Jun 23, 2024
1 parent 486d60e commit 6807e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 78 deletions.
61 changes: 1 addition & 60 deletions players/v1/private/players_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,60 +21,6 @@ export declare enum SortDirection {
DESC = 1,
}

/**
* @generated from message players.v1.private.Address
*/
export declare class Address extends Message<Address> {
/**
* @generated from field: optional string unit = 1;
*/
unit?: string;

/**
* @generated from field: optional string house_number = 2;
*/
houseNumber?: string;

/**
* @generated from field: optional string street = 3;
*/
street?: string;

/**
* @generated from field: optional string suburb = 4;
*/
suburb?: string;

/**
* @generated from field: optional string state = 5;
*/
state?: string;

/**
* @generated from field: optional string country = 6;
*/
country?: string;

/**
* @generated from field: optional string zip_postcode = 7;
*/
zipPostcode?: string;

constructor(data?: PartialMessage<Address>);

static readonly runtime: typeof proto3;
static readonly typeName = "players.v1.private.Address";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Address;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Address;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Address;

static equals(a: Address | PlainMessage<Address> | undefined, b: Address | PlainMessage<Address> | undefined): boolean;
}

/**
* @generated from message players.v1.private.PlayerDetails
*/
Expand Down Expand Up @@ -110,12 +56,7 @@ export declare class PlayerDetails extends Message<PlayerDetails> {
dob?: string;

/**
* @generated from field: optional players.v1.private.Address address = 7;
*/
address?: Address;

/**
* @generated from field: repeated players.v1.private.Exclusion exclusions = 8;
* @generated from field: repeated players.v1.private.Exclusion exclusions = 7;
*/
exclusions: Exclusion[];

Expand Down
19 changes: 1 addition & 18 deletions players/v1/private/players_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,6 @@ export const SortDirection = /*@__PURE__*/ proto3.makeEnum(
],
);

/**
* @generated from message players.v1.private.Address
*/
export const Address = /*@__PURE__*/ proto3.makeMessageType(
"players.v1.private.Address",
() => [
{ no: 1, name: "unit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "house_number", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "street", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 4, name: "suburb", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 7, name: "zip_postcode", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
],
);

/**
* @generated from message players.v1.private.PlayerDetails
*/
Expand All @@ -44,8 +28,7 @@ export const PlayerDetails = /*@__PURE__*/ proto3.makeMessageType(
{ no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "mobile", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "dob", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 7, name: "address", kind: "message", T: Address, opt: true },
{ no: 8, name: "exclusions", kind: "message", T: Exclusion, repeated: true },
{ no: 7, name: "exclusions", kind: "message", T: Exclusion, repeated: true },
],
);

Expand Down

0 comments on commit 6807e92

Please sign in to comment.