generated from CodrJS/ts-jsr-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start documenting the organization model
- Loading branch information
DylanBulmer
committed
Jul 20, 2024
1 parent
c6f99f7
commit 7e745cf
Showing
4 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
// export files from here. | ||
/** | ||
* @module | ||
* | ||
* This module consists of class entities used to collect, transform, and | ||
* process data in Codr. | ||
* | ||
* @example | ||
* ```ts | ||
* import { Organization } from "@codr/models"; | ||
* import { ObjectId } from "bson"; | ||
* | ||
* const org = new Organization ({ | ||
* name: "Demo Organization", | ||
* domains: ["localhost:3000"], | ||
* flags: { | ||
* isActive: true, | ||
* isDeleted: false, | ||
* isDemo: true, | ||
* }, | ||
* slug: "demo", | ||
* createdBy: new ObjectId(), | ||
* }) | ||
* ``` | ||
*/ | ||
|
||
// export * as Types from "./types/mod.ts"; | ||
export * from "./models/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters