File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
packages/token-distribution Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2
2
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3
3
4
4
// Minimal GraphClient for offline builds - contains only what ops/info.ts uses
5
- const { gql } = require ( '@graphql-mesh/utils' ) ;
5
+ // Simple gql template literal function (replacement for @graphql-mesh/utils)
6
+ const gql = ( strings , ...values ) => {
7
+ let result = strings [ 0 ] ;
8
+ for ( let i = 0 ; i < values . length ; i ++ ) {
9
+ result += values [ i ] + strings [ i + 1 ] ;
10
+ }
11
+ return result ;
12
+ } ;
6
13
7
14
// Mock execute function
8
15
const execute = ( ) => {
Original file line number Diff line number Diff line change @@ -135,7 +135,14 @@ function createMinimalJs(content, neededQueries) {
135
135
Object.defineProperty(exports, "__esModule", { value: true });
136
136
137
137
// Minimal GraphClient for offline builds - contains only what ops/info.ts uses
138
- const { gql } = require('@graphql-mesh/utils');
138
+ // Simple gql template literal function (replacement for @graphql-mesh/utils)
139
+ const gql = (strings, ...values) => {
140
+ let result = strings[0];
141
+ for (let i = 0; i < values.length; i++) {
142
+ result += values[i] + strings[i + 1];
143
+ }
144
+ return result;
145
+ };
139
146
140
147
// Mock execute function
141
148
const execute = () => {
You can’t perform that action at this time.
0 commit comments