@odigos/ui-kit 0.0.280 → 0.0.281
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/CHANGELOG.md +7 -0
- package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/setup-artifacts.d.ts +12 -2
- package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +3 -1
- package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +0 -28
- package/lib/containers.js +205 -223
- package/lib/types/cloud-connectors/index.d.ts +5 -0
- package/package.json +2 -2
- package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.281](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.280...ui-kit-v0.0.281) (2026-08-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* cloud connector setup step 2 ([#1146](https://github.com/odigos-io/ui-kit/issues/1146)) ([01f65db](https://github.com/odigos-io/ui-kit/commit/01f65db28a12825f079659add8fa1eab5783379f))
|
|
9
|
+
|
|
3
10
|
## [0.0.280](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.279...ui-kit-v0.0.280) (2026-08-02)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import type { CloudConnectorProvider, CloudConnectorSetupArtifact } from '../../../../../types';
|
|
2
2
|
export declare const SETUP_SECTION_PERMISSIONS = "permissions";
|
|
3
|
+
export declare const SETUP_SECTION_CREATE_ROLE = "create-role";
|
|
4
|
+
export declare const SETUP_SECTION_CREDENTIALS = "credentials";
|
|
3
5
|
export interface SetupArtifactVars {
|
|
4
|
-
permissions
|
|
6
|
+
permissions?: string[];
|
|
7
|
+
vars?: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
export interface SetupVariantOption {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
5
12
|
}
|
|
6
13
|
export declare const findSetupArtifact: (provider: CloudConnectorProvider | undefined, section: string, id?: string) => CloudConnectorSetupArtifact | undefined;
|
|
7
|
-
export declare const
|
|
14
|
+
export declare const findSetupArtifacts: (provider: CloudConnectorProvider | undefined, section: string) => CloudConnectorSetupArtifact[];
|
|
15
|
+
export declare const getSetupVariants: (provider: CloudConnectorProvider | undefined, section: string) => SetupVariantOption[];
|
|
16
|
+
export declare const findSetupArtifactByVariant: (provider: CloudConnectorProvider | undefined, section: string, variant: string) => CloudConnectorSetupArtifact | undefined;
|
|
17
|
+
export declare const renderSetupArtifact: (artifact: CloudConnectorSetupArtifact, vars?: SetupArtifactVars) => string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
+
import type { CloudConnectorSetupArtifact } from '../../../../../types';
|
|
2
3
|
export interface CreateRoleSectionProps {
|
|
3
4
|
step: number;
|
|
4
|
-
|
|
5
|
+
artifact: CloudConnectorSetupArtifact;
|
|
6
|
+
code: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const CreateRoleSection: FC<CreateRoleSectionProps>;
|
package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts
CHANGED
|
@@ -1,32 +1,4 @@
|
|
|
1
1
|
import type { CloudConnectorField, CloudConnectorProvider } from '../../../../../types';
|
|
2
|
-
export declare enum CloudConnectorAuthMethod {
|
|
3
|
-
AssumeRole = "assume-role",
|
|
4
|
-
StaticKeys = "static-keys"
|
|
5
|
-
}
|
|
6
|
-
export declare enum CloudConnectorSetupMethod {
|
|
7
|
-
CloudFormation = "cloudformation",
|
|
8
|
-
Terraform = "terraform",
|
|
9
|
-
AwsCli = "aws-cli",
|
|
10
|
-
Manual = "manual"
|
|
11
|
-
}
|
|
12
|
-
export interface AuthMethodOption {
|
|
13
|
-
id: CloudConnectorAuthMethod;
|
|
14
|
-
label: string;
|
|
15
|
-
note: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const AUTH_METHODS: AuthMethodOption[];
|
|
18
|
-
export interface SetupMethodOption {
|
|
19
|
-
id: CloudConnectorSetupMethod;
|
|
20
|
-
label: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const SETUP_METHODS: SetupMethodOption[];
|
|
23
|
-
export interface IamRoleInstructions {
|
|
24
|
-
description: string;
|
|
25
|
-
steps: string[];
|
|
26
|
-
code: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const IAM_ROLE_INSTRUCTIONS: Record<CloudConnectorSetupMethod, IamRoleInstructions>;
|
|
29
|
-
export declare const getIamRoleInstructions: (setupMethod: string) => IamRoleInstructions;
|
|
30
2
|
export declare const getCredentialFields: (provider: CloudConnectorProvider | undefined, authMethodId: string) => CloudConnectorField[];
|
|
31
3
|
export declare const findMissingRequiredCredential: (provider: CloudConnectorProvider | undefined, authMethodId: string, credentials: Record<string, string>) => CloudConnectorField | undefined;
|
|
32
4
|
export declare const getDefaultAuthMethod: (provider: CloudConnectorProvider | undefined) => string;
|