Code Monkey home page Code Monkey logo

graphql-api's People

Contributors

renovate[bot] avatar rinsuki avatar rokoucha avatar sno2wman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

graphql-api's Issues

IDが長過ぎる

いくらなんでも26桁は長すぎると思うので10桁ぐらいで良いと思う(特にVideo, Tagに関しては)

ts-nodeやめたい

遅いが,雑にesbuildとswcで試したがtop-level await周りでムチャクチャになった 

タグの重複登録制約

タグの登録時には次が与えられる.

  • 主要なタグ名 $N^p$
  • 追加の名前 $N_1 ,\dots, N_n \quad (0 \leq n)$
  • 親タグへの参照 $P_1 ,\dots, P_m \quad (0 \leq m)$

タグ名前空間 $\mathcal{N} = \{ \braket{n,\emptyset},\braket{n,p},\dots, \}$

このとき, $\mathcal{N}$ の中で次の組が重複してはならない.

  • $\langle N^p, P_1 \rangle ,\dots, \langle N^p, P_m \rangle$
  • $\langle N_1, P_1 \rangle ,\dots, \langle N_1, P_m \rangle ,\dots, \langle N_n, P_1 \rangle ,\dots, \langle N_n, P_m \rangle$

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update adminer Docker digest to ceca91a
  • Update postgres:15 Docker digest to 1e51188
  • Update redis:7.2 Docker digest to 1d38c52
  • Update dependency @connectrpc/connect to v1.1.4
  • Update dependency @connectrpc/connect-node to v1.1.4
  • Update dependency lefthook to v1.6.10
  • Update dependency @connectrpc/connect to v1.4.0
  • Update dependency @connectrpc/connect-node to v1.4.0
  • Update dependency @graphql-codegen/client-preset to v4.2.5
  • Update dependency @graphql-tools/utils to v10.1.2
  • Update dependency auth0 to v4.3.1
  • Update dependency eslint to v8.57.0
  • Update dependency eslint-plugin-unused-imports to v3.1.0
  • Update dependency eslint-plugin-vitest to v0.5.1
  • Update dependency graphql-scalars to v1.23.0
  • Update dependency graphql-yoga to v5.3.0
  • Update dependency node to v20.12.2 (node, @types/node)
  • Update dependency nodemon to v3.1.0
  • Update dependency pino to v8.20.0
  • Update dependency typescript to v5.4.5
  • Update prisma monorepo to v5.12.1 (minor) (@prisma/client, prisma)
  • Update typescript-eslint to v6.21.0 (minor) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • Update dependency eslint to v9
  • Update dependency eslint-plugin-n to v17
  • Update dependency eslint-plugin-simple-import-sort to v12
  • Update typescript-eslint to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • Lock file maintenance
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.prod.yml
  • postgres 15@sha256:ea40a028dd42740d6cff34135ff6b3119ff7ce0ed60120d992216456b5987fe7
  • neo4j 5.15@sha256:d9e2fb1ba398536e50d22ebc3d5d585baa086c1c0cf8e5b96bdc9e11e87e002a
docker-compose.test.yml
  • postgres 15@sha256:ea40a028dd42740d6cff34135ff6b3119ff7ce0ed60120d992216456b5987fe7
  • neo4j 5.15@sha256:d9e2fb1ba398536e50d22ebc3d5d585baa086c1c0cf8e5b96bdc9e11e87e002a
  • redis 7.2@sha256:66b2c641a6e16eeb188b64816f915a6313f15850d5dbea7c29736f59f9e5146c
docker-compose.yml
  • postgres 15@sha256:ea40a028dd42740d6cff34135ff6b3119ff7ce0ed60120d992216456b5987fe7
  • adminer sha256:b75eae89431e8469613b844e76382a26efc8601c17f446bcd81665bc87ca9a1f
  • neo4j 5.15@sha256:d9e2fb1ba398536e50d22ebc3d5d585baa086c1c0cf8e5b96bdc9e11e87e002a
  • getmeili/meilisearch v1.0@sha256:dd8162da4cebbdec1ab6176754cff941b04427e7f8df532896a920ec3d292d8a
  • redis 7.2@sha256:66b2c641a6e16eeb188b64816f915a6313f15850d5dbea7c29736f59f9e5146c
dockerfile
Dockerfile
  • node 20.11.1-slim@sha256:357deca6eb61149534d32faaf5e4b2e4fa3549c2be610ee1019bf340ea8c51ec
  • node 20.11.1-slim@sha256:357deca6eb61149534d32faaf5e4b2e4fa3549c2be610ee1019bf340ea8c51ec
