@@ -192,7 +192,7 @@ export type Pet = {
192
192
category ?: Category ;
193
193
photoUrls : string [];
194
194
tags ?: Tag [];
195
- status ?: Status ;
195
+ status ?: ' available ' | ' pending ' | ' sold ' ;
196
196
} ;
197
197
export type ApiResponse = {
198
198
code ?: number ;
@@ -204,7 +204,7 @@ export type Order = {
204
204
petId ?: number ;
205
205
quantity ?: number ;
206
206
shipDate ?: string ;
207
- status ?: Status2 ;
207
+ status ?: ' placed ' | ' approved ' | ' delivered ' ;
208
208
complete ?: boolean ;
209
209
} ;
210
210
export type User = {
@@ -217,20 +217,10 @@ export type User = {
217
217
phone ?: string ;
218
218
userStatus ?: number ;
219
219
} ;
220
- export enum Status {
221
- Available = ' available' ,
222
- Pending = ' pending' ,
223
- Sold = ' sold' ,
224
- }
225
- export enum Status2 {
226
- Placed = ' placed' ,
227
- Approved = ' approved' ,
228
- Delivered = ' delivered' ,
229
- }
230
220
"
231
221
` ;
232
222
233
- exports [` CLI options testing > paths are relative to configfile , not to cwd 1` ] = `
223
+ exports [` CLI options testing > paths are relative to config file , not to cwd 1` ] = `
234
224
"import { api } from '../fixtures/emptyApi';
235
225
const injectedRtkApi = api.injectEndpoints({
236
226
endpoints : (build ) => ({
@@ -422,7 +412,7 @@ export type Pet = {
422
412
category ?: Category ;
423
413
photoUrls : string [];
424
414
tags ?: Tag [];
425
- status ?: Status ;
415
+ status ?: ' available ' | ' pending ' | ' sold ' ;
426
416
} ;
427
417
export type ApiResponse = {
428
418
code ?: number ;
@@ -434,7 +424,7 @@ export type Order = {
434
424
petId ?: number ;
435
425
quantity ?: number ;
436
426
shipDate ?: string ;
437
- status ?: Status2 ;
427
+ status ?: ' placed ' | ' approved ' | ' delivered ' ;
438
428
complete ?: boolean ;
439
429
} ;
440
430
export type User = {
@@ -447,15 +437,5 @@ export type User = {
447
437
phone ?: string ;
448
438
userStatus ?: number ;
449
439
} ;
450
- export enum Status {
451
- Available = ' available' ,
452
- Pending = ' pending' ,
453
- Sold = ' sold' ,
454
- }
455
- export enum Status2 {
456
- Placed = ' placed' ,
457
- Approved = ' approved' ,
458
- Delivered = ' delivered' ,
459
- }
460
440
"
461
441
` ;
0 commit comments