feat: 📦 update packages exports

This commit is contained in:
Julien Oculi 2024-07-16 15:20:51 +02:00
parent e652336485
commit 524ce67b7c
2 changed files with 12 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@cohabit/resources-manager",
"version": "0.2.0",
"version": "0.2.1",
"exports": {
"./models": "./src/models/mod.ts",
"./db": "./src/db/mod.ts",

View file

@ -1,7 +1,13 @@
export { Credential } from './src/credential.ts'
export { Group } from './src/group.ts'
export { Machine } from './src/machine.ts'
export type { Resource } from './src/resource.ts'
export { Service } from './src/service.ts'
export {
Credential,
type CredentialCategory,
type CredentialStore,
type Passkey,
} from './src/credential.ts'
export { Group, type GroupPermissions } from './src/group.ts'
export { Machine, type MachineStatus } from './src/machine.ts'
export type { Resource, ResourceJson, ResourceRefJson } from './src/resource.ts'
export { Service, type ServiceCategory } from './src/service.ts'
export { User } from './src/user.ts'
export { Avatar } from './utils/avatar.ts'
export { Ref, type RefResolver, type RefString } from './utils/ref.ts'