Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add fields to invites #393

Merged
merged 18 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions proto/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ message Invite {
bytes projectKey = 1;
EncryptionKeys encryptionKeys = 2;
optional ProjectInfo projectInfo = 3;
string roleName = 4;
optional string roleDescription = 5;
string invitorName = 6;
}
message InviteResponse {
enum Decision {
Expand Down
15 changes: 15 additions & 0 deletions src/generated/rpc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export interface Invite {
projectKey: Buffer;
encryptionKeys: EncryptionKeys | undefined;
projectInfo?: Invite_ProjectInfo | undefined;
roleName: string;
roleDescription?: string | undefined;
invitorName: string;
}
/** Project info that is displayed to the user receiving the invite */
export interface Invite_ProjectInfo {
Expand Down Expand Up @@ -41,6 +44,9 @@ export declare const Invite: {
projectInfo?: {
name?: string | undefined;
};
roleName?: string;
roleDescription?: string | undefined;
invitorName?: string;
} & {
projectKey?: Buffer;
encryptionKeys?: {
Expand All @@ -61,6 +67,9 @@ export declare const Invite: {
} & {
name?: string | undefined;
} & { [K_1 in Exclude<keyof I["projectInfo"], "name">]: never; };
roleName?: string;
roleDescription?: string | undefined;
invitorName?: string;
} & { [K_2 in Exclude<keyof I, keyof Invite>]: never; }>(base?: I): Invite;
fromPartial<I_1 extends {
projectKey?: Buffer;
Expand All @@ -74,6 +83,9 @@ export declare const Invite: {
projectInfo?: {
name?: string | undefined;
};
roleName?: string;
roleDescription?: string | undefined;
invitorName?: string;
} & {
projectKey?: Buffer;
encryptionKeys?: {
Expand All @@ -94,6 +106,9 @@ export declare const Invite: {
} & {
name?: string | undefined;
} & { [K_4 in Exclude<keyof I_1["projectInfo"], "name">]: never; };
roleName?: string;
roleDescription?: string | undefined;
invitorName?: string;
} & { [K_5 in Exclude<keyof I_1, keyof Invite>]: never; }>(object: I_1): Invite;
};
export declare const Invite_ProjectInfo: {
Expand Down
Loading
Loading