Skip to content

Commit 89fd8fe

Browse files
feat(dashboard): show tier badge in org selector
1 parent 34fb372 commit 89fd8fe

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 160
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-13ed0159480c5c02ed02394764e7c528c1110cdc42d2a0ff5fac228f48403a08.yml
3-
openapi_spec_hash: e1b4c20a8a5faee0f2dd22b449e7a106
4-
config_hash: f36d04c8359fe8baec226396a18b309e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-504fab16d01ad7f81914542fd0523f4dfefce87813891da391b97b1b0a70f563.yml
3+
openapi_spec_hash: 84d9d652cac365c646e01111cee89afc
4+
config_hash: acfe8cf5d6e4b26387e4fefa3bff8409

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ from gitpod.types import (
1010
FieldValue,
1111
Gateway,
1212
OrganizationRole,
13+
OrganizationTier,
1314
Principal,
1415
ProjectEnvironmentClass,
1516
ResourceType,
@@ -338,7 +339,6 @@ from gitpod.types import (
338339
InviteDomains,
339340
Organization,
340341
OrganizationMember,
341-
OrganizationTier,
342342
OrganizationCreateResponse,
343343
OrganizationRetrieveResponse,
344344
OrganizationUpdateResponse,

src/gitpod/types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
TaskExecution as TaskExecution,
2626
EnvironmentClass as EnvironmentClass,
2727
OrganizationRole as OrganizationRole,
28+
OrganizationTier as OrganizationTier,
2829
AutomationTrigger as AutomationTrigger,
2930
TaskExecutionSpec as TaskExecutionSpec,
3031
TaskExecutionPhase as TaskExecutionPhase,
@@ -72,7 +73,6 @@
7273
from .error_event_param import ErrorEventParam as ErrorEventParam
7374
from .event_list_params import EventListParams as EventListParams
7475
from .group_list_params import GroupListParams as GroupListParams
75-
from .organization_tier import OrganizationTier as OrganizationTier
7676
from .prebuild_metadata import PrebuildMetadata as PrebuildMetadata
7777
from .runner_capability import RunnerCapability as RunnerCapability
7878
from .runner_spec_param import RunnerSpecParam as RunnerSpecParam

src/gitpod/types/account_membership.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from .._models import BaseModel
88
from .shared.organization_role import OrganizationRole
9+
from .shared.organization_tier import OrganizationTier
910

1011
__all__ = ["AccountMembership"]
1112

@@ -25,6 +26,9 @@ class AccountMembership(BaseModel):
2526

2627
organization_member_count: Optional[int] = FieldInfo(alias="organizationMemberCount", default=None)
2728
"""
28-
organization_name is the member count of the organization the user is a member
29-
of
29+
organization_member_count is the member count of the organization the user is a
30+
member of
3031
"""
32+
33+
organization_tier: Optional[OrganizationTier] = FieldInfo(alias="organizationTier", default=None)
34+
"""organization_tier is the tier of the organization (Free, Core, Enterprise)"""

src/gitpod/types/organization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from .._models import BaseModel
99
from .invite_domains import InviteDomains
10-
from .organization_tier import OrganizationTier
10+
from .shared.organization_tier import OrganizationTier
1111

1212
__all__ = ["Organization"]
1313

src/gitpod/types/shared/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .task_execution import TaskExecution as TaskExecution
1717
from .environment_class import EnvironmentClass as EnvironmentClass
1818
from .organization_role import OrganizationRole as OrganizationRole
19+
from .organization_tier import OrganizationTier as OrganizationTier
1920
from .automation_trigger import AutomationTrigger as AutomationTrigger
2021
from .task_execution_spec import TaskExecutionSpec as TaskExecutionSpec
2122
from .task_execution_phase import TaskExecutionPhase as TaskExecutionPhase
File renamed without changes.

0 commit comments

Comments
 (0)