mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
refactor(schema): export Identifier namespace and drop core re-export (#52644)
This commit is contained in:
committed by
GitHub
Unverified
parent
1404566141
commit
05018b8862
@@ -1 +0,0 @@
|
||||
export * as Identifier from "@opencode/schema/identifier"
|
||||
@@ -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 () => {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export * as Identifier from "./identifier.js"
|
||||
|
||||
const length = 26
|
||||
const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
let lastTimestamp = 0
|
||||
|
||||
Reference in New Issue
Block a user