Skip to content

Commit 1a8c16c

Browse files
authored
Merge pull request #93 from smplrspace/next
v2.32.1
2 parents bb8d1e3 + 96635ff commit 1a8c16c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Call ClickUp api
13-
uses: smplrspace/clickup-chat-action@v1
13+
uses: smplrspace/clickup-chat-action@v1.0.2
1414
with:
1515
workspace-id: 3887534
1616
channel-id: 3pmde-14775 # dev
@@ -47,7 +47,7 @@ jobs:
4747
- uses: martialonline/workflow-status@v3
4848
id: check
4949
- name: Call ClickUp api
50-
uses: smplrspace/clickup-chat-action@v1
50+
uses: smplrspace/clickup-chat-action@v1.0.2
5151
with:
5252
workspace-id: 3887534
5353
channel-id: 3pmde-14775 # dev

docs/api-reference/space/space.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ To check if the viewer has finished initializing and is ready for API methods to
8686
space.isViewerStarted() => boolean
8787
```
8888

89+
### Zero-latency space definition query
90+
91+
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:
92+
93+
```ts
94+
space.getDefinition() => object
95+
```
96+
8997
## Picking mode
9098

9199
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.

0 commit comments

Comments
 (0)