vault/ui/app/config/environment.d.ts
Jordan Reimer bbcd0e0465
[UI] API Service (#29965)
* adds api service

* adds missing copyright headers

* Update ui/app/services/api.ts

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* removes response cache and comments from api service

* removes hide warnings condition from showWarnings middleware in api service

* splits out setHeaders test

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-03-20 16:28:02 -06:00

29 lines
612 B
TypeScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
/**
* Type declarations for
* import config from 'my-app/config/environment'
*/
declare const config: {
environment: string;
modulePrefix: string;
podModulePrefix: string;
locationType: 'history' | 'hash' | 'none';
rootURL: string;
APP: {
POLLING_URLS: string[];
NAMESPACE_ROOT_URLS: string[];
DEFAULT_PAGE_SIZE: number;
LOG_TRANSITIONS?: boolean;
LOG_ACTIVE_GENERATION?: boolean;
LOG_VIEW_LOOKUPS?: boolean;
rootElement?: string;
autoboot?: boolean;
};
};
export default config;