1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PM-20247] Initialize user-core library (#15029)

* Initialize user-core library

* Run `npm install`

* Fix patched generator bug
This commit is contained in:
Justin Baur
2025-07-01 15:59:11 -04:00
committed by GitHub
parent 5eca3a5916
commit 172623e050
13 changed files with 111 additions and 1 deletions

View File

@@ -2,7 +2,9 @@ import { Opaque } from "type-fest";
export type Guid = Opaque<string, "Guid">;
export type UserId = Opaque<string, "UserId">;
// Convenience re-export of UserId from it's original location, any library that
// wants to be lower level than common should instead import it from user-core.
export { UserId } from "@bitwarden/user-core";
export type OrganizationId = Opaque<string, "OrganizationId">;
export type CollectionId = Opaque<string, "CollectionId">;
export type ProviderId = Opaque<string, "ProviderId">;