@povio/openapi-codegen-cli 0.2.3 → 0.2.4

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.
@@ -20,6 +20,8 @@ export type ModelMetadata = BaseMetadata & {
20
20
  properties: TsFieldDescriptor[];
21
21
  };
22
22
  export type QueryMetadata = BaseMetadata & {
23
+ isQuery: boolean;
24
+ isMutation: boolean;
23
25
  params: TsFieldDescriptor[];
24
26
  };
25
27
  export interface GenerateMetadata {
@@ -0,0 +1,3 @@
1
+ import { Endpoint } from "../types/endpoint";
2
+ export declare const isQuery: (endpoint: Endpoint) => boolean;
3
+ export declare const isMutation: (endpoint: Endpoint) => boolean;