@sap-ux/store
Version:
NPM module for storing persistent data
27 lines • 1.21 kB
TypeScript
export interface ServiceOptions {
/** optional `baseDirectory`. Can be an absolute or a relative path.
* Relative paths will be assumed to start in the user's home directory */
baseDirectory?: string;
[key: string]: unknown;
}
export declare const SystemType: {
readonly AbapCloud: "AbapCloud";
readonly AbapOnPrem: "OnPrem";
readonly Generic: "Generic";
};
export type SystemType = (typeof SystemType)[keyof typeof SystemType];
export declare const AuthenticationType: {
readonly Basic: "basic";
readonly ReentranceTicket: "reentranceTicket";
readonly OAuth2RefreshToken: "oauth2";
readonly OAuth2ClientCredential: "oauth2ClientCredential";
};
export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
export declare const ConnectionType: {
readonly AbapCatalog: "abap_catalog";
readonly GenericHost: "generic_host";
readonly ODataService: "odata_service";
};
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
export type BackendSerializableKeys = 'name' | 'url' | 'client' | 'systemType' | 'authenticationType' | 'connectionType' | 'systemInfo';
//# sourceMappingURL=types.d.ts.map