react-query-lightbase-codegen 0.0.2 → 0.0.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/src/types.ts DELETED
@@ -1,12 +0,0 @@
1
- // Shared types across exported components and utils
2
- //
3
- /**
4
- * A function that resolves returned data from
5
- * a fetch call.
6
- */
7
- export type ResolveFunction<T> = ((data: any) => T) | ((data: any) => Promise<T>);
8
-
9
- export interface GetDataError<TError> {
10
- message: string;
11
- data: TError | string;
12
- }
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "include": ["src", "types"],
3
- "compilerOptions": {
4
- "allowJs": true,
5
- "allowSyntheticDefaultImports": true,
6
- "outDir": "./lib",
7
- "rootDir": "./src",
8
- "esModuleInterop": true,
9
- "isolatedModules": false,
10
- "jsx": "react-native",
11
- "lib": ["es6"],
12
- "module": "esnext",
13
- "moduleResolution": "node",
14
- "noUnusedLocals": true,
15
- "noUnusedParameters": true,
16
- "pretty": true,
17
- "resolveJsonModule": true,
18
- "skipLibCheck": true,
19
- "strict": true,
20
- "target": "esnext"
21
- }
22
- }
@@ -1,11 +0,0 @@
1
- declare module 'swagger2openapi' {
2
- import { OpenAPIObject } from 'openapi3-ts';
3
- interface ConverObjCallbackData {
4
- openapi: OpenAPIObject;
5
- }
6
- function convertObj(
7
- schema: unknown,
8
- options: {},
9
- callback: (err: Error, data: ConverObjCallbackData) => void
10
- ): void;
11
- }