Files
template-app/modules/notes/contract/index.ts
T

38 lines
811 B
TypeScript

// The public API of the notes module: what a page, another module and the OpenAPI document may
// import. Nothing here reaches core/, adapters/ or a driver.
export {
ATTACHMENT_ADDED,
ATTACHMENT_CONTENT_TYPES,
ATTACHMENT_REMOVED,
ATTACHMENTS_FLAG,
MAX_ATTACHMENTS,
NOTE_CREATED,
NOTE_DELETED,
NOTE_UPDATED,
NOTES_CREATED_METER,
NOTES_FLAG_DEFAULTS,
} from "./constants.js"
export { attachments, NOTES_ENTITIES, notes } from "./entities.js"
export {
attachmentAdded,
attachmentRemoved,
NOTES_EVENTS,
noteCreated,
noteDeleted,
noteUpdated,
} from "./events.js"
export {
type AttachmentView,
attachmentAdd,
attachmentRemove,
attachmentViewSchema,
type NoteView,
noteCreate,
noteDelete,
noteGet,
noteList,
noteUpdate,
noteViewSchema,
} from "./procedures.js"