Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Call ClickUp api
uses: smplrspace/clickup-chat-action@v1
uses: smplrspace/clickup-chat-action@v1.0.2
with:
workspace-id: 3887534
channel-id: 3pmde-14775 # dev
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: martialonline/workflow-status@v3
id: check
- name: Call ClickUp api
uses: smplrspace/clickup-chat-action@v1
uses: smplrspace/clickup-chat-action@v1.0.2
with:
workspace-id: 3887534
channel-id: 3pmde-14775 # dev
Expand Down
8 changes: 8 additions & 0 deletions docs/api-reference/space/space.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ To check if the viewer has finished initializing and is ready for API methods to
space.isViewerStarted() => boolean
```

### Zero-latency space definition query

To get the space definition, we typically advise to use the [QueryClient](/api-reference/queryclient/spaces#getspace), but you can also get the currently loaded definition with zero latency using the method below:

```ts
space.getDefinition() => object
```

## Picking mode

In order to know where a user clicks or taps in the floor plan, you can enable picking mode. For example, this is useful if you have an admin interface to configure floor plans and position sensors on it, or if you want to let users point to the location of an issue they are reporting. Enabling picking mode is done as follows.
Expand Down