Skip to content

Commit e0507e4

Browse files
committed
fix: Export GraphtonBaseQuery
1 parent 423c1b9 commit e0507e4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

example/graphtonGeneratedJavascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class GraphtonSettings {
1717
}
1818
}
1919
import axios from "axios";
20-
class GraphtonBaseQuery {
20+
export class GraphtonBaseQuery {
2121
/**
2222
* Transform builder to graphql query string
2323
*/

example/graphtonGeneratedTypescript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import axios from "axios";
5454

5555
type RootType = "query" | "mutation" | "subscription";
5656

57-
abstract class GraphtonBaseQuery<T> {
57+
export abstract class GraphtonBaseQuery<T> {
5858
public abstract readonly queryName: string;
5959
public abstract readonly rootType: RootType;
6060
protected abstract returnType: GraphtonBaseReturnTypeBuilder<any, any> | null;

src/stubs/GraphtonBaseQuery.stub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const settings = {
55
};
66
/*ENDIGNORE*/
77
import axios from 'axios';
8-
/*IGNORE*/ export /*ENDIGNORE*/ class GraphtonBaseQuery {
8+
export class GraphtonBaseQuery {
99
/**
1010
* Transform builder to graphql query string
1111
*/

src/stubs/GraphtonBaseQuery.stub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import axios from 'axios';
1313

1414
/*IGNORE*/export /*ENDIGNORE*/type RootType = 'query'|'mutation'|'subscription'/*IGNORE*/|'/*ROOTTYPE*/'/*ENDIGNORE*/;
1515

16-
/*IGNORE*/export /*ENDIGNORE*/abstract class GraphtonBaseQuery<T> {
16+
export abstract class GraphtonBaseQuery<T> {
1717
public abstract readonly queryName: string;
1818
public abstract readonly rootType: RootType;
1919
protected abstract returnType: GraphtonBaseReturnTypeBuilder<any, any> | null;

0 commit comments

Comments
 (0)