@kanmon-hq/tollgate-ui 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/client.d.ts +2 -1
- package/dist/index.d.ts +2 -2
- package/dist/tollgate-ui.js +2916 -2643
- package/dist/tollgate-ui.umd.cjs +40 -40
- package/dist/types/index.d.ts +14 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TollgateKey, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, KeyStats } from '../types';
|
|
1
|
+
import { TollgateKey, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, KeyStats, ScopeItem } from '../types';
|
|
2
2
|
export declare class TollgateApiClient {
|
|
3
3
|
private baseUrl;
|
|
4
4
|
private adminToken?;
|
|
@@ -30,6 +30,7 @@ export declare class TollgateApiClient {
|
|
|
30
30
|
nextCursor?: string;
|
|
31
31
|
}>;
|
|
32
32
|
fetchStats(tenantId?: string, serviceId?: string): Promise<KeyStats>;
|
|
33
|
+
fetchAvailableScopes(): Promise<ScopeItem[]>;
|
|
33
34
|
fetchAllKeys(tenantIds: string[]): Promise<TollgateKey[]>;
|
|
34
35
|
createKey(input: CreateKeyInput): Promise<CreateKeyOutput>;
|
|
35
36
|
updateKey(keyId: string, payload: UpdateKeyInput, tenantId?: string): Promise<TollgateKey>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as TollgateConsoleSFC } from './components/TollgateConsole.ce.vue';
|
|
2
2
|
import { TollgateApiClient } from './api/client';
|
|
3
|
-
import { TollgateKey, KeyStatus, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, TenantOption, TollgateConfig } from './types';
|
|
3
|
+
import { TollgateKey, KeyStatus, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, TenantOption, TollgateConfig, ScopeItem, PathRule } from './types';
|
|
4
4
|
export declare const TollgateConsoleElement: import('vue').VueElementConstructor<{
|
|
5
5
|
apiBaseUrl?: string;
|
|
6
6
|
adminToken?: string;
|
|
@@ -15,5 +15,5 @@ export declare const TollgateConsoleElement: import('vue').VueElementConstructor
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function registerTollgateUI(tagName?: string): void;
|
|
17
17
|
export { TollgateConsoleSFC, TollgateApiClient };
|
|
18
|
-
export type { TollgateKey, KeyStatus, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, TenantOption, TollgateConfig };
|
|
18
|
+
export type { TollgateKey, KeyStatus, CreateKeyInput, CreateKeyOutput, UpdateKeyInput, RotateKeyOutput, VerifyKeyResult, TenantOption, TollgateConfig, ScopeItem, PathRule };
|
|
19
19
|
export default registerTollgateUI;
|