-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update a way to generate *.ts files based on protobuf scheme
- Loading branch information
1 parent
5b976c9
commit 31c10bd
Showing
131 changed files
with
1,935 additions
and
1,237 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
application/apps/protocol/binding/proto/output/attachment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export interface AttachmentInfoList { | ||
elements: AttachmentInfo[]; | ||
} | ||
export interface AttachmentInfo { | ||
uuid: string; | ||
filepath: string; | ||
name: string; | ||
ext: string; | ||
size: number; | ||
mime: string; | ||
messages: number[]; | ||
} |
28 changes: 28 additions & 0 deletions
28
application/apps/protocol/binding/proto/output/commands.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export interface StringVec { | ||
values: string[]; | ||
} | ||
export interface CommandOutcome { | ||
outcome_oneof: OutcomeOneof | null; | ||
} | ||
export interface OutcomeOneof { | ||
Finished?: Finished; | ||
Cancelled?: Cancelled; | ||
} | ||
export interface OutputOneof { | ||
StringValue?: string; | ||
StringVecValue?: StringVec; | ||
OptionStringValue?: string; | ||
BoolValue?: boolean; | ||
Int64Value?: number; | ||
EmptyValue?: Empty; | ||
} | ||
export interface Output { | ||
output_oneof: OutputOneof | null; | ||
} | ||
export interface Cancelled { | ||
} | ||
export interface Finished { | ||
result: Output | null; | ||
} | ||
export interface Empty { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export interface RangeInclusive { | ||
start: number; | ||
end: number; | ||
} | ||
export interface Range { | ||
start: number; | ||
end: number; | ||
} | ||
export interface RangeInclusiveList { | ||
elements: RangeInclusive[]; | ||
} |
Oops, something went wrong.