Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Dec 7, 2024
1 parent 0c6e0d1 commit c1995ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"build": "rm -rf lib && esbuild `find src \\( -name '*.ts' -o -name '*.tsx' \\)` --platform='node' --sourcemap --ignore-annotations --format='cjs' --target='es2022' --outdir='lib' && esbuild src/index.ts --platform='node' --sourcemap --ignore-annotations --format='cjs' --target='es2022' --outdir='lib' --banner:js='require(\"module-alias\").addAlias(\"@\", __dirname);'",
"kit": "drizzle-kit",
Expand Down
8 changes: 3 additions & 5 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,14 @@ server.schema('Extension', {
additionalProperties: {
type: 'object',
properties: {
url: { type: 'string' },
url: { type: 'string', format: 'uri' },
price: { type: 'number' },
currency: { type: 'string', enum: Array.from(database.schema.currency) }
}, required: ['url', 'price', 'currency']
}
},

banner: { type: 'string' },

banner: { type: 'string', format: 'uri' },
created: { type: 'string', format: 'date-time' }
}, required: ['id', 'type', 'author', 'name', 'identifier', 'summary', 'platforms', 'banner', 'created']
})
Expand Down Expand Up @@ -173,14 +172,13 @@ server.path('/', (path) => path
<html>
<head>
<meta charset="UTF-8" />
<script defer data-domain="versions.mcjars.app" src="https://cat.rjns.dev/js/script.js"></script>
<link rel="icon" href="https://blueprint.zip/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="darkreader-lock" />
<title>Blueprint API Docs</title>
<meta property="og:type" content="website">
<meta property="og:title" content="Blueprint API">
<meta property="og:url" content="https://api.blueprint.zip">
<meta property="og:url" content="https://api.blueprintframe.work">
</head>
<body>
<script id="api-reference" data-url="/openapi.json"></script>
Expand Down

0 comments on commit c1995ec

Please sign in to comment.