@forge/bridge
5.17.0-experimental-04cc2b95.18.0-next.0
out/types.d.ts~
out/types.d.tsModified+10−10
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -1,30 +1,30 @@
import { type ForgeSupportedLocaleCode } from '@forge/i18n';
import { type ThemeState } from '@atlaskit/tokens';
import { type Scopes, type External } from '@forge/manifest';
-export type InvokePayload = {
+export declare type InvokePayload = {
[key in number | string]: any;
};
-export type InvokeResponse = Record<string, any> | void;
-type FetchResponse = {
+export declare type InvokeResponse = Record<string, any> | void;
+declare type FetchResponse = {
body?: string;
headers: {
[key: string]: string;
};
isAttachment?: boolean;
} & Pick<ResponseInit, 'status' | 'statusText'>;
-export type ProductFetchResponse = FetchResponse;
-export type RemoteFetchResponse = FetchResponse;
+export declare type ProductFetchResponse = FetchResponse;
+export declare type RemoteFetchResponse = FetchResponse;
export declare enum ExtensionEnvironment {
DEVELOPMENT = "DEVELOPMENT",
STAGING = "STAGING",
PRODUCTION = "PRODUCTION"
}
-type UserAccessDetails = {
+declare type UserAccessDetails = {
enabled: boolean;
hasAccess: boolean;
};
-export type EnvironmentType = keyof typeof ExtensionEnvironment;
+export declare type EnvironmentType = keyof typeof ExtensionEnvironment;
export interface FullContext {
accountId?: string;
cloudId?: string;
workspaceId?: string;
@@ -59,9 +59,9 @@
trialEndDate: string | null;
type: string;
modes: [EcosystemLicenseMode] | null;
}
-export type Subscription = {
+export declare type Subscription = {
unsubscribe: () => void;
};
/**
* Runtime representation of app permissions that extends the manifest schema.
@@ -72,8 +72,8 @@
export interface RuntimePermissions {
scopes?: Scopes;
external?: External;
}
-export type ForgeRequestInit = Omit<RequestInit, 'signal'>;
-export type FetchType = 'remote' | 'product';
+export declare type ForgeRequestInit = Omit<RequestInit, 'signal'>;
+export declare type FetchType = 'remote' | 'product';
export {};
//# sourceMappingURL=types.d.ts.map
\ No newline at end of file