@burdenoff/microfe-security 2026.525.2 → 2026.525.3
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/package.json +1 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -1461
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/security/SecurityAdminRoot.d.ts +0 -19
- package/dist/security/SecurityAdminRoot.d.ts.map +0 -1
- package/dist/security/SecurityRoot.d.ts +0 -18
- package/dist/security/SecurityRoot.d.ts.map +0 -1
- package/dist/security/SecurityRootBase.d.ts +0 -19
- package/dist/security/SecurityRootBase.d.ts.map +0 -1
- package/dist/security/SecurityUserRoot.d.ts +0 -18
- package/dist/security/SecurityUserRoot.d.ts.map +0 -1
- package/dist/security/components/ActivityTimeline.d.ts +0 -12
- package/dist/security/components/ActivityTimeline.d.ts.map +0 -1
- package/dist/security/components/AuditLogTable.d.ts +0 -12
- package/dist/security/components/AuditLogTable.d.ts.map +0 -1
- package/dist/security/components/BulkActionBar.d.ts +0 -9
- package/dist/security/components/BulkActionBar.d.ts.map +0 -1
- package/dist/security/components/ConfirmDialog.d.ts +0 -19
- package/dist/security/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/security/components/CopyButton.d.ts +0 -20
- package/dist/security/components/CopyButton.d.ts.map +0 -1
- package/dist/security/components/ExportDialog.d.ts +0 -7
- package/dist/security/components/ExportDialog.d.ts.map +0 -1
- package/dist/security/components/ImportWizard.d.ts +0 -7
- package/dist/security/components/ImportWizard.d.ts.map +0 -1
- package/dist/security/components/PageLayout.d.ts +0 -23
- package/dist/security/components/PageLayout.d.ts.map +0 -1
- package/dist/security/components/PasswordGenerator.d.ts +0 -17
- package/dist/security/components/PasswordGenerator.d.ts.map +0 -1
- package/dist/security/components/ProviderSetupWizard.d.ts +0 -13
- package/dist/security/components/ProviderSetupWizard.d.ts.map +0 -1
- package/dist/security/components/RotationStatusBadge.d.ts +0 -13
- package/dist/security/components/RotationStatusBadge.d.ts.map +0 -1
- package/dist/security/components/SecretFormFields.d.ts +0 -23
- package/dist/security/components/SecretFormFields.d.ts.map +0 -1
- package/dist/security/components/SecretRow.d.ts +0 -13
- package/dist/security/components/SecretRow.d.ts.map +0 -1
- package/dist/security/components/SecretTypeBadge.d.ts +0 -13
- package/dist/security/components/SecretTypeBadge.d.ts.map +0 -1
- package/dist/security/components/SecretTypeIcon.d.ts +0 -14
- package/dist/security/components/SecretTypeIcon.d.ts.map +0 -1
- package/dist/security/components/SecretValueDisplay.d.ts +0 -26
- package/dist/security/components/SecretValueDisplay.d.ts.map +0 -1
- package/dist/security/components/SecurityPermissionGuard.d.ts +0 -16
- package/dist/security/components/SecurityPermissionGuard.d.ts.map +0 -1
- package/dist/security/components/SecurityScoreCard.d.ts +0 -12
- package/dist/security/components/SecurityScoreCard.d.ts.map +0 -1
- package/dist/security/components/VaultCard.d.ts +0 -13
- package/dist/security/components/VaultCard.d.ts.map +0 -1
- package/dist/security/components/VaultFormFields.d.ts +0 -17
- package/dist/security/components/VaultFormFields.d.ts.map +0 -1
- package/dist/security/components/VaultShareDialog.d.ts +0 -16
- package/dist/security/components/VaultShareDialog.d.ts.map +0 -1
- package/dist/security/components/ui.d.ts +0 -55
- package/dist/security/components/ui.d.ts.map +0 -1
- package/dist/security/config/navigation.d.ts +0 -10
- package/dist/security/config/navigation.d.ts.map +0 -1
- package/dist/security/constants/featureFlags.d.ts +0 -36
- package/dist/security/constants/featureFlags.d.ts.map +0 -1
- package/dist/security/constants/permissions.d.ts +0 -11
- package/dist/security/constants/permissions.d.ts.map +0 -1
- package/dist/security/constants/providers.d.ts +0 -12
- package/dist/security/constants/providers.d.ts.map +0 -1
- package/dist/security/constants/secretTypes.d.ts +0 -16
- package/dist/security/constants/secretTypes.d.ts.map +0 -1
- package/dist/security/hooks/useAuditLog.d.ts +0 -4
- package/dist/security/hooks/useAuditLog.d.ts.map +0 -1
- package/dist/security/hooks/useBulkSecretOperations.d.ts +0 -7
- package/dist/security/hooks/useBulkSecretOperations.d.ts.map +0 -1
- package/dist/security/hooks/useClipboardAutoClear.d.ts +0 -10
- package/dist/security/hooks/useClipboardAutoClear.d.ts.map +0 -1
- package/dist/security/hooks/useImportExport.d.ts +0 -55
- package/dist/security/hooks/useImportExport.d.ts.map +0 -1
- package/dist/security/hooks/usePasswordGenerator.d.ts +0 -18
- package/dist/security/hooks/usePasswordGenerator.d.ts.map +0 -1
- package/dist/security/hooks/useProviderQueries.d.ts +0 -8
- package/dist/security/hooks/useProviderQueries.d.ts.map +0 -1
- package/dist/security/hooks/useSecretQueries.d.ts +0 -10
- package/dist/security/hooks/useSecretQueries.d.ts.map +0 -1
- package/dist/security/hooks/useSecretValue.d.ts +0 -12
- package/dist/security/hooks/useSecretValue.d.ts.map +0 -1
- package/dist/security/hooks/useSecurityCacheInvalidation.d.ts +0 -2
- package/dist/security/hooks/useSecurityCacheInvalidation.d.ts.map +0 -1
- package/dist/security/hooks/useSecurityDashboard.d.ts +0 -21
- package/dist/security/hooks/useSecurityDashboard.d.ts.map +0 -1
- package/dist/security/hooks/useSecurityEventEmitter.d.ts +0 -14
- package/dist/security/hooks/useSecurityEventEmitter.d.ts.map +0 -1
- package/dist/security/hooks/useSecuritySubscriptions.d.ts +0 -21
- package/dist/security/hooks/useSecuritySubscriptions.d.ts.map +0 -1
- package/dist/security/hooks/useVaultQueries.d.ts +0 -14
- package/dist/security/hooks/useVaultQueries.d.ts.map +0 -1
- package/dist/security/index.d.ts +0 -31
- package/dist/security/index.d.ts.map +0 -1
- package/dist/security/pages/AccessReviewPage.d.ts +0 -2
- package/dist/security/pages/AccessReviewPage.d.ts.map +0 -1
- package/dist/security/pages/AuditLogPage.d.ts +0 -2
- package/dist/security/pages/AuditLogPage.d.ts.map +0 -1
- package/dist/security/pages/ImportExportPage.d.ts +0 -2
- package/dist/security/pages/ImportExportPage.d.ts.map +0 -1
- package/dist/security/pages/ProviderDetailPage.d.ts +0 -2
- package/dist/security/pages/ProviderDetailPage.d.ts.map +0 -1
- package/dist/security/pages/ProvidersPage.d.ts +0 -2
- package/dist/security/pages/ProvidersPage.d.ts.map +0 -1
- package/dist/security/pages/SecretCreatePage.d.ts +0 -2
- package/dist/security/pages/SecretCreatePage.d.ts.map +0 -1
- package/dist/security/pages/SecretDetailPage.d.ts +0 -2
- package/dist/security/pages/SecretDetailPage.d.ts.map +0 -1
- package/dist/security/pages/SecurityDashboardPage.d.ts +0 -2
- package/dist/security/pages/SecurityDashboardPage.d.ts.map +0 -1
- package/dist/security/pages/VaultCreatePage.d.ts +0 -2
- package/dist/security/pages/VaultCreatePage.d.ts.map +0 -1
- package/dist/security/pages/VaultDetailPage.d.ts +0 -2
- package/dist/security/pages/VaultDetailPage.d.ts.map +0 -1
- package/dist/security/pages/VaultLandingPage.d.ts +0 -10
- package/dist/security/pages/VaultLandingPage.d.ts.map +0 -1
- package/dist/security/pages/VaultSettingsPage.d.ts +0 -2
- package/dist/security/pages/VaultSettingsPage.d.ts.map +0 -1
- package/dist/security/pages/VaultsDashboardPage.d.ts +0 -2
- package/dist/security/pages/VaultsDashboardPage.d.ts.map +0 -1
- package/dist/security/providers/SecurityProvider.d.ts +0 -13
- package/dist/security/providers/SecurityProvider.d.ts.map +0 -1
- package/dist/security/routes/SecurityAdminRoutes.d.ts +0 -7
- package/dist/security/routes/SecurityAdminRoutes.d.ts.map +0 -1
- package/dist/security/routes/SecurityRoutes.d.ts +0 -19
- package/dist/security/routes/SecurityRoutes.d.ts.map +0 -1
- package/dist/security/routes/SecurityUserRoutes.d.ts +0 -11
- package/dist/security/routes/SecurityUserRoutes.d.ts.map +0 -1
- package/dist/security/routes/routeUtils.d.ts +0 -28
- package/dist/security/routes/routeUtils.d.ts.map +0 -1
- package/dist/security/store/securityStore.d.ts +0 -35
- package/dist/security/store/securityStore.d.ts.map +0 -1
- package/dist/security/types/index.d.ts +0 -283
- package/dist/security/types/index.d.ts.map +0 -1
- package/dist/security/utils/clipboard.d.ts +0 -20
- package/dist/security/utils/clipboard.d.ts.map +0 -1
- package/dist/security/utils/cn.d.ts +0 -7
- package/dist/security/utils/cn.d.ts.map +0 -1
- package/dist/security/utils/fileParser.d.ts +0 -18
- package/dist/security/utils/fileParser.d.ts.map +0 -1
- package/dist/security/utils/i18n.d.ts +0 -5
- package/dist/security/utils/i18n.d.ts.map +0 -1
- package/dist/security/utils/importParsers.d.ts +0 -30
- package/dist/security/utils/importParsers.d.ts.map +0 -1
- package/dist/security/utils/mappers.d.ts +0 -35
- package/dist/security/utils/mappers.d.ts.map +0 -1
- package/dist/security/utils/passwordGenerator.d.ts +0 -22
- package/dist/security/utils/passwordGenerator.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, ReactNode, ErrorInfo } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Loading fallback for lazy-loaded pages
|
|
5
|
-
*/
|
|
6
|
-
export declare function PageLoader(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
/**
|
|
8
|
-
* Error boundary for lazy-loaded page chunks.
|
|
9
|
-
* Catches chunk-load failures and renders a retry UI instead of an infinite spinner.
|
|
10
|
-
*/
|
|
11
|
-
export declare class LazyErrorBoundary extends Component<{
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
}, {
|
|
14
|
-
hasError: boolean;
|
|
15
|
-
error: Error | null;
|
|
16
|
-
}> {
|
|
17
|
-
constructor(props: {
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
});
|
|
20
|
-
static getDerivedStateFromError(error: Error): {
|
|
21
|
-
hasError: boolean;
|
|
22
|
-
error: Error;
|
|
23
|
-
};
|
|
24
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
25
|
-
handleRetry: () => void;
|
|
26
|
-
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=routeUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routeUtils.d.ts","sourceRoot":"","sources":["../../../src/security/routes/routeUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE;;GAEG;AACH,wBAAgB,UAAU,4CAMzB;AAED;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,SAAS,CAC9C;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,EACvB;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CAAE,CAC3C;gBACa,KAAK,EAAE;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE;IAK1C,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;;;;IAI5C,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAIpD,WAAW,aAIT;IAEF,MAAM;CA2BP"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { VaultFilter, SecretFilter, AuditFilter, SecretListView, VaultListView } from '../types';
|
|
2
|
-
|
|
3
|
-
interface SecurityState {
|
|
4
|
-
selectedVaultId: string | null;
|
|
5
|
-
selectedSecretIds: string[];
|
|
6
|
-
selectedVaultIds: string[];
|
|
7
|
-
secretListView: SecretListView;
|
|
8
|
-
vaultListView: VaultListView;
|
|
9
|
-
vaultFilter: VaultFilter;
|
|
10
|
-
secretFilter: SecretFilter;
|
|
11
|
-
auditFilter: AuditFilter;
|
|
12
|
-
revealedSecretIds: Set<string>;
|
|
13
|
-
clipboardAutoClearMs: number;
|
|
14
|
-
setSelectedVaultId: (vaultId: string | null) => void;
|
|
15
|
-
setSelectedSecretIds: (secretIds: string[]) => void;
|
|
16
|
-
toggleSecretSelection: (secretId: string) => void;
|
|
17
|
-
clearSecretSelection: () => void;
|
|
18
|
-
toggleVaultSelection: (vaultId: string) => void;
|
|
19
|
-
clearVaultSelection: () => void;
|
|
20
|
-
setSecretListView: (view: SecretListView) => void;
|
|
21
|
-
setVaultListView: (view: VaultListView) => void;
|
|
22
|
-
updateVaultFilter: (filter: Partial<VaultFilter>) => void;
|
|
23
|
-
resetVaultFilter: () => void;
|
|
24
|
-
updateSecretFilter: (filter: Partial<SecretFilter>) => void;
|
|
25
|
-
resetSecretFilter: () => void;
|
|
26
|
-
updateAuditFilter: (filter: Partial<AuditFilter>) => void;
|
|
27
|
-
resetAuditFilter: () => void;
|
|
28
|
-
revealSecret: (secretId: string) => void;
|
|
29
|
-
hideSecret: (secretId: string) => void;
|
|
30
|
-
hideAllSecrets: () => void;
|
|
31
|
-
setClipboardAutoClearMs: (ms: number) => void;
|
|
32
|
-
}
|
|
33
|
-
export declare const useSecurityStore: import('zustand').UseBoundStore<import('zustand').StoreApi<SecurityState>>;
|
|
34
|
-
export {};
|
|
35
|
-
//# sourceMappingURL=securityStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"securityStore.d.ts","sourceRoot":"","sources":["../../../src/security/store/securityStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,cAAc,EACd,aAAa,EACd,MAAM,UAAU,CAAC;AA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,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,uBAAuB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAqBD,eAAO,MAAM,gBAAgB,4EAmE1B,CAAC"}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Navigation item for shell integration
|
|
3
|
-
*/
|
|
4
|
-
export interface NavItem {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
path: string;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
badge?: number;
|
|
10
|
-
order?: number;
|
|
11
|
-
group?: string;
|
|
12
|
-
visible?: boolean;
|
|
13
|
-
/** Nested children items for dropdown menus */
|
|
14
|
-
children?: NavItem[];
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Footer item for shell integration
|
|
18
|
-
*/
|
|
19
|
-
export interface FooterItem {
|
|
20
|
-
id: string;
|
|
21
|
-
label: string;
|
|
22
|
-
type: 'status' | 'action';
|
|
23
|
-
order?: number;
|
|
24
|
-
section: 'left' | 'center' | 'right';
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Base microfrontend root props
|
|
28
|
-
*/
|
|
29
|
-
export interface MicrofrontendRootProps {
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Props for the SecurityRoot component
|
|
33
|
-
*/
|
|
34
|
-
export interface SecurityRootProps extends MicrofrontendRootProps {
|
|
35
|
-
/** Base path for the security microfrontend */
|
|
36
|
-
basePath?: string;
|
|
37
|
-
/** Workspace ID for scoping operations */
|
|
38
|
-
workspaceId?: string;
|
|
39
|
-
/** API Gateway URL for GraphQL requests */
|
|
40
|
-
apiGatewayUrl?: string;
|
|
41
|
-
/** Authentication token for API requests (platform identity JWT) */
|
|
42
|
-
authToken?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Workspace token for workspace-scoped API requests (workspace access JWT).
|
|
45
|
-
* The gateway requires both authToken (Authorization) and workspaceToken
|
|
46
|
-
* (X-Workspace-Authorization) for workspace operations.
|
|
47
|
-
*/
|
|
48
|
-
workspaceToken?: string;
|
|
49
|
-
/** Navigation function provided by the shell */
|
|
50
|
-
navigate?: (path: string) => void;
|
|
51
|
-
/** Optional shell callback for auth/session failures */
|
|
52
|
-
onAuthError?: () => void | Promise<void>;
|
|
53
|
-
/** Optional shell callback to lazily obtain a workspace token */
|
|
54
|
-
getWorkspaceToken?: () => Promise<string | null>;
|
|
55
|
-
/** Current user information */
|
|
56
|
-
currentUser?: {
|
|
57
|
-
id: string;
|
|
58
|
-
email: string;
|
|
59
|
-
firstName?: string;
|
|
60
|
-
lastName?: string;
|
|
61
|
-
avatarUrl?: string;
|
|
62
|
-
};
|
|
63
|
-
/** Optional function to register navigation items with the shell */
|
|
64
|
-
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
65
|
-
/** Optional function to register footer items with the shell */
|
|
66
|
-
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Vault entity - a container for secrets
|
|
70
|
-
*/
|
|
71
|
-
export interface Vault {
|
|
72
|
-
id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
slug: string;
|
|
75
|
-
description?: string;
|
|
76
|
-
icon?: string;
|
|
77
|
-
status: VaultStatus;
|
|
78
|
-
secretCount: number;
|
|
79
|
-
memberCount: number;
|
|
80
|
-
lastActivityAt?: string;
|
|
81
|
-
createdBy: {
|
|
82
|
-
id: string;
|
|
83
|
-
name: string;
|
|
84
|
-
};
|
|
85
|
-
createdAt: string;
|
|
86
|
-
updatedAt: string;
|
|
87
|
-
}
|
|
88
|
-
export interface SecretLabel {
|
|
89
|
-
id: string;
|
|
90
|
-
label: string;
|
|
91
|
-
color?: string;
|
|
92
|
-
createdAt: string;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Secret entity stored within a vault
|
|
96
|
-
*/
|
|
97
|
-
export interface Secret {
|
|
98
|
-
id: string;
|
|
99
|
-
vaultId: string;
|
|
100
|
-
name: string;
|
|
101
|
-
key: string;
|
|
102
|
-
description?: string;
|
|
103
|
-
type: SecretType;
|
|
104
|
-
tags: string[];
|
|
105
|
-
labels: SecretLabel[];
|
|
106
|
-
metadata?: Record<string, unknown>;
|
|
107
|
-
expiresAt?: string;
|
|
108
|
-
lastRotatedAt?: string;
|
|
109
|
-
lastAccessedAt?: string;
|
|
110
|
-
version: number;
|
|
111
|
-
versionCount: number;
|
|
112
|
-
status: SecretStatus;
|
|
113
|
-
createdBy: string;
|
|
114
|
-
createdAt: string;
|
|
115
|
-
updatedAt: string;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Decrypted secret value (ephemeral, never persisted in client state)
|
|
119
|
-
*/
|
|
120
|
-
export interface SecretValue {
|
|
121
|
-
secretId: string;
|
|
122
|
-
value: string;
|
|
123
|
-
version: number;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Secret version for history tracking
|
|
127
|
-
*/
|
|
128
|
-
export interface SecretVersion {
|
|
129
|
-
id: string;
|
|
130
|
-
secretId: string;
|
|
131
|
-
version: number;
|
|
132
|
-
createdBy: {
|
|
133
|
-
id: string;
|
|
134
|
-
name: string;
|
|
135
|
-
};
|
|
136
|
-
createdAt: string;
|
|
137
|
-
comment?: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Vault member with access role
|
|
141
|
-
*/
|
|
142
|
-
export interface VaultMember {
|
|
143
|
-
id: string;
|
|
144
|
-
vaultId: string;
|
|
145
|
-
actorId: string;
|
|
146
|
-
actorName: string;
|
|
147
|
-
actorEmail: string;
|
|
148
|
-
avatarUrl?: string;
|
|
149
|
-
role: VaultRole;
|
|
150
|
-
addedBy: {
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
};
|
|
154
|
-
addedAt: string;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Audit log entry
|
|
158
|
-
*/
|
|
159
|
-
export interface AuditLogEntry {
|
|
160
|
-
id: string;
|
|
161
|
-
vaultId?: string;
|
|
162
|
-
secretId?: string;
|
|
163
|
-
action: AuditAction;
|
|
164
|
-
actorId: string;
|
|
165
|
-
actorName: string;
|
|
166
|
-
actorEmail?: string;
|
|
167
|
-
resourceType: 'vault' | 'secret' | 'member' | 'provider';
|
|
168
|
-
resourceId: string;
|
|
169
|
-
resourceName?: string;
|
|
170
|
-
details?: Record<string, unknown>;
|
|
171
|
-
ipAddress?: string;
|
|
172
|
-
timestamp: string;
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* External provider connection (e.g., HashiCorp Vault, AWS Secrets Manager)
|
|
176
|
-
*/
|
|
177
|
-
export interface ProviderConnection {
|
|
178
|
-
id: string;
|
|
179
|
-
name: string;
|
|
180
|
-
type: ProviderType;
|
|
181
|
-
status: ProviderStatus;
|
|
182
|
-
config: Record<string, unknown>;
|
|
183
|
-
lastSyncAt?: string;
|
|
184
|
-
syncedSecretCount: number;
|
|
185
|
-
createdAt: string;
|
|
186
|
-
updatedAt: string;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Security dashboard summary
|
|
190
|
-
*/
|
|
191
|
-
export interface SecurityDashboard {
|
|
192
|
-
totalVaults: number;
|
|
193
|
-
totalSecrets: number;
|
|
194
|
-
healthScore: number;
|
|
195
|
-
weakSecrets: Secret[];
|
|
196
|
-
expiringSecrets: Secret[];
|
|
197
|
-
unusedSecrets: Secret[];
|
|
198
|
-
overdueRotations: Secret[];
|
|
199
|
-
recentActivity: AuditLogEntry[];
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Rotation policy configuration
|
|
203
|
-
*/
|
|
204
|
-
export interface RotationPolicy {
|
|
205
|
-
enabled: boolean;
|
|
206
|
-
intervalDays: number;
|
|
207
|
-
notifyBeforeDays: number;
|
|
208
|
-
autoRotate: boolean;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Import result
|
|
212
|
-
*/
|
|
213
|
-
export interface ImportResult {
|
|
214
|
-
total: number;
|
|
215
|
-
imported: number;
|
|
216
|
-
skipped: number;
|
|
217
|
-
errors: Array<{
|
|
218
|
-
name: string;
|
|
219
|
-
reason: string;
|
|
220
|
-
}>;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Vault filter options
|
|
224
|
-
*/
|
|
225
|
-
export interface VaultFilter {
|
|
226
|
-
search: string;
|
|
227
|
-
status: VaultStatus | 'all';
|
|
228
|
-
sortBy: 'name' | 'createdAt' | 'updatedAt' | 'secretCount';
|
|
229
|
-
sortOrder: 'asc' | 'desc';
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Secret filter options
|
|
233
|
-
*/
|
|
234
|
-
export interface SecretFilter {
|
|
235
|
-
search: string;
|
|
236
|
-
type: SecretType | 'all';
|
|
237
|
-
labels: string[];
|
|
238
|
-
sortBy: 'name' | 'createdAt' | 'updatedAt' | 'lastAccessedAt' | 'type';
|
|
239
|
-
sortOrder: 'asc' | 'desc';
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Audit log filter options
|
|
243
|
-
*/
|
|
244
|
-
export interface AuditFilter {
|
|
245
|
-
action: AuditAction | 'all';
|
|
246
|
-
actorId?: string;
|
|
247
|
-
dateRange?: {
|
|
248
|
-
start: string;
|
|
249
|
-
end: string;
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
export type VaultStatus = 'ACTIVE' | 'LOCKED' | 'ARCHIVED' | 'SUSPENDED' | 'DELETED' | string;
|
|
253
|
-
export type SecretType = 'API_KEY' | 'CERTIFICATE' | 'CREDENTIAL' | 'FILE' | 'PRIVATE_KEY' | 'STRUCTURED_DATA' | 'TEXT' | 'TOKEN';
|
|
254
|
-
export type SecretStatus = 'ACTIVE' | 'ARCHIVED' | 'EXPIRED' | 'REVOKED' | 'ROTATED' | string;
|
|
255
|
-
export type VaultRole = 'owner' | 'admin' | 'editor' | 'viewer';
|
|
256
|
-
export type RotationStatus = 'healthy' | 'due' | 'overdue';
|
|
257
|
-
export type AuditAction = 'vault.created' | 'vault.updated' | 'vault.deleted' | 'vault.locked' | 'vault.unlocked' | 'secret.created' | 'secret.updated' | 'secret.deleted' | 'secret.accessed' | 'secret.rotated' | 'secret.rollback' | 'member.added' | 'member.removed' | 'member.role_changed' | 'provider.connected' | 'provider.disconnected' | 'provider.synced' | 'import.completed' | 'export.completed';
|
|
258
|
-
export type ProviderType = 'hashicorp_vault' | 'aws_secrets_manager' | 'azure_key_vault' | 'gcp_secret_manager' | 'custom';
|
|
259
|
-
export type ProviderStatus = 'connected' | 'disconnected' | 'error' | 'syncing';
|
|
260
|
-
export type SecretListView = 'list' | 'grid';
|
|
261
|
-
export type VaultListView = 'list' | 'grid';
|
|
262
|
-
/**
|
|
263
|
-
* Mode for navigation and route filtering.
|
|
264
|
-
* - 'user': vault/secret operational pages only (for product app shells)
|
|
265
|
-
* - 'admin': governance pages + vault management (for admin-app)
|
|
266
|
-
* - 'all': everything (backward compat)
|
|
267
|
-
*/
|
|
268
|
-
export type SecurityMode = 'user' | 'admin' | 'all';
|
|
269
|
-
/**
|
|
270
|
-
* Props for the SecurityUserRoot component (user-facing app shells).
|
|
271
|
-
* Identical to SecurityRootProps today; kept as a separate alias so
|
|
272
|
-
* user-specific props (e.g., vault-scoped defaults) can be added later
|
|
273
|
-
* without breaking admin consumers.
|
|
274
|
-
*/
|
|
275
|
-
export type SecurityUserRootProps = SecurityRootProps;
|
|
276
|
-
/**
|
|
277
|
-
* Props for the SecurityAdminRoot component (admin-app).
|
|
278
|
-
* Identical to SecurityRootProps today; kept as a separate alias so
|
|
279
|
-
* admin-specific props (e.g., tenantScope, adminPermissions) can be
|
|
280
|
-
* added later without breaking user consumers.
|
|
281
|
-
*/
|
|
282
|
-
export type SecurityAdminRootProps = SecurityRootProps;
|
|
283
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/security/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC;AAED;;GAEG;AAEH,MAAM,WAAW,sBAAsB;CAAG;AAE1C;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB;IAC/D,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,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D;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copy text to clipboard and optionally auto-clear after a delay.
|
|
3
|
-
*
|
|
4
|
-
* @param text - The text to copy
|
|
5
|
-
* @param autoClearMs - Milliseconds after which to clear clipboard (0 = no auto-clear)
|
|
6
|
-
* @returns A cleanup function to cancel the auto-clear timer
|
|
7
|
-
*/
|
|
8
|
-
export declare function copyToClipboard(text: string, autoClearMs?: number): {
|
|
9
|
-
promise: Promise<void>;
|
|
10
|
-
cancel: () => void;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Clear the clipboard by writing an empty string.
|
|
14
|
-
*/
|
|
15
|
-
export declare function clearClipboard(): Promise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Format remaining time for auto-clear countdown display.
|
|
18
|
-
*/
|
|
19
|
-
export declare function formatCountdown(remainingMs: number): string;
|
|
20
|
-
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../../src/security/utils/clipboard.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,WAAW,GAAE,MAAc,GAC1B;IAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,CAmBhD;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAMpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAO3D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/security/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;GAEG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface ParsedSecret {
|
|
2
|
-
name: string;
|
|
3
|
-
key: string;
|
|
4
|
-
value: string;
|
|
5
|
-
type: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ParsedPlainImportFile {
|
|
9
|
-
kind: 'plain';
|
|
10
|
-
secrets: ParsedSecret[];
|
|
11
|
-
}
|
|
12
|
-
export interface ParsedBackupImportFile {
|
|
13
|
-
kind: 'backup';
|
|
14
|
-
encodedBackup: string;
|
|
15
|
-
}
|
|
16
|
-
export type ParsedImportFile = ParsedPlainImportFile | ParsedBackupImportFile;
|
|
17
|
-
export declare function parseImportFile(file: File): Promise<ParsedImportFile>;
|
|
18
|
-
//# sourceMappingURL=fileParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileParser.d.ts","sourceRoot":"","sources":["../../../src/security/utils/fileParser.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,GAAG,sBAAsB,CAAC;AA+J9E,wBAAsB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAwB3E"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type TranslationParams = Record<string, string | number>;
|
|
2
|
-
type TranslateFn = (key: string, params?: TranslationParams) => string;
|
|
3
|
-
export declare function translateWithFallback(t: TranslateFn, key: string, fallback: string, params?: TranslationParams): string;
|
|
4
|
-
export {};
|
|
5
|
-
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/security/utils/i18n.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAEzD,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,iBAAiB,KAAK,MAAM,CAAC;AAEvE,wBAAgB,qBAAqB,CACnC,CAAC,EAAE,WAAW,EACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,iBAAiB,UAkB3B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SecretType } from '../types';
|
|
2
|
-
|
|
3
|
-
export interface ParsedSecret {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
type: SecretType;
|
|
7
|
-
description?: string;
|
|
8
|
-
labels?: string[];
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Parse a JSON file containing secrets.
|
|
12
|
-
* Expected format: array of { name, value, type?, description?, labels? }
|
|
13
|
-
* or object where keys are secret names and values are secret values.
|
|
14
|
-
*/
|
|
15
|
-
export declare function parseJsonSecrets(content: string): ParsedSecret[];
|
|
16
|
-
/**
|
|
17
|
-
* Parse a CSV file containing secrets.
|
|
18
|
-
* Expected format: name,value,type,description (first row is header)
|
|
19
|
-
*/
|
|
20
|
-
export declare function parseCsvSecrets(content: string): ParsedSecret[];
|
|
21
|
-
/**
|
|
22
|
-
* Parse a .env file containing environment variables.
|
|
23
|
-
* Supports KEY=VALUE format, comments (#), and quoted values.
|
|
24
|
-
*/
|
|
25
|
-
export declare function parseEnvSecrets(content: string): ParsedSecret[];
|
|
26
|
-
/**
|
|
27
|
-
* Detect file format from file name and parse accordingly.
|
|
28
|
-
*/
|
|
29
|
-
export declare function parseSecretsFile(fileName: string, content: string): ParsedSecret[];
|
|
30
|
-
//# sourceMappingURL=importParsers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importParsers.d.ts","sourceRoot":"","sources":["../../../src/security/utils/importParsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAsBhE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAgC/D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAqC/D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAiBlF"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Vault, Secret, SecretValue, SecretVersion, VaultMember, AuditLogEntry, ProviderConnection, SecurityDashboard } from '../types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Map a GraphQL Vault response to the domain Vault type
|
|
5
|
-
*/
|
|
6
|
-
export declare function mapVault(raw: Record<string, unknown>): Vault;
|
|
7
|
-
/**
|
|
8
|
-
* Map a GraphQL Secret response to the domain Secret type
|
|
9
|
-
*/
|
|
10
|
-
export declare function mapSecret(raw: Record<string, unknown>): Secret;
|
|
11
|
-
/**
|
|
12
|
-
* Map a GraphQL SecretValue response to the domain SecretValue type
|
|
13
|
-
*/
|
|
14
|
-
export declare function mapSecretValue(raw: Record<string, unknown>): SecretValue;
|
|
15
|
-
/**
|
|
16
|
-
* Map a GraphQL SecretVersion response to the domain SecretVersion type
|
|
17
|
-
*/
|
|
18
|
-
export declare function mapSecretVersion(raw: Record<string, unknown>): SecretVersion;
|
|
19
|
-
/**
|
|
20
|
-
* Map a GraphQL VaultMember response to the domain VaultMember type
|
|
21
|
-
*/
|
|
22
|
-
export declare function mapVaultMember(raw: Record<string, unknown>): VaultMember;
|
|
23
|
-
/**
|
|
24
|
-
* Map a GraphQL AuditLogEntry response to the domain AuditLogEntry type
|
|
25
|
-
*/
|
|
26
|
-
export declare function mapAuditLogEntry(raw: Record<string, unknown>): AuditLogEntry;
|
|
27
|
-
/**
|
|
28
|
-
* Map a GraphQL ProviderConnection response to the domain ProviderConnection type
|
|
29
|
-
*/
|
|
30
|
-
export declare function mapProviderConnection(raw: Record<string, unknown>): ProviderConnection;
|
|
31
|
-
/**
|
|
32
|
-
* Map a GraphQL SecurityDashboard response to the domain SecurityDashboard type
|
|
33
|
-
*/
|
|
34
|
-
export declare function mapSecurityDashboard(raw: Record<string, unknown>): SecurityDashboard;
|
|
35
|
-
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/security/utils/mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,KAAK,CAe5D;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAqB9D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAMxE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa,CAS5E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAYxE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa,CAgB5E;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,kBAAkB,CAYtF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,iBAAiB,CAWpF"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface PasswordOptions {
|
|
2
|
-
length: number;
|
|
3
|
-
uppercase: boolean;
|
|
4
|
-
lowercase: boolean;
|
|
5
|
-
numbers: boolean;
|
|
6
|
-
symbols: boolean;
|
|
7
|
-
excludeAmbiguous: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const DEFAULT_PASSWORD_OPTIONS: PasswordOptions;
|
|
10
|
-
/**
|
|
11
|
-
* Generate a cryptographically secure random password using crypto.getRandomValues.
|
|
12
|
-
*/
|
|
13
|
-
export declare function generatePassword(options?: PasswordOptions): string;
|
|
14
|
-
/**
|
|
15
|
-
* Calculate password strength score (0-100)
|
|
16
|
-
*/
|
|
17
|
-
export declare function calculatePasswordStrength(password: string): {
|
|
18
|
-
score: number;
|
|
19
|
-
label: 'weak' | 'fair' | 'good' | 'strong' | 'excellent';
|
|
20
|
-
color: string;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=passwordGenerator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"passwordGenerator.d.ts","sourceRoot":"","sources":["../../../src/security/utils/passwordGenerator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAYD,eAAO,MAAM,wBAAwB,EAAE,eAOtC,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,eAA0C,GAAG,MAAM,CA8B5F;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;CACf,CAgCA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
-
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
|
3
|
-
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|