{"id":15687824,"url":"https://github.com/orisano/sqlc-gen-ts-d1","last_synced_at":"2025-07-13T00:36:20.982Z","repository":{"id":161077314,"uuid":"635829227","full_name":"orisano/sqlc-gen-ts-d1","owner":"orisano","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-03T08:14:16.000Z","size":108,"stargazers_count":40,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T07:08:29.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orisano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T14:39:36.000Z","updated_at":"2025-01-27T05:07:31.000Z","dependencies_parsed_at":"2023-07-25T09:56:06.732Z","dependency_job_id":"f4a3c342-041c-4a5f-8db8-4d076e79e23c","html_url":"https://github.com/orisano/sqlc-gen-ts-d1","commit_stats":null,"previous_names":["orisano/sqlc-gen-ts-d1"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fsqlc-gen-ts-d1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fsqlc-gen-ts-d1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fsqlc-gen-ts-d1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fsqlc-gen-ts-d1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orisano","download_url":"https://codeload.github.com/orisano/sqlc-gen-ts-d1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837281,"owners_count":21169374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T17:51:15.936Z","updated_at":"2025-04-14T07:08:36.649Z","avatar_url":"https://github.com/orisano.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlc-gen-ts-d1\n\nhttps://github.com/voluntas/sqlc-gen-ts-d1-spec\n\nを元に作られたプロトタイプです。\n\n## 使用方法\n\nsqlc v1.19.0 以上で動作します。\n\nsqlc.json の plugins 以下に ts-d1 を追加してください。\n\nv0.0.0-a リリースは main branch に合わせて再生成されているので sha256 を再取得しないと期待通りの動作をしないかもしれません\n```bash\ncat \u003c\u003cEOS\n{\n    \"name\": \"ts-d1\",\n    \"wasm\": {\n        \"url\": \"https://github.com/orisano/sqlc-gen-ts-d1/releases/download/v0.0.0-a/sqlc-gen-ts-d1.wasm\",\n        \"sha256\": \"$(curl -sSL https://github.com/orisano/sqlc-gen-ts-d1/releases/download/v0.0.0-a/sqlc-gen-ts-d1.wasm.sha256)\"\n    }\n}\nEOS\n```\n\n### オプション\nplugin のオプションにはカンマ区切りの `key=value` 形式文字列を渡すことができます。\n\n* `workers-types-v3=1`: `@cloudflare/workers-types` の v3 のために import 文を出力しないようになります (デフォルトは0)\n* `workers-types=2022-11-30`: `@cloudflare/workers-types` の v4 の import する細かいバージョンを指定できます (デフォルトは2022-11-30)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Fsqlc-gen-ts-d1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forisano%2Fsqlc-gen-ts-d1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Fsqlc-gen-ts-d1/lists"}