@celestia-island/plana-types 0.1.5 → 0.1.6
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/bindings/httpTypes.ts
CHANGED
|
@@ -114,7 +114,7 @@ export type UsageModelEntry = { model: string, tokens: bigint, cost_usd: number,
|
|
|
114
114
|
|
|
115
115
|
export type UserPreferences = { theme?: string, themeMode?: string, chatMode?: string, locale?: string, };
|
|
116
116
|
|
|
117
|
-
export type UserProfileResponse = { id: string, username: string, email: string, display_name: string, avatar_url: string | null, is_active: boolean,
|
|
117
|
+
export type UserProfileResponse = { id: string, username: string, email: string, display_name: string, avatar_url: string | null, is_active: boolean, role: string, groups: Array<RbacGroup>, preferences?: UserPreferences, created_at: string, };
|
|
118
118
|
|
|
119
119
|
export type UserTierInfo = { user_id: string, tier: string, tier_expires_at?: string, daily_quota_used: number, monthly_token_used: number, last_quota_reset_at?: string, };
|
|
120
120
|
|
|
@@ -132,8 +132,4 @@ export type WebhookItem = { id: string, name: string, url: string, platform: str
|
|
|
132
132
|
|
|
133
133
|
export type WebhookListResponse = { webhooks: Array<WebhookInfoItem>, };
|
|
134
134
|
|
|
135
|
-
export type WorkspaceItem = { id: string, path: string, editor: string, git_branch: string, status: string, connected: boolean, short_id: string, alias?: string, connection_kind: string, };
|
|
136
|
-
|
|
137
|
-
export type WorkspaceResolveResponse = { workspace_uuid: string, short_id: string, alias?: string, path: string, };
|
|
138
|
-
|
|
139
135
|
export type WorkspaceSessionResponse = { workspace_id: string, workspace_path: string, editor_name: string, editor_version: string, git_branch: string, cursor?: CursorState, connected_at: string, last_heartbeat: string, };
|
|
@@ -56,7 +56,7 @@ export type RbacGroup = { id: string, name: string, description: string, member_
|
|
|
56
56
|
|
|
57
57
|
export type RbacGroupsResponse = { groups: Array<RbacGroup>, };
|
|
58
58
|
|
|
59
|
-
export type RbacUser = { id: string, username: string, email: string, display_name: string, avatar_url: string | null, is_active: boolean,
|
|
59
|
+
export type RbacUser = { id: string, username: string, email: string, display_name: string, avatar_url: string | null, is_active: boolean, role: string, tier: string, created_at: string, };
|
|
60
60
|
|
|
61
61
|
export type RbacUsersResponse = { users: Array<RbacUser>, };
|
|
62
62
|
|