We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d794e6 commit bd5cb4aCopy full SHA for bd5cb4a
packages/0/src/composables/useRegistrar/index.ts
@@ -17,12 +17,15 @@ export interface RegistrarTicket {
17
18
export interface RegistrarContext {
19
tickets: Reactive<Map<ID, Reactive<any>>>
20
- /** lookup ticket by index number */
+ /** lookup a ticket by index number */
21
lookup: (index: number) => ID | undefined
22
- /** find ticket by id */
+ /** Find a ticket by id */
23
find: (id: ID) => Reactive<any> | undefined
24
+ /** Register a new ticket */
25
register: (ticket?: Partial<RegistrarTicket>, id?: ID) => Reactive<any>
26
+ /** Unregister a ticket by id */
27
unregister: (id: ID) => void
28
+ /** Reset the index directory and update all items */
29
reindex: () => void
30
}
31
0 commit comments