npm package diff
Package: @forge/runtime
Versions: 6.0.0-next.0-experimental-97e4b11 - 6.0.0-next.1
File: package/out/context.d.ts
Index: package/out/context.d.ts
===================================================================
--- package/out/context.d.ts
+++ package/out/context.d.ts
@@ -1,37 +0,0 @@
-import { RuntimeAPIConfig } from './config';
-import { License } from './request';
-export interface InstallationContext {
- projectId?: string;
- workspaceId?: string;
- installContext: string;
-}
-export declare function createInstallationContext(cfg: RuntimeAPIConfig): InstallationContext;
-export interface Principal {
- accountId: string;
-}
-export declare function isAccountIdDefined(accountId?: string): accountId is string;
-export declare function createPrincipal(cfg: RuntimeAPIConfig): Principal | undefined;
-export interface LicenseContext {
- license: License;
-}
-export declare function createLicenseContext(cfg: RuntimeAPIConfig): LicenseContext | undefined;
-export declare function setupRequestContext(cfg: RuntimeAPIConfig): {
- projectId?: string | undefined;
- workspaceId?: string | undefined;
- installContext: string;
- license?: ({
- isActive: boolean;
- } & {
- billingPeriod?: string | null | undefined;
- capabilitySet?: string | null | undefined;
- ccpEntitlementId?: string | null | undefined;
- ccpEntitlementSlug?: string | null | undefined;
- isEvaluation?: boolean | null | undefined;
- subscriptionEndDate?: string | null | undefined;
- supportEntitlementNumber?: string | null | undefined;
- trialEndDate?: string | null | undefined;
- type?: string | null | undefined;
- }) | undefined;
- principal: Principal | undefined;
-};
-//# sourceMappingURL=context.d.ts.map
\ No newline at end of file