Skip to content

Instantly share code, notes, and snippets.

@JJediny
Created December 29, 2020 04:41
Show Gist options
  • Save JJediny/d1a79f376472ef173106b38e8e2872dc to your computer and use it in GitHub Desktop.
Save JJediny/d1a79f376472ef173106b38e8e2872dc to your computer and use it in GitHub Desktop.
serve:
fork:
port:
exampleQuery:
cors:
origin:
allowedHeaders:
-
exposedHeaders:
-
credentials: false
maxAge: 0
preflightContinue: false
optionsSuccessStatus: 0
handlers:
-
staticFiles:
require:
-
sources:
- name:
handler:
fhir:
endpoint:
graphql:
endpoint:
schemaHeaders:
json:
operationHeaders:
useGETForQueries: false
method: GET
useSSEForSubscription: false
customFetch:
webSocketImpl:
introspection:
cacheIntrospection:
multipart: false
grpc:
endpoint:
protoFilePath:
serviceName:
packageName:
requestTimeout: 0
credentialsSsl:
rootCA:
certChain:
privateKey:
useHTTPS: false
metaData:
jsonSchema:
baseUrl:
operationHeaders:
schemaHeaders:
operations:
- field:
path:
pubsubTopic:
description:
type: Query
method: GET
requestSchema:
requestSample:
requestTypeName:
responseSample:
responseSchema:
responseTypeName:
argTypeMap:
headers:
disableTimestampScalar: false
baseSchema:
mongoose:
connectionString:
models:
- name:
path:
options:
name:
description:
fields:
only:
-
remove:
-
required:
-
inputType:
name:
description:
fields:
only:
-
remove:
-
required:
-
resolvers:
findById:
findByIds:
findOne:
findMany:
updateById:
updateOne:
updateMany:
removeById:
removeOne:
removeMany:
createOne:
createMany:
count:
connection:
pagination:
resolvers:
findById:
findByIds:
findOne:
findMany:
updateById:
updateOne:
updateMany:
removeById:
removeOne:
removeMany:
createOne:
createMany:
count:
connection:
pagination:
discriminators:
- name:
path:
options:
name:
description:
fields:
only:
-
remove:
-
required:
-
inputType:
name:
description:
fields:
only:
-
remove:
-
required:
-
resolvers:
findById:
findByIds:
findOne:
findMany:
updateById:
updateOne:
updateMany:
removeById:
removeOne:
removeMany:
createOne:
createMany:
count:
connection:
pagination:
resolvers:
findById:
findByIds:
findOne:
findMany:
updateById:
updateOne:
updateMany:
removeById:
removeOne:
removeMany:
createOne:
createMany:
count:
connection:
pagination:
mysql:
host:
port: 0
user:
password:
database:
pool:
neo4j:
url:
username:
password:
alwaysIncludeRelationships: false
database:
typeDefs:
cacheIntrospection:
odata:
baseUrl:
metadata:
operationHeaders:
schemaHeaders:
batch: multipart
expandNavProps: false
openapi:
source:
sourceFormat: json
operationHeaders:
schemaHeaders:
baseUrl:
qs:
customFetch:
includeHttpDetails: false
addLimitArgument: false
postgraphile:
connectionString:
schemaName:
-
pool:
appendPlugins:
-
skipPlugins:
-
options:
cacheIntrospection:
soap:
wsdl:
basicAuth:
username:
password:
securityCert:
publicKey:
privateKey:
password:
publicKeyPath:
privateKeyPath:
passwordPath:
thrift:
hostName:
port: 0
path:
https: false
protocol: binary
serviceName:
operationHeaders:
schemaHeaders:
idl:
tuql:
db:
infile:
transforms:
- cache:
encapsulate:
name:
applyTo:
query: false
mutation: false
subscription: false
federation:
types:
- name:
config:
keyFields:
-
extend: false
fields:
- name:
config:
external: false
provides:
required:
resolveReference:
filterSchema:
-
mock:
if: false
preserveResolvers: false
mocks:
- apply:
if: false
faker:
custom:
namingConvention:
typeNames: camelCase
fieldNames: camelCase
enumValues: camelCase
prefix:
value:
ignore:
-
includeRootOperations: false
rename:
- from:
type:
field:
to:
type:
field:
useRegExpForTypes: false
useRegExpForFields: false
resolversComposition:
- resolver:
composer:
snapshot:
if:
apply:
-
outputDir:
transforms:
- cache:
- field:
cacheKey:
invalidate:
effectingOperations:
- operation:
matchKey:
ttl: 0
encapsulate:
name:
applyTo:
query: false
mutation: false
subscription: false
federation:
types:
- name:
config:
keyFields:
extend: false
fields:
resolveReference:
filterSchema:
-
mock:
if: false
preserveResolvers: false
mocks:
- apply:
if: false
faker:
custom:
namingConvention:
typeNames: camelCase
fieldNames: camelCase
enumValues: camelCase
prefix:
value:
ignore:
-
includeRootOperations: false
rename:
- from:
type:
field:
to:
type:
field:
useRegExpForTypes: false
useRegExpForFields: false
resolversComposition:
- resolver:
composer:
snapshot:
if:
apply:
-
outputDir:
additionalTypeDefs:
additionalResolvers:
-
cache:
file:
path:
inmemoryLRU:
max: 0
localforage:
driver:
- WEBSQL
- LOCALSTORAGE
- INDEXEDDB
name:
version: 0
size: 0
storeName:
description:
redis:
host:
port: 0
password:
merger:
pubsub:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment