refactor(schema): export Identifier namespace and drop core re-export (#52644)

This commit is contained in:
Kit Langton
2026-10-01 20:46:17 -07:00
committed by GitHub
Unverified
parent 1404566141
commit 05018b8862
3 changed files with 3 additions and 2 deletions
-1
View File
@@ -1 +0,0 @@
export * as Identifier from "@opencode/schema/identifier"
+1 -1
View File
@@ -1,7 +1,7 @@
import { describe, expect, test } from "bun:test"
import { Share } from "../../src/core/share"
import { Storage } from "../../src/core/storage"
import { Identifier } from "@opencode/core/util/identifier"
import { Identifier } from "@opencode/schema/identifier"
describe.concurrent("core.share", () => {
test("should create a share", async () => {
+2
View File
@@ -1,3 +1,5 @@
export * as Identifier from "./identifier.js"
const length = 26
const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
let lastTimestamp = 0