@povio/openapi-codegen-cli 0.8.1 → 0.8.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.
@@ -16,10 +16,10 @@ export declare enum StandaloneAssetEnum {
16
16
  }
17
17
  export declare const STANDALONE_ASSETS: Record<StandaloneAssetEnum, GenerateFile>;
18
18
  export declare const STANDALONE_APP_REST_CLIENT_FILE: GenerateFile;
19
- export declare const UTILS_DIR = "utils";
19
+ export declare const QUERY_MODULE_ENUM = "QueryModule";
20
20
  export declare const INVALIDATE_QUERIES: {
21
+ queryModuleEnum: string;
21
22
  optionsType: string;
22
23
  functionName: string;
23
24
  };
24
25
  export declare const INVALIDATE_QUERY_OPTIONS_FILE: GenerateFile;
25
- export declare const QUERY_MODULES_FILE: GenerateFile;
@@ -0,0 +1,2 @@
1
+ import { GenerateTypeParams } from "../types/generate";
2
+ export declare function generateInvalidateQueries({ resolver, data }: Omit<GenerateTypeParams, "tag">): string;
@@ -5,8 +5,4 @@ export declare function getOutputFileName({ output, fileName }: {
5
5
  output: string;
6
6
  fileName: string;
7
7
  }): string;
8
- export declare function getUtilsOutputFileName({ output, fileName }: {
9
- output: string;
10
- fileName: string;
11
- }): string;
12
8
  export declare function writeGenerateFileData(filesData: GenerateFileData[]): void;
@@ -1,5 +1,3 @@
1
1
  import { Endpoint } from "../../types/endpoint";
2
2
  export declare const getQueryName: (endpoint: Endpoint, mutation?: boolean) => string;
3
3
  export declare const getInfiniteQueryName: (endpoint: Endpoint) => string;
4
- export declare const getTagModuleName: (tag: string) => string;
5
- export declare const getTagKeys: (tag: string) => string;