Skip to content

Commit

Permalink
fix: fix role, app, org interfaces
Browse files Browse the repository at this point in the history
Fix IRole, IOrganization and IApp to match counterparts on ICS.
  • Loading branch information
Harasz committed Feb 1, 2022
1 parent 33335da commit ab3dea2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions docs/api/interfaces/IApp.md
Expand Up @@ -5,12 +5,12 @@
### Properties

- [definition](IApp.md#definition)
- [id](IApp.md#id)
- [isOwnedByCurrentUser](IApp.md#isownedbycurrentuser)
- [name](IApp.md#name)
- [namespace](IApp.md#namespace)
- [owner](IApp.md#owner)
- [roles](IApp.md#roles)
- [uid](IApp.md#uid)

## Properties

Expand All @@ -20,6 +20,12 @@

___

### id

**id**: `string`

___

### isOwnedByCurrentUser

`Optional` **isOwnedByCurrentUser**: `boolean`
Expand Down Expand Up @@ -47,9 +53,3 @@ ___
### roles

`Optional` **roles**: [`IRole`](IRole.md)[]

___

### uid

**uid**: `string`
14 changes: 7 additions & 7 deletions docs/api/interfaces/IOrganization.md
Expand Up @@ -6,13 +6,13 @@

- [apps](IOrganization.md#apps)
- [definition](IOrganization.md#definition)
- [id](IOrganization.md#id)
- [isOwnedByCurrentUser](IOrganization.md#isownedbycurrentuser)
- [name](IOrganization.md#name)
- [namespace](IOrganization.md#namespace)
- [owner](IOrganization.md#owner)
- [roles](IOrganization.md#roles)
- [subOrgs](IOrganization.md#suborgs)
- [uid](IOrganization.md#uid)

## Properties

Expand All @@ -28,6 +28,12 @@ ___

___

### id

**id**: `string`

___

### isOwnedByCurrentUser

`Optional` **isOwnedByCurrentUser**: `boolean`
Expand Down Expand Up @@ -61,9 +67,3 @@ ___
### subOrgs

`Optional` **subOrgs**: [`IOrganization`](IOrganization.md)[]

___

### uid

**uid**: `string`
14 changes: 7 additions & 7 deletions docs/api/interfaces/IRole.md
Expand Up @@ -5,11 +5,11 @@
### Properties

- [definition](IRole.md#definition)
- [id](IRole.md#id)
- [isOwnedByCurrentUser](IRole.md#isownedbycurrentuser)
- [name](IRole.md#name)
- [namespace](IRole.md#namespace)
- [owner](IRole.md#owner)
- [uid](IRole.md#uid)

## Properties

Expand All @@ -19,6 +19,12 @@

___

### id

**id**: `string`

___

### isOwnedByCurrentUser

`Optional` **isOwnedByCurrentUser**: `boolean`
Expand All @@ -40,9 +46,3 @@ ___
### owner

**owner**: `string`

___

### uid

**uid**: `string`
6 changes: 3 additions & 3 deletions src/modules/domains/domains.types.ts
Expand Up @@ -7,7 +7,7 @@ export enum NamespaceType {
}

export interface IRole {
uid: string;
id: string;
name: string;
namespace: string;
owner: string;
Expand All @@ -16,7 +16,7 @@ export interface IRole {
}

export interface IOrganization {
uid: string;
id: string;
name: string;
namespace: string;
owner: string;
Expand All @@ -28,7 +28,7 @@ export interface IOrganization {
}

export interface IApp {
uid: string;
id: string;
name: string;
namespace: string;
owner: string;
Expand Down

0 comments on commit ab3dea2

Please sign in to comment.