lists
9 procedures defined in packages/api/src/routers/lists.ts.
lists.getAll
Section titled “lists.getAll”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| query | agent (AGENT role required) | — | packages/api/src/routers/lists.ts:25 |
No input.
lists.getBySlug
Section titled “lists.getBySlug”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| query | agent (AGENT role required) | — | packages/api/src/routers/lists.ts:31 |
Input
z.object({ slug: z.string() })lists.create
Section titled “lists.create”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-create — 10 / 60s | packages/api/src/routers/lists.ts:39 |
Input
z.object({ name: z.string().min(1).max(100), description: z.string().optional(), isPublic: z.boolean().optional(), })lists.update
Section titled “lists.update”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-update — 10 / 60s | packages/api/src/routers/lists.ts:54 |
Input
z.object({ listId: z.string(), name: z.string().min(1).max(100), description: z.string().optional(), })lists.delete
Section titled “lists.delete”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-delete — 10 / 60s | packages/api/src/routers/lists.ts:69 |
Input
z.object({ listId: z.string() })lists.toggleVisibility
Section titled “lists.toggleVisibility”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-toggle — 10 / 60s | packages/api/src/routers/lists.ts:78 |
Input
z.object({ listId: z.string() })lists.addProperty
Section titled “lists.addProperty”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-property — 10 / 60s | packages/api/src/routers/lists.ts:87 |
Input
z.object({ slug: z.string(), propertyId: z.string() })lists.removeProperty
Section titled “lists.removeProperty”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-property — 10 / 60s | packages/api/src/routers/lists.ts:96 |
Input
z.object({ slug: z.string(), propertyId: z.string() })lists.reorder
Section titled “lists.reorder”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | agent (AGENT role required) | list-reorder — 30 / 60s | packages/api/src/routers/lists.ts:105 |
Input
z.object({ slug: z.string(), propertyIds: z.array(z.string()).min(1) })