UNPKG

zephyr-agent

Version:
16 lines • 1.11 kB
import type { ZeApplicationConfig } from './upload-provider-options.mjs'; export interface ApplicationConfigStorageScope { apiEndpoint: string; apiGatewayEndpoint: string; environment: string | null; preview: boolean; principalFingerprint: string; } /** Derive a stable principal identity without retaining the credential itself. */ export declare function getApplicationConfigPrincipalFingerprint(token: string | undefined): string; /** Capture every process setting and principal which can change the returned config. */ export declare function getApplicationConfigStorageScope(token?: string): ApplicationConfigStorageScope; export declare function saveAppConfig(application_uid: string, json: ZeApplicationConfig, scope?: ApplicationConfigStorageScope): Promise<void>; export declare function getAppConfig(application_uid: string, scope?: ApplicationConfigStorageScope): Promise<ZeApplicationConfig | undefined>; export declare function removeAppConfig(application_uid: string, scope?: ApplicationConfigStorageScope): Promise<void>; //# sourceMappingURL=application-configuration.d.mts.map