@forge/cli
12.9.0-next.1712.9.0-next.18-experimental-f76634b
out/webtrigger/graphql-client.d.ts~
out/webtrigger/graphql-client.d.tsModified+15
Index: package/out/webtrigger/graphql-client.d.ts
===================================================================
--- package/out/webtrigger/graphql-client.d.ts
+++ package/out/webtrigger/graphql-client.d.ts
@@ -2,13 +2,28 @@
import { WebTriggerUrlDetails } from './get-webtrigger-url';
export declare class WebTriggerCreationError extends GraphQlMutationError {
constructor(message: string, requestId: string | undefined, code: string | undefined);
}
+export declare class WebTriggerListError extends GraphQlMutationError {
+ constructor(requestId: string | undefined);
+}
export declare class MissingWebTriggerUrlError extends GraphQlMutationError {
constructor(requestId: string | undefined);
}
+declare type ListWebTriggerUrlsArgs = {
+ appId: string;
+ envId: string;
+ contextId: string;
+};
+export declare type WebTriggerUrl = {
+ id: string;
+ triggerKey: string;
+ url: string;
+};
export declare class WebTriggerGraphQLClient {
private readonly graphQLClient;
constructor(graphQLClient: GraphQLClient);
createWebTriggerUrl({ appId, contextId, environmentId, triggerKey }: WebTriggerUrlDetails): Promise<string>;
+ listWebtriggerUrls({ appId, contextId, envId }: ListWebTriggerUrlsArgs): Promise<WebTriggerUrl[]>;
}
+export {};
//# sourceMappingURL=graphql-client.d.ts.map
\ No newline at end of file