-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a few properties to request body type
- Loading branch information
Showing
18 changed files
with
52 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ import { | |
import { | ||
ResponseUrlSender, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { | ||
builtBaseContext, | ||
SlackAppContext, | ||
|
@@ -55,7 +55,7 @@ import { Middleware, PreAuthorizeMiddleware } from "./middleware/middleware.ts"; | |
import { | ||
isDebugLogEnabled, | ||
prettyPrint, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { Authorize } from "./authorization/authorize.ts"; | ||
import { AuthorizeResult } from "./authorization/authorize-result.ts"; | ||
import { | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
AuthTestResponse, | ||
SlackAPIClient, | ||
SlackAPIError, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { Authorize } from "./authorize.ts"; | ||
|
||
export const singleTeamAuthorize: Authorize = async (req) => { | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ import { | |
ChatPostMessageResponse, | ||
SlackAPIClient, | ||
WebhookParams, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface PreAuthorizeSlackAppContext { | ||
isEnterpriseinstall?: boolean; | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ export * from "./app.ts"; | |
export * from "./app-env.ts"; | ||
export * from "./execution-context.ts"; | ||
|
||
export * from "https://deno.land/x/[email protected].1/mod.ts"; | ||
export * from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export * from "./errors.ts"; | ||
export * from "./oauth/error-codes.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 |
---|---|---|
|
@@ -9,7 +9,7 @@ import { | |
OAuthV2AccessResponse, | ||
OpenIDConnectTokenResponse, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { toInstallation } from "./oauth/installation.ts"; | ||
import { | ||
AfterInstallation, | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { InvalidStateParameter, OAuthErrorCode } from "./error-codes.ts"; | ||
import { Installation } from "./installation.ts"; | ||
import { | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface Installation { | ||
app_id: string; | ||
|
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ import { SlackLoggingLevel } from "../app-env.ts"; | |
import { | ||
OpenIDConnectTokenResponse, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { prettyPrint } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { prettyPrint } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface OpenIDConnectCallbackArgs { | ||
env: SlackLoggingLevel; | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { | ||
OpenIDConnectTokenResponse, | ||
OpenIDConnectUserInfoResponse, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface Login { | ||
enterprise_id?: string; | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ import { | |
MessageAttachment, | ||
MessageMetadata, | ||
PlainTextField, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { DataSubmissionView, ViewStateValue } from "./view-objects.ts"; | ||
import { BotProfile } from "./event.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { AnyOption } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { AnyOption } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { DataSubmissionView } from "./view-objects.ts"; | ||
|
||
export interface BlockSuggestion { | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
HomeTabView, | ||
MessageAttachment, | ||
MessageMetadata, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export type AnySlackEvent = | ||
| AppRequestedEvent | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
AnyModalBlock, | ||
PlainTextField, | ||
RichTextBlock, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface ViewStateSelectedOption { | ||
text: PlainTextField; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ import { | |
MessageAttachment, | ||
MessageMetadata, | ||
ModalView, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
|
||
export interface MessageResponse { | ||
response_type?: "ephemeral" | "in_channel"; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { | ||
isDebugLogEnabled, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].1/mod.ts"; | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { SlackApp } from "../app.ts"; | ||
import { ConfigError, SocketModeError } from "../errors.ts"; | ||
import { SlackSocketModeAppEnv } from "../app-env.ts"; | ||
|