@orsetra/shared-types 1.0.2 → 1.0.4

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/index.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  // Shared types across all micro-frontends
2
2
  export * from './types/common'
3
+ export * from './types/application'
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@orsetra/shared-types",
3
- "version": "1.0.2",
4
- "description": "Shared TypeScript types for Orsetra platform",
5
- "main": "./index.ts",
6
- "types": "./index.ts",
7
- "exports": {
8
- ".": "./index.ts",
9
- "./types/*": "./types/*.ts"
10
- },
11
- "files": [
12
- "index.ts",
13
- "types",
14
- "README.md"
15
- ],
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "https://github.com/orsetra/console-ui.git",
22
- "directory": "packages/shared-types"
23
- },
24
- "keywords": [
25
- "typescript",
26
- "types",
27
- "orsetra"
28
- ],
29
- "devDependencies": {
30
- "typescript": "^5"
31
- }
32
- }
1
+ {
2
+ "name": "@orsetra/shared-types",
3
+ "version": "1.0.4",
4
+ "description": "Shared TypeScript types for Orsetra platform",
5
+ "main": "./index.ts",
6
+ "types": "./index.ts",
7
+ "exports": {
8
+ ".": "./index.ts",
9
+ "./types/*": "./types/*.ts"
10
+ },
11
+ "files": [
12
+ "index.ts",
13
+ "types",
14
+ "README.md"
15
+ ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/orsetra/console-ui.git",
22
+ "directory": "packages/shared-types"
23
+ },
24
+ "keywords": [
25
+ "typescript",
26
+ "types",
27
+ "orsetra"
28
+ ],
29
+ "devDependencies": {
30
+ "typescript": "^5"
31
+ }
32
+ }
@@ -0,0 +1,36 @@
1
+ export interface ApplicationComponentBase {
2
+ name: string;
3
+ alias?: string;
4
+ componentType?: string;
5
+ description?: string;
6
+ properties?: Record<string, any>;
7
+ }
8
+
9
+ export interface ApplicationPolicyBase {
10
+ name: string;
11
+ type: string;
12
+ description?: string;
13
+ properties?: Record<string, any>;
14
+ }
15
+
16
+ export interface WorkflowStepBase {
17
+ name: string;
18
+ type: string;
19
+ alias?: string;
20
+ description?: string;
21
+ properties?: Record<string, any>;
22
+ }
23
+
24
+ export interface WorkflowStep extends WorkflowStepBase {
25
+ subSteps?: WorkflowStepBase[];
26
+ }
27
+
28
+ export interface Secret {
29
+ metadata: {
30
+ name: string;
31
+ namespace?: string;
32
+ labels: Record<string, string>;
33
+ };
34
+ data?: Record<string, string>;
35
+ type?: string;
36
+ }