Skip to content

Commit db6983d

Browse files
committed
feat(id): add ID and Prefix types for CtrlPlane entities
1 parent 59cf539 commit db6983d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

id.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package ctrlplane
2+
3+
import "github.com/xraph/ctrlplane/id"
4+
5+
// ID is the primary identifier type for all CtrlPlane entities.
6+
type ID = id.ID
7+
8+
// Prefix identifies the entity type encoded in a TypeID.
9+
type Prefix = id.Prefix

0 commit comments

Comments
 (0)