@fugood/bricks-project 2.21.0-beta.14.test8 → 2.21.0-beta.14.test9
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/api/instance.ts +1 -1
- package/package.json +1 -1
package/api/instance.ts
CHANGED
|
@@ -6,7 +6,7 @@ const apiUrlMap = {
|
|
|
6
6
|
|
|
7
7
|
const workspaceToken = process.env.BRICKS_WORKSPACE_TOKEN
|
|
8
8
|
|
|
9
|
-
type Stage = 'production' | 'beta' | '
|
|
9
|
+
type Stage = 'production' | 'beta' | 'development'
|
|
10
10
|
|
|
11
11
|
const doGQL = async (stage: Stage, query: string, variables: Record<string, any>) => {
|
|
12
12
|
if (!workspaceToken) throw new Error('env BRICKS_WORKSPACE_TOKEN is not set')
|