bangumi / server-private Goto Github PK
View Code? Open in Web Editor NEWHTTP sever for private api
HTTP sever for private api
// TODO: remove this after https://github.com/import-js/eslint-plugin-import/issues/2467 is fixed
import * as path from 'node:path';
import * as posix from 'node:path/posix';
server-private/lib/orm/entity/auth.ts
Line 1 in 33115d7
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Index('access_token', ['accessToken'], { unique: true })
https://github.com/typeorm/typeorm/issues/9316
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Index('nt_from_uid', ['from_uid'], {})
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Index('rev_subject_id', ['subjectID', 'creatorID'], {})
server-private/lib/orm/entity/app.ts
Line 1 in 33115d7
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Index('app_type', ['appType', 'appCreator'], {})
确实是音乐没有platform可选,然后接口错了。
// TODO: use sequelize
import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';
import { App } from '@app/lib/orm/entity/app';
后面应该考虑迁移到移动端去。
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Index('ep_sort', ['epSort'], {})
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>Trim21/renovate-config:js)
需求:
加载配置文件和环境变量。
环境变量可以覆盖对应的配置项。
如:
db:
mysql:
host: '127.0.0.1'
可以对应环境变量 db.mysql.host
或者 DB_MYSQL_HOST
, 取决于哪个实现起来简单。
expect(res.statusCode).toBe(400);
});
// TODO: convert webp to jpg when uploading images
test.each(['jpg'])('upload subject covers in %s format', async (format) => {
const app = await testApp({
auth: {
groupID: UserGroup.Normal,
server-private/lib/orm/entity/user.ts
Line 1 in 33115d7
// TODO: use sequelize
import * as lo from 'lodash-es';
import { Column, Entity, Index, OneToOne, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm';
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@aws-sdk/client-s3
, @fastify/static
, @sinclair/typebox
, fastify
, liquidjs
)@shopify/prettier-plugin-liquid
, @types/node
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, @typescript-eslint/utils
, @vitest/coverage-v8
, @vitest/ui
, eslint-plugin-n
, vite
, vitest
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
etc/base.dockerfile
node 20.12.2-slim@sha256:72f2f046a5f8468db28730b990b37de63ce93fd1a72a40f531d6aa82afdf0d46
node 20.12.2-slim@sha256:72f2f046a5f8468db28730b990b37de63ce93fd1a72a40f531d6aa82afdf0d46
etc/final.dockerfile
.github/actions/setup-js-env/action.yaml
actions/setup-node v4
actions/cache v4
.github/workflows/ci.yaml
actions/checkout v4
actions/checkout v4
actions/checkout v4
actions/checkout v4
codecov/codecov-action v4
actions/checkout v4
.github/workflows/release-docker.yaml
actions/checkout v4
docker/login-action v3
docker/build-push-action v5
docker/metadata-action v5
docker/build-push-action v5
.github/workflows/release-github.yaml
actions/checkout v4
.github/workflows/release-openapi.yaml
actions/checkout v4
actions/checkout v4
peter-evans/create-pull-request v6
.github/workflows/todo.yaml
actions/checkout v4
alstr/todo-to-issue-action v4
package.json
@aws-sdk/client-s3 ^3.565.0
@bgm38/wiki ^0.2.6
@esbuild-kit/esm-loader ^2.6.5
@fastify/cookie ^9.3.1
@fastify/error ^3.4.1
@fastify/static ^7.0.3
@fastify/swagger ^8.14.0
@fastify/view ^9.1.0
@node-rs/bcrypt ^1.10.4
@sinclair/typebox ~0.32.27
@trim21/php-serialize ^0.1.1
ajv ^8.13.0
ajv-formats ^3.0.1
ajv-keywords ^5.1.0
altair-fastify-plugin ^7.0.1
fastify ^4.26.2
fastify-metrics ^11.0.0
fastify-socket.io ^5.0.0
got ^14.2.1
graphql ^16.8.1
http-proxy-agent ^7.0.2
http-status-codes ^2.3.0
https-proxy-agent ^7.0.4
ioredis ^5.4.1
js-yaml ^4.1.0
liquidjs ^10.12.0
lodash-es ^4.17.21
luxon ^3.4.4
mercurius ^13.4.1
micromatch ^4.0.5
mime-types ^2.1.35
mysql2 ^3.9.7
nexus ^1.3.0
node-cache ^5.1.2
openapi-types ^12.1.3
parse-duration ^1.1.0
pino ^8.21.0
pino-pretty ^11.0.0
prom-client ^15.1.2
reflect-metadata ^0.2.1
socket.io ^4.7.5
socks-proxy-agent ^8.0.3
typeorm ^0.3.20
@shopify/prettier-plugin-liquid ^1.4.4
@types/ioredis-mock ^8.2.5
@types/js-yaml ^4.0.9
@types/lodash-es ^4.17.12
@types/luxon ^3.4.2
@types/mime-types ^2.1.4
@types/node ^20.12.7
@typescript-eslint/eslint-plugin ^7.8.0
@typescript-eslint/parser ^7.8.0
@typescript-eslint/utils ^7.8.0
@vitest/coverage-v8 ^1.5.3
@vitest/ui ^1.5.3
dotenv ^16.4.5
eslint ^8.57.0
eslint-config-prettier ^9.1.0
eslint-import-resolver-typescript ^3.6.1
eslint-plugin-import ^2.29.1
eslint-plugin-n ^17.4.0
eslint-plugin-promise ^6.1.1
eslint-plugin-rulesdir ^0.2.2
eslint-plugin-simple-import-sort ^12.1.0
eslint-plugin-tsdoc ^0.2.17
eslint-plugin-unicorn ^51.0.1
eslint-plugin-unused-imports ^3.2.0
graphql-tag ^2.12.6
husky ^9.0.11
ioredis-mock ^8.9.0
license-checker ^25.0.1
lint-staged ^15.2.2
mercurius-integration-testing ^8.2.0
nodemon ^3.1.0
p-limit ^5.0.0
prettier ^3.2.5
prettier-plugin-jsdoc ^1.3.0
std-env ^3.7.0
typescript ~5.4.5
vite ^5.2.10
vitest ^1.5.3
vitest-github-actions-reporter ^0.11.1
pnpm 8.15.8
// TODO: use sequelize
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Entity('chii_groups', { schema: 'bangumi' })
// TODO: use sequelize
import { DateTime } from 'luxon';
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.