expo-backend-types 0.0.29 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -1
- package/types/schema.d.ts +56 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.31",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -15,6 +15,7 @@
|
|
15
15
|
"check-format": "prettier --check \"src/**/*.ts\"",
|
16
16
|
"check-exports": "attw --pack .",
|
17
17
|
"local-release": "changeset version && changeset publish",
|
18
|
+
"commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
|
18
19
|
"start": "nest start",
|
19
20
|
"dev": "nest start --watch",
|
20
21
|
"start:debug": "nest start --debug --watch",
|
@@ -86,6 +87,12 @@
|
|
86
87
|
"eslint --fix",
|
87
88
|
"git add"
|
88
89
|
],
|
90
|
+
"swagger.yaml": [
|
91
|
+
"git add"
|
92
|
+
],
|
93
|
+
"types/schema.d.ts": [
|
94
|
+
"git add"
|
95
|
+
],
|
89
96
|
"*.json": [
|
90
97
|
"prettier --write",
|
91
98
|
"git add"
|
package/types/schema.d.ts
CHANGED
@@ -28,7 +28,7 @@ export interface paths {
|
|
28
28
|
cookie?: never;
|
29
29
|
};
|
30
30
|
get: operations["AppController_test"];
|
31
|
-
put
|
31
|
+
put: operations["AppController_testPut"];
|
32
32
|
post: operations["AppController_testPost"];
|
33
33
|
delete?: never;
|
34
34
|
options?: never;
|
@@ -36,6 +36,22 @@ export interface paths {
|
|
36
36
|
patch?: never;
|
37
37
|
trace?: never;
|
38
38
|
};
|
39
|
+
"/otraRuta/{id1}/{id2}": {
|
40
|
+
parameters: {
|
41
|
+
query?: never;
|
42
|
+
header?: never;
|
43
|
+
path?: never;
|
44
|
+
cookie?: never;
|
45
|
+
};
|
46
|
+
get?: never;
|
47
|
+
put?: never;
|
48
|
+
post: operations["AppController_otraRuta"];
|
49
|
+
delete?: never;
|
50
|
+
options?: never;
|
51
|
+
head?: never;
|
52
|
+
patch?: never;
|
53
|
+
trace?: never;
|
54
|
+
};
|
39
55
|
}
|
40
56
|
export type webhooks = Record<string, never>;
|
41
57
|
export interface components {
|
@@ -84,6 +100,25 @@ export interface operations {
|
|
84
100
|
};
|
85
101
|
};
|
86
102
|
};
|
103
|
+
AppController_testPut: {
|
104
|
+
parameters: {
|
105
|
+
query?: never;
|
106
|
+
header?: never;
|
107
|
+
path: {
|
108
|
+
id: string;
|
109
|
+
};
|
110
|
+
cookie?: never;
|
111
|
+
};
|
112
|
+
requestBody?: never;
|
113
|
+
responses: {
|
114
|
+
200: {
|
115
|
+
headers: {
|
116
|
+
[name: string]: unknown;
|
117
|
+
};
|
118
|
+
content?: never;
|
119
|
+
};
|
120
|
+
};
|
121
|
+
};
|
87
122
|
AppController_testPost: {
|
88
123
|
parameters: {
|
89
124
|
query?: never;
|
@@ -103,4 +138,24 @@ export interface operations {
|
|
103
138
|
};
|
104
139
|
};
|
105
140
|
};
|
141
|
+
AppController_otraRuta: {
|
142
|
+
parameters: {
|
143
|
+
query?: never;
|
144
|
+
header?: never;
|
145
|
+
path: {
|
146
|
+
id1: string;
|
147
|
+
id2: string;
|
148
|
+
};
|
149
|
+
cookie?: never;
|
150
|
+
};
|
151
|
+
requestBody?: never;
|
152
|
+
responses: {
|
153
|
+
201: {
|
154
|
+
headers: {
|
155
|
+
[name: string]: unknown;
|
156
|
+
};
|
157
|
+
content?: never;
|
158
|
+
};
|
159
|
+
};
|
160
|
+
};
|
106
161
|
}
|