Skip to content

Commit

Permalink
fixes post-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed Nov 15, 2023
1 parent 7065af8 commit 7efacf7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AppsManifestCreateResponse = WebAPICallResult & {
app_id?: string;
credentials?: Credentials;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AppsManifestDeleteResponse = WebAPICallResult & {
error?: string;
needed?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AppsManifestExportResponse = WebAPICallResult & {
error?: string;
manifest?: Manifest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AppsManifestUpdateResponse = WebAPICallResult & {
app_id?: string;
error?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AppsManifestValidateResponse = WebAPICallResult & {
error?: string;
errors?: Error[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import { WebAPICallResult } from '../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type ToolingTokensRotateResponse = WebAPICallResult & {
error?: string;
exp?: number;
Expand Down
10 changes: 4 additions & 6 deletions packages/web-api/test/types/methods/files.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,12 @@ expectAssignable<Parameters<typeof web.files.upload>>([{
content: 'text', // or file contents
}]);
expectAssignable<Parameters<typeof web.files.upload>>([{
...destinationChannels, // optionally share to one or more channels
content: 'text',
channels: 'C1234', // optionally share to a channel
}]);
expectAssignable<Parameters<typeof web.files.upload>>([{
...destinationThreadChannels, // or even to a specific thread
content: 'text',
channels: 'C1234',
thread_ts: '12345.678', // or even to a specific thread
}]);

// files.uploadV2
Expand All @@ -129,13 +128,12 @@ expectAssignable<Parameters<typeof web.files.uploadV2>>([{
content: 'text', // or file contents...
}]);
expectAssignable<Parameters<typeof web.files.uploadV2>>([{
...destinationChannels, // optionally share to one or more channels
content: 'text',
channels: 'C1234', // optionally share to a channel
}]);
expectAssignable<Parameters<typeof web.files.uploadV2>>([{
...destinationThreadChannels, // or even to a specific thread
content: 'text',
channels: 'C1234',
thread_ts: '12345.678', // or even to a specific thread
}]);

// files.comments.delete
Expand Down

0 comments on commit 7efacf7

Please sign in to comment.