Skip to content

Commit

Permalink
⚰️ Removed plugins for react-query and apollo in favor of docs and td…
Browse files Browse the repository at this point in the history
…n; upgraded to latest js-tree
  • Loading branch information
aexol committed Aug 16, 2023
1 parent dd6cb85 commit 4a309df
Show file tree
Hide file tree
Showing 17 changed files with 356 additions and 551 deletions.
2 changes: 1 addition & 1 deletion examples/typescript-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-node",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"private": true,
"main": "index.js",
Expand Down
59 changes: 0 additions & 59 deletions examples/typescript-node/src/zeus/apollo.ts

This file was deleted.

70 changes: 35 additions & 35 deletions examples/typescript-node/src/zeus/const.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/* eslint-disable */

export const AllTypesProps: Record<string,any> = {
JSON: `scalar.JSON` as const,
Public:{
powerups:{

}
},
Mutation:{
addCard:{
card:"createCard"
}
},
JSON: `scalar.JSON` as const,
createCard:{
skills:"SpecialSkills"
},
Public:{
powerups:{

}
},
Card:{
attack:{

Expand All @@ -29,27 +29,42 @@ export const AllTypesProps: Record<string,any> = {
}

export const ReturnTypes: Record<string,any> = {
Mutation:{
addCard:"Card"
Nameable:{
"...on CardStack": "CardStack",
"...on EffectCard": "EffectCard",
"...on SpecialCard": "SpecialCard",
"...on Card": "Card",
name:"String"
},
ChangeCard:{
"...on SpecialCard":"SpecialCard",
"...on EffectCard":"EffectCard"
},
Subscription:{
deck:"Card"
},
JSON: `scalar.JSON` as const,
Powerup:{
name:"String"
},
JSON: `scalar.JSON` as const,
CardStack:{
cards:"Card",
name:"String"
},
EffectCard:{
effectSize:"Float",
name:"String"
},
Nameable:{
"...on EffectCard": "EffectCard",
"...on Card": "Card",
"...on SpecialCard": "SpecialCard",
"...on CardStack": "CardStack",
SpecialCard:{
effect:"String",
name:"String"
},
Public:{
powerups:"Powerup"
},
Mutation:{
addCard:"Card"
},
Card:{
Attack:"Int",
Children:"Int",
Expand All @@ -63,23 +78,6 @@ export const ReturnTypes: Record<string,any> = {
name:"String",
skills:"SpecialSkills"
},
S3Object:{
bucket:"String",
key:"String",
region:"String"
},
ChangeCard:{
"...on SpecialCard":"SpecialCard",
"...on EffectCard":"EffectCard"
},
SpecialCard:{
effect:"String",
name:"String"
},
CardStack:{
cards:"Card",
name:"String"
},
Query:{
cardById:"Card",
drawCard:"Card",
Expand All @@ -89,13 +87,15 @@ export const ReturnTypes: Record<string,any> = {
nameables:"Nameable",
public:"Public"
},
Subscription:{
deck:"Card"
S3Object:{
bucket:"String",
key:"String",
region:"String"
}
}

export const Ops = {
mutation: "Mutation" as const,
query: "Query" as const,
query: "Query" as const,
mutation: "Mutation" as const,
subscription: "Subscription" as const
}
Loading

0 comments on commit 4a309df

Please sign in to comment.