mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-11 20:00:23 +01:00
[PR #25] [MERGED] Insert Topic with owned Note/Link resources
#11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/linsa-io/linsa/pull/25
Author: @scotttrinh
Created: 7/3/2023
Status: ✅ Merged
Merged: 7/3/2023
Merged by: @nikivdev
Base:
main← Head:fixup/add-topics📝 Commits (7)
143d1e3Properly insert notes withe.for4d5f39dUse| nullande.params15b4725update schemaf4a8cedAwait adding user, and reset on sync8e5b410Add tsx dev dependencyaff83e3Reference in-repo example docs and provide public7c4e5ecUseunionto do both bulk inserts📊 Changes
8 files changed (+166 additions, -51 deletions)
View changed files
📝
grafbase/db/dbschema/default.esdl(+4 -4)📝
grafbase/db/dbschema/migrations/00001.edgeql(+23 -6)📝
grafbase/db/sync/sync.ts(+2 -2)📝
grafbase/db/sync/wiki.ts(+6 -7)📝
grafbase/db/topic.ts(+72 -28)📝
package.json(+1 -0)📝
pnpm-lock.yaml(+49 -4)➕
src/docs/physics/0001.md(+9 -0)📄 Description
I haven't actually run this query, but did fix the type errors and simplified turning optional
.notesin to a valid JSON (in other wordsnullsinceundefinedis not valid JSON syntax).If this works at runtime, I'll follow up with a version that uses
e.paramsand cleans up some of this inline casting.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.