@daocloud-proto/baize 0.102.0 → 0.102.2

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
  }
@@ -6,6 +6,7 @@
6
6
 
7
7
  import * as BaizeCommonCommon from "../../../common/common.pb"
8
8
  import * as fm from "../../../fetch.pb"
9
+ import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
9
10
 
10
11
  type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
11
12
  type OneOf<T> =
@@ -67,6 +68,9 @@ export type Dataset = {
67
68
  pvcName?: string
68
69
  status?: DatasetStatus
69
70
  description?: string
71
+ creationTimestamp?: GoogleProtobufTimestamp.Timestamp
72
+ labels?: {[key: string]: string}
73
+ annotations?: {[key: string]: string}
70
74
  }
71
75
 
72
76
  export type DataSourceOptionsGit = {
@@ -136,6 +140,8 @@ export type CreateDatasetRequest = {
136
140
  secretOptions?: SecretOptions
137
141
  boundPVC?: DatasetBoundPVC
138
142
  description?: string
143
+ labels?: {[key: string]: string}
144
+ annotations?: {[key: string]: string}
139
145
  }
140
146
 
141
147
  export type ListDatasetRequest = {
@@ -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
  }
@@ -74,7 +74,7 @@ export type DeleteQueueRequest = {
74
74
 
75
75
  export type CheckQueueRequest = {
76
76
  type?: QueueType
77
- workspace?: string
77
+ workspace?: number
78
78
  cluster?: string
79
79
  namespace?: string
80
80
  name?: string
@@ -87,7 +87,7 @@ export type CheckQueueResponse = {
87
87
 
88
88
  export type CreateLocalQueueRequest = {
89
89
  type?: QueueType
90
- workspace?: string
90
+ workspace?: number
91
91
  cluster?: string
92
92
  namespace?: string
93
93
  name?: string
@@ -95,7 +95,7 @@ export type CreateLocalQueueRequest = {
95
95
 
96
96
  export type CreateLocalQueueResponse = {
97
97
  type?: QueueType
98
- workspace?: string
98
+ workspace?: number
99
99
  cluster?: string
100
100
  namespace?: string
101
101
  name?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.102.0",
3
+ "version": "v0.102.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"