@maryam-dev/partykit
Version:
FORKED: PartyKit simplifies developing multiplayer applications. Everything's better with friends.
339 lines (338 loc) • 7.72 kB
JSON
{
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"team": {
"type": "string"
},
"name": {
"type": "string"
},
"main": {
"type": "string"
},
"port": {
"type": "number"
},
"preview": {
"type": "string"
},
"crons": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"serve": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"path": {
"type": "string"
},
"build": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"entry": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"bundle": {
"type": "boolean",
"default": true
},
"splitting": {
"type": "boolean",
"default": true
},
"external": {
"type": "array",
"items": {
"type": "string"
}
},
"outdir": {
"type": "string"
},
"minify": {
"type": "boolean"
},
"alias": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"format": {
"type": "string",
"enum": [
"esm",
"cjs",
"iife"
]
},
"live": {
"type": "boolean"
},
"sourcemap": {
"type": "boolean"
},
"define": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"loader": {
"type": "object",
"additionalProperties": {
"type": "string",
"enum": [
"base64",
"binary",
"copy",
"css",
"dataurl",
"default",
"empty",
"file",
"js",
"json",
"jsx",
"local-css",
"text",
"ts",
"tsx"
]
}
}
},
"additionalProperties": false
}
]
},
"include": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"browserTTL": {
"type": [
"null",
"number"
]
},
"edgeTTL": {
"type": [
"null",
"number"
]
},
"singlePageApp": {
"type": "boolean"
}
},
"additionalProperties": false
}
]
},
"persist": {
"type": [
"boolean",
"string"
]
},
"vars": {
"type": "object",
"additionalProperties": {}
},
"define": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"parties": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"build": {
"type": "object",
"properties": {
"command": {
"type": "string"
},
"cwd": {
"type": "string"
},
"watch": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"alias": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"compatibilityDate": {
"type": "string"
},
"compatibilityFlags": {
"type": "array",
"items": {
"type": "string"
}
},
"minify": {
"type": "boolean"
},
"ai": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"apiGateway": {
"type": "string"
},
"apiToken": {
"type": "string"
},
"apiAccount": {
"type": "string"
}
},
"additionalProperties": false
}
]
},
"domain": {
"type": "string"
},
"vectorize": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"index_name": {
"type": "string"
}
},
"required": [
"index_name"
],
"additionalProperties": false
}
]
}
},
"logpush": {
"type": "boolean"
},
"tailConsumers": {
"type": "array",
"items": {
"type": "string"
}
},
"analytics": {
"type": "string"
},
"bindings": {
"type": "object",
"properties": {
"r2": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"kv": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"placement": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"smart"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"observability": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"head_sampling_rate": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}