@daocloud-proto/baize 0.102.1 → 0.102.3

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/common/k8s.pb.ts CHANGED
@@ -24,4 +24,5 @@ export type KubeVolume = {
24
24
  type?: KubeVolumeVolumeType
25
25
  name?: string
26
26
  mountPath?: string
27
+ readOnly?: boolean
27
28
  }
@@ -20,11 +20,6 @@ export enum NotebookConfigServiceType {
20
20
  LOAD_BALANCER = "LOAD_BALANCER",
21
21
  }
22
22
 
23
- export enum NotebookConfigKubeVolumeVolumeType {
24
- VOLUME_TYPE_UNSPECIFIED = "VOLUME_TYPE_UNSPECIFIED",
25
- PERSISTENT_VOLUME_CLAIM = "PERSISTENT_VOLUME_CLAIM",
26
- }
27
-
28
23
  export enum NotebookStatusPhase {
29
24
  PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
30
25
  PENDING = "PENDING",
@@ -52,24 +47,13 @@ export type NotebookConfigKubeMetadata = {
52
47
  annotations?: {[key: string]: string}
53
48
  }
54
49
 
55
- export type NotebookConfigKubeEnv = {
56
- name?: string
57
- value?: string
58
- }
59
-
60
- export type NotebookConfigKubeVolume = {
61
- type?: NotebookConfigKubeVolumeVolumeType
62
- name?: string
63
- mountPath?: string
64
- }
65
-
66
50
  export type NotebookConfig = {
67
51
  resources?: BaizeCommonK8s.Resources
68
52
  image?: string
69
53
  token?: string
70
54
  kubeMetadata?: NotebookConfigKubeMetadata
71
- kubeEnvs?: NotebookConfigKubeEnv[]
72
- kubeVolumes?: NotebookConfigKubeVolume[]
55
+ kubeEnvs?: BaizeCommonK8s.KubeEnv[]
56
+ kubeVolumes?: BaizeCommonK8s.KubeVolume[]
73
57
  runAsRoot?: boolean
74
58
  serviceType?: NotebookConfigServiceType
75
59
  }
@@ -49,6 +49,7 @@ export type ListQueueRequest = {
49
49
  cluster?: string
50
50
  type?: QueueType
51
51
  page?: BaizeCommonCommon.Pagination
52
+ workspace?: number
52
53
  }
53
54
 
54
55
  export type ListQueueResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.102.1",
3
+ "version": "v0.102.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"