diff --git a/packages/status-js/src/protos/communities.proto b/packages/status-js/src/protos/communities.proto index 5f52b4418..3b1d29ded 100644 --- a/packages/status-js/src/protos/communities.proto +++ b/packages/status-js/src/protos/communities.proto @@ -48,7 +48,7 @@ message CommunityDescription { string outro_message = 12; bool encrypted = 13; repeated string tags = 14; - URLProps url_props = 15; + URLParams url_params = 15; } message CommunityAdminSettings { @@ -61,7 +61,7 @@ message CommunityChat { ChatIdentity identity = 3; string category_id = 4; int32 position = 5; - URLProps url_props = 6; + URLParams url_params = 6; } message CommunityCategory { diff --git a/packages/status-js/src/protos/communities_pb.ts b/packages/status-js/src/protos/communities_pb.ts index 026a12bf1..09744c3ff 100644 --- a/packages/status-js/src/protos/communities_pb.ts +++ b/packages/status-js/src/protos/communities_pb.ts @@ -6,7 +6,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { ChatIdentity } from "./chat-identity_pb.js"; -import { URLProps } from "./url-data_pb.js"; +import { URLParams } from "./url-data_pb.js"; /** * @generated from message Grant @@ -285,9 +285,9 @@ export class CommunityDescription extends Message { tags: string[] = []; /** - * @generated from field: URLProps url_props = 15; + * @generated from field: URLParams url_params = 15; */ - urlProps?: URLProps; + urlParams?: URLParams; constructor(data?: PartialMessage) { super(); @@ -310,7 +310,7 @@ export class CommunityDescription extends Message { { no: 12, name: "outro_message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 13, name: "encrypted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 14, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 15, name: "url_props", kind: "message", T: URLProps }, + { no: 15, name: "url_params", kind: "message", T: URLParams }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CommunityDescription { @@ -397,9 +397,9 @@ export class CommunityChat extends Message { position = 0; /** - * @generated from field: URLProps url_props = 6; + * @generated from field: URLParams url_params = 6; */ - urlProps?: URLProps; + urlParams?: URLParams; constructor(data?: PartialMessage) { super(); @@ -414,7 +414,7 @@ export class CommunityChat extends Message { { no: 3, name: "identity", kind: "message", T: ChatIdentity }, { no: 4, name: "category_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "position", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 6, name: "url_props", kind: "message", T: URLProps }, + { no: 6, name: "url_params", kind: "message", T: URLParams }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CommunityChat { diff --git a/packages/status-js/src/protos/push-notifications.proto b/packages/status-js/src/protos/push-notifications.proto index ee75a4e8f..19696db9d 100644 --- a/packages/status-js/src/protos/push-notifications.proto +++ b/packages/status-js/src/protos/push-notifications.proto @@ -42,7 +42,7 @@ message PushNotificationRegistrationResponse { message ContactCodeAdvertisement { repeated PushNotificationQueryInfo push_notification_info = 1; ChatIdentity chat_identity = 2; - URLProps url_props = 3; + URLParams url_params = 3; } message PushNotificationQuery { diff --git a/packages/status-js/src/protos/push-notifications_pb.ts b/packages/status-js/src/protos/push-notifications_pb.ts index 747b54378..707738dea 100644 --- a/packages/status-js/src/protos/push-notifications_pb.ts +++ b/packages/status-js/src/protos/push-notifications_pb.ts @@ -6,7 +6,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { ChatIdentity } from "./chat-identity_pb.js"; -import { URLProps } from "./url-data_pb.js"; +import { URLParams } from "./url-data_pb.js"; /** * @generated from message PushNotificationRegistration @@ -251,9 +251,9 @@ export class ContactCodeAdvertisement extends Message chatIdentity?: ChatIdentity; /** - * @generated from field: URLProps url_props = 3; + * @generated from field: URLParams url_params = 3; */ - urlProps?: URLProps; + urlParams?: URLParams; constructor(data?: PartialMessage) { super(); @@ -265,7 +265,7 @@ export class ContactCodeAdvertisement extends Message static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "push_notification_info", kind: "message", T: PushNotificationQueryInfo, repeated: true }, { no: 2, name: "chat_identity", kind: "message", T: ChatIdentity }, - { no: 3, name: "url_props", kind: "message", T: URLProps }, + { no: 3, name: "url_params", kind: "message", T: URLParams }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ContactCodeAdvertisement { diff --git a/packages/status-js/src/protos/url-data.proto b/packages/status-js/src/protos/url-data.proto index a38f7f597..a8a1c697c 100644 --- a/packages/status-js/src/protos/url-data.proto +++ b/packages/status-js/src/protos/url-data.proto @@ -28,7 +28,7 @@ message URLData { bytes content = 1; } -message URLProps { +message URLParams { string encoded_url_data = 1; // Signature of encoded URL data string encoded_signature = 2; diff --git a/packages/status-js/src/protos/url-data_pb.ts b/packages/status-js/src/protos/url-data_pb.ts index 08d921a34..18ed7b993 100644 --- a/packages/status-js/src/protos/url-data_pb.ts +++ b/packages/status-js/src/protos/url-data_pb.ts @@ -223,9 +223,9 @@ export class URLData extends Message { } /** - * @generated from message URLProps + * @generated from message URLParams */ -export class URLProps extends Message { +export class URLParams extends Message { /** * @generated from field: string encoded_url_data = 1; */ @@ -238,32 +238,32 @@ export class URLProps extends Message { */ encodedSignature = ""; - constructor(data?: PartialMessage) { + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; - static readonly typeName = "URLProps"; + static readonly typeName = "URLParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "encoded_url_data", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "encoded_signature", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); - static fromBinary(bytes: Uint8Array, options?: Partial): URLProps { - return new URLProps().fromBinary(bytes, options); + static fromBinary(bytes: Uint8Array, options?: Partial): URLParams { + return new URLParams().fromBinary(bytes, options); } - static fromJson(jsonValue: JsonValue, options?: Partial): URLProps { - return new URLProps().fromJson(jsonValue, options); + static fromJson(jsonValue: JsonValue, options?: Partial): URLParams { + return new URLParams().fromJson(jsonValue, options); } - static fromJsonString(jsonString: string, options?: Partial): URLProps { - return new URLProps().fromJsonString(jsonString, options); + static fromJsonString(jsonString: string, options?: Partial): URLParams { + return new URLParams().fromJsonString(jsonString, options); } - static equals(a: URLProps | PlainMessage | undefined, b: URLProps | PlainMessage | undefined): boolean { - return proto3.util.equals(URLProps, a, b); + static equals(a: URLParams | PlainMessage | undefined, b: URLParams | PlainMessage | undefined): boolean { + return proto3.util.equals(URLParams, a, b); } }