@daocloud-proto/skoala 0.6.0-4 → 0.6.1

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.
@@ -0,0 +1 @@
1
+ export default {}
@@ -0,0 +1,193 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as GoogleProtobufStruct from "../google/protobuf/struct.pb"
8
+
9
+ export enum Scheme {
10
+ UNKNOWN = "UNKNOWN",
11
+ HTTP = "HTTP",
12
+ HTTPS = "HTTPS",
13
+ WS = "WS",
14
+ WSS = "WSS",
15
+ }
16
+
17
+ export enum JSONSchemaJSONSchemaSimpleTypes {
18
+ UNKNOWN = "UNKNOWN",
19
+ ARRAY = "ARRAY",
20
+ BOOLEAN = "BOOLEAN",
21
+ INTEGER = "INTEGER",
22
+ NULL = "NULL",
23
+ NUMBER = "NUMBER",
24
+ OBJECT = "OBJECT",
25
+ STRING = "STRING",
26
+ }
27
+
28
+ export enum SecuritySchemeType {
29
+ TYPE_INVALID = "TYPE_INVALID",
30
+ TYPE_BASIC = "TYPE_BASIC",
31
+ TYPE_API_KEY = "TYPE_API_KEY",
32
+ TYPE_OAUTH2 = "TYPE_OAUTH2",
33
+ }
34
+
35
+ export enum SecuritySchemeIn {
36
+ IN_INVALID = "IN_INVALID",
37
+ IN_QUERY = "IN_QUERY",
38
+ IN_HEADER = "IN_HEADER",
39
+ }
40
+
41
+ export enum SecuritySchemeFlow {
42
+ FLOW_INVALID = "FLOW_INVALID",
43
+ FLOW_IMPLICIT = "FLOW_IMPLICIT",
44
+ FLOW_PASSWORD = "FLOW_PASSWORD",
45
+ FLOW_APPLICATION = "FLOW_APPLICATION",
46
+ FLOW_ACCESS_CODE = "FLOW_ACCESS_CODE",
47
+ }
48
+
49
+ export type Swagger = {
50
+ swagger?: string
51
+ info?: Info
52
+ host?: string
53
+ basePath?: string
54
+ schemes?: Scheme[]
55
+ consumes?: string[]
56
+ produces?: string[]
57
+ responses?: {[key: string]: Response}
58
+ securityDefinitions?: SecurityDefinitions
59
+ security?: SecurityRequirement[]
60
+ externalDocs?: ExternalDocumentation
61
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
62
+ }
63
+
64
+ export type Operation = {
65
+ tags?: string[]
66
+ summary?: string
67
+ description?: string
68
+ externalDocs?: ExternalDocumentation
69
+ operationId?: string
70
+ consumes?: string[]
71
+ produces?: string[]
72
+ responses?: {[key: string]: Response}
73
+ schemes?: Scheme[]
74
+ deprecated?: boolean
75
+ security?: SecurityRequirement[]
76
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
77
+ }
78
+
79
+ export type Header = {
80
+ description?: string
81
+ type?: string
82
+ format?: string
83
+ default?: string
84
+ pattern?: string
85
+ }
86
+
87
+ export type Response = {
88
+ description?: string
89
+ schema?: Schema
90
+ headers?: {[key: string]: Header}
91
+ examples?: {[key: string]: string}
92
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
93
+ }
94
+
95
+ export type Info = {
96
+ title?: string
97
+ description?: string
98
+ termsOfService?: string
99
+ contact?: Contact
100
+ license?: License
101
+ version?: string
102
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
103
+ }
104
+
105
+ export type Contact = {
106
+ name?: string
107
+ url?: string
108
+ email?: string
109
+ }
110
+
111
+ export type License = {
112
+ name?: string
113
+ url?: string
114
+ }
115
+
116
+ export type ExternalDocumentation = {
117
+ description?: string
118
+ url?: string
119
+ }
120
+
121
+ export type Schema = {
122
+ jsonSchema?: JSONSchema
123
+ discriminator?: string
124
+ readOnly?: boolean
125
+ externalDocs?: ExternalDocumentation
126
+ example?: string
127
+ }
128
+
129
+ export type JSONSchemaFieldConfiguration = {
130
+ pathParamName?: string
131
+ }
132
+
133
+ export type JSONSchema = {
134
+ ref?: string
135
+ title?: string
136
+ description?: string
137
+ default?: string
138
+ readOnly?: boolean
139
+ example?: string
140
+ multipleOf?: number
141
+ maximum?: number
142
+ exclusiveMaximum?: boolean
143
+ minimum?: number
144
+ exclusiveMinimum?: boolean
145
+ maxLength?: string
146
+ minLength?: string
147
+ pattern?: string
148
+ maxItems?: string
149
+ minItems?: string
150
+ uniqueItems?: boolean
151
+ maxProperties?: string
152
+ minProperties?: string
153
+ required?: string[]
154
+ array?: string[]
155
+ type?: JSONSchemaJSONSchemaSimpleTypes[]
156
+ format?: string
157
+ enum?: string[]
158
+ fieldConfiguration?: JSONSchemaFieldConfiguration
159
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
160
+ }
161
+
162
+ export type Tag = {
163
+ description?: string
164
+ externalDocs?: ExternalDocumentation
165
+ }
166
+
167
+ export type SecurityDefinitions = {
168
+ security?: {[key: string]: SecurityScheme}
169
+ }
170
+
171
+ export type SecurityScheme = {
172
+ type?: SecuritySchemeType
173
+ description?: string
174
+ name?: string
175
+ in?: SecuritySchemeIn
176
+ flow?: SecuritySchemeFlow
177
+ authorizationUrl?: string
178
+ tokenUrl?: string
179
+ scopes?: Scopes
180
+ extensions?: {[key: string]: GoogleProtobufStruct.Value}
181
+ }
182
+
183
+ export type SecurityRequirementSecurityRequirementValue = {
184
+ scope?: string[]
185
+ }
186
+
187
+ export type SecurityRequirement = {
188
+ securityRequirement?: {[key: string]: SecurityRequirementSecurityRequirementValue}
189
+ }
190
+
191
+ export type Scopes = {
192
+ scope?: {[key: string]: string}
193
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.6.0-4",
3
+ "version": "0.6.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {