Skip to content

Commit

Permalink
Generate web api responses
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Oct 30, 2024
1 parent 1f9c020 commit c0c80ff
Show file tree
Hide file tree
Showing 46 changed files with 64 additions and 5 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@vitest/coverage-v8": "^2.1.4",
"msw": "^2.5.2",
"msw": "^2.6.0",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1041,6 +1042,7 @@ export interface MessageFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ConversationsHistoryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1057,6 +1058,7 @@ export interface PurpleFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ConversationsOpenResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ConversationsRepliesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1046,6 +1047,7 @@ export interface PurpleFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteAddResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteShareResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesUploadResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/PinsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ReactionsGetResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ReactionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1058,6 +1059,7 @@ export interface PurpleFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchAllResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1068,6 +1069,7 @@ export interface MessageFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchFilesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1047,6 +1048,7 @@ export interface MessageFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchMessagesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -963,6 +964,7 @@ export interface MessageFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
2 changes: 2 additions & 0 deletions src_deno/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1041,6 +1042,7 @@ export interface MessageFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1057,6 +1058,7 @@ export interface PurpleFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export interface FileElement {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down Expand Up @@ -1046,6 +1047,7 @@ export interface PurpleFile {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/FilesInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/FilesListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface File {
is_channel_space?: boolean;
is_external?: boolean;
is_public?: boolean;
is_restricted_sharing_enabled?: boolean;
is_starred?: boolean;
last_editor?: string;
last_read?: number;
Expand Down
Loading

0 comments on commit c0c80ff

Please sign in to comment.