Skip to content

Commit

Permalink
feat: add new postgres profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mo4islona committed Nov 25, 2024
1 parent d5f4c0f commit 4af402f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@subsquid/manifest",
"type": "commonjs",
"version": "2.0.0-beta.10",
"version": "2.0.0-beta.11",
"homepage": "https://www.subsquid.io",
"repository": "https://github.com/subsquid/manifest.git",
"license": "GPL-3.0-or-later",
Expand Down
7 changes: 5 additions & 2 deletions schemas/squid_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@
"type": "object",
"properties": {
"storage": {
"type": "string"
"type": "string",
"pattern": "^\\d+[GT]i?$"
},
"autoresize": {
"type": "boolean"
Expand All @@ -644,7 +645,9 @@
"enum": [
"small",
"medium",
"large"
"large",
"xlarge",
"2xlarge"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const manifestSchema = Joi.object<ManifestValue>({
}),
autoresize: Joi.bool(),
autoresize_limit: Joi.string(),
profile: Joi.string().valid('small', 'medium', 'large'),
profile: Joi.string().valid('small', 'medium', 'large', 'xlarge', '2xlarge'),
}),

hasura: Joi.object({
Expand Down

0 comments on commit 4af402f

Please sign in to comment.