github-actions
.github/workflows/ci.yml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-node v4@60edb5dd545a775178f52524783378180af0d1f8
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-node v4@60edb5dd545a775178f52524783378180af0d1f8
  • postgres 15@sha256:ea40a028dd42740d6cff34135ff6b3119ff7ce0ed60120d992216456b5987fe7
  • neo4j 5.15@sha256:d9e2fb1ba398536e50d22ebc3d5d585baa086c1c0cf8e5b96bdc9e11e87e002a
  • redis 7.2@sha256:66b2c641a6e16eeb188b64816f915a6313f15850d5dbea7c29736f59f9e5146c
.github/workflows/docker-images.yml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • hadolint/hadolint-action v3.1.0@54c9adbab1582c2ef04b2016b760714a4bfde3cf
  • docker/setup-buildx-action v3@d70bba72b1f3fd22344832f00baa16ece964efeb
  • docker/login-action v3@e92390c5fb421da1463c202d546fed0ec5c39f20
  • docker/build-push-action v5@2cdde995de11925a030ce8070c3d77a52ffcf1c0
nodenv
.node-version
  • node 20.11.1
npm
package.json
  • @bufbuild/protobuf ^1.4.2
  • @connectrpc/connect ^1.1.3
  • @connectrpc/connect-node ^1.1.3
  • @devoxa/prisma-relay-cursor-connection ^3.0.0
  • @envelop/generic-auth ^7.0.0
  • @prisma/client 5.8.1
  • auth0 4.2.0
  • graphql ^16.6.0
  • graphql-scalars ^1.22.4
  • graphql-tag ^2.12.6
  • graphql-yoga ^5.0.0
  • ioredis ^5.3.1
  • jsonwebtoken ^9.0.0
  • jwks-rsa ^3.0.1
  • meilisearch ^0.34.0
  • neo4j-driver ^5.3.0
  • pg ^8.8.0
  • pino ^8.10.0
  • ulid ^2.3.0
  • zod ^3.19.1
  • @babel/core 7.23.9
  • @bufbuild/buf 1.28.1
  • @bufbuild/protoc-gen-es 1.6.0
  • @connectrpc/protoc-gen-connect-es 1.1.3
  • @graphql-codegen/cli 5.0.2
  • @graphql-codegen/client-preset 4.1.0
  • @graphql-codegen/schema-ast 4.0.2
  • @graphql-codegen/typescript 4.0.6
  • @graphql-codegen/typescript-resolvers 4.0.6
  • @graphql-tools/executor-http 1.0.9
  • @graphql-tools/schema 10.0.3
  • @graphql-tools/utils 10.0.13
  • @graphql-typed-document-node/core 3.2.0
  • @rollup/plugin-graphql 2.0.4
  • @types/node 20.11.30
  • @typescript-eslint/eslint-plugin 6.18.1
  • @typescript-eslint/parser 6.18.1
  • eslint 8.56.0
  • eslint-config-prettier 9.1.0
  • eslint-plugin-eslint-comments 3.2.0
  • eslint-plugin-n 16.6.2
  • eslint-plugin-simple-import-sort 10.0.0
  • eslint-plugin-unused-imports 3.0.0
  • eslint-plugin-vitest 0.3.26
  • graphql-schema-linter 3.0.1
  • lefthook 1.6.9
  • nodemon 3.0.3
  • npm-run-all 4.1.5
  • prettier 3.1.1
  • prisma 5.8.1
  • tsx 4.7.2
  • typescript 5.3.3
  • vitest 0.34.6
  • vitest-mock-extended 1.3.1
  • @parcel/watcher 2.3.0

  • Check this box to trigger a request for Renovate to run again on this repository

`User.icon`をnullableにする

Signup時にIconを作成しないのであればnullを入れておいてほしい(空の文字列で持つというのは違う気がするので)

検索機能の改善

LIKE句でどうにかしているが全角半角の表記ゆれとかにもきちんと対応していきたい

`ResolverArgs`の型推論が間違っている

utils/types.tsResolverArgsが全然間違っているらしく,第一引数にTParentが来ることになっているが,実際には来ない(第一引数にやってくるのはTArgs

graphql.jsやめる

ちゃんとしたサーバー実装に移す

  • graphql.jsでparentが無い問題 (#39 )を解決する巧いテクは多分無い気がする
    • あったとして今後似たような問題発生したときに情報が少ないと思う

`Tag.canTag(videoId)`を実装

タグを付ける際に重複する事のないようクライアント側でチェックするが,ビデオ側にしかそういったものを実装していなかったのでタグの候補の数だけクエリを投げることになって良くなさすぎる

PostgreSQL上での編集履歴の持ち方

どうするの………?

メモ

  • リレーションは貼れない (ユーザーには貼ってもいいかもしれない)
    • 何かを削除する時に履歴まで消えると恐らく困る
  • ………最悪全てを JSONB で持つ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.