@supersoniks/concorde 4.9.91 → 4.9.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +156 -156
- package/concorde-core.es.js +2348 -2331
- package/dist/concorde-core.bundle.js +156 -156
- package/dist/concorde-core.es.js +2348 -2331
- package/dist/js/core/decorators/api.js +64 -51
- package/dist/js/core/decorators/api.js.map +1 -1
- package/dist/types/core/decorators/api.d.ts +10 -5
- package/dist/types/core/decorators/api.d.ts.map +1 -1
- package/docs/assets/{index-BL6WVF7g.css → index-D2Q3JyQ6.css} +1 -1
- package/docs/assets/{index-DVn8AeyA.js → index-DURr6O71.js} +466 -568
- package/docs/crawl/docs/_decorators/get.html +35 -10
- package/docs/crawl/docs/_decorators/patch.html +13 -5
- package/docs/crawl/docs/_decorators/post.html +39 -10
- package/docs/crawl/docs/_decorators/put.html +13 -5
- package/docs/crawl/hubs/decorators.html +43 -40
- package/docs/crawl/hubs/remote-data.html +43 -40
- package/docs/index.html +2 -2
- package/docs/llms-full.txt +98 -23
- package/docs/llms.txt +1 -1
- package/docs/src/docs/_decorators/get.md +39 -5
- package/docs/src/docs/_decorators/patch.md +8 -3
- package/docs/src/docs/_decorators/post.md +39 -6
- package/docs/src/docs/_decorators/put.md +8 -3
- package/docs/src/docs/search/docs-search.json +103 -183
- package/docs/src/tsconfig.json +268 -268
- package/package.json +1 -1
- package/src/core/decorators/api.post.spec.ts +2 -2
- package/src/core/decorators/api.spec.ts +47 -6
- package/src/core/decorators/api.ts +100 -64
- package/src/docs/_decorators/get.md +12 -5
- package/src/docs/_decorators/patch.md +7 -2
- package/src/docs/_decorators/post.md +12 -7
- package/src/docs/_decorators/put.md +7 -2
- package/src/docs/components/docs-demo-sources.ts +8 -8
- package/src/docs/example/decorators-demo-subscribe-publish-get-demos.ts +2 -2
- package/src/docs/search/docs-search.json +2 -2
|
@@ -19,11 +19,15 @@ payload?: ApiResult<User>;
|
|
|
19
19
|
To run the operation again from the component:
|
|
20
20
|
|
|
21
21
|
```typescript
|
|
22
|
-
update() {
|
|
23
|
-
updateUser.send(this);
|
|
22
|
+
async update() {
|
|
23
|
+
await updateUser.send(this);
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
`send(component)` returns a Promise resolved after the PUT completes. See
|
|
28
|
+
[@post](#docs/_decorators/post.md/post) for the method-decorator form and the
|
|
29
|
+
`when: "before"` option.
|
|
30
|
+
|
|
27
31
|
The PUT is also sent automatically when the body mutates, unless
|
|
28
32
|
`autoPostOnBodyMutation: false` is set. See
|
|
29
33
|
[@post](#docs/_decorators/post.md/post) for the option details:
|
|
@@ -32,6 +36,7 @@ The PUT is also sent automatically when the body mutates, unless
|
|
|
32
36
|
- `skipIfBodyMissing`
|
|
33
37
|
- `refetchEveryMs`
|
|
34
38
|
- `skipEmptyPlaceholder`
|
|
39
|
+
- `triggerKey`
|
|
35
40
|
|
|
36
41
|
Pass explicit API configuration as the third argument:
|
|
37
42
|
|
|
@@ -222,7 +222,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
222
222
|
"demo-publish": [
|
|
223
223
|
{
|
|
224
224
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
225
|
-
line:
|
|
225
|
+
line: 32,
|
|
226
226
|
label: "demo-publish",
|
|
227
227
|
},
|
|
228
228
|
{ path: "src/docs/example/decorators-demo-init.ts", label: "demo data" },
|
|
@@ -230,7 +230,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
230
230
|
"demo-subscribe-dynamic": [
|
|
231
231
|
{
|
|
232
232
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
233
|
-
line:
|
|
233
|
+
line: 269,
|
|
234
234
|
label: "demo-subscribe-dynamic",
|
|
235
235
|
},
|
|
236
236
|
{ path: "src/docs/example/decorators-demo-init.ts", label: "demo data" },
|
|
@@ -238,7 +238,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
238
238
|
"demo-sub-template": [
|
|
239
239
|
{
|
|
240
240
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
241
|
-
line:
|
|
241
|
+
line: 238,
|
|
242
242
|
label: "demo-sub-template",
|
|
243
243
|
},
|
|
244
244
|
{ path: "src/docs/example/decorators-demo-init.ts", label: "demo data" },
|
|
@@ -246,7 +246,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
246
246
|
"demo-api-get": [
|
|
247
247
|
{
|
|
248
248
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
249
|
-
line:
|
|
249
|
+
line: 86,
|
|
250
250
|
label: "demo-api-get",
|
|
251
251
|
},
|
|
252
252
|
{ path: "src/docs/example/decorators-demo-geo.ts", label: "geo API" },
|
|
@@ -255,7 +255,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
255
255
|
"demo-api-get-configuration-key": [
|
|
256
256
|
{
|
|
257
257
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
258
|
-
line:
|
|
258
|
+
line: 127,
|
|
259
259
|
label: "demo-api-get-configuration-key",
|
|
260
260
|
},
|
|
261
261
|
{ path: "src/docs/example/decorators-demo-geo.ts", label: "geo API" },
|
|
@@ -263,7 +263,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
263
263
|
"demo-api-get-publish-subscribe": [
|
|
264
264
|
{
|
|
265
265
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
266
|
-
line:
|
|
266
|
+
line: 178,
|
|
267
267
|
label: "demo-api-get-publish-subscribe",
|
|
268
268
|
},
|
|
269
269
|
{ path: "src/docs/example/decorators-demo-geo.ts", label: "geo API" },
|
|
@@ -295,7 +295,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
295
295
|
"demo-handle": [
|
|
296
296
|
{
|
|
297
297
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
298
|
-
line:
|
|
298
|
+
line: 316,
|
|
299
299
|
label: "demo-handle",
|
|
300
300
|
},
|
|
301
301
|
{ path: "src/docs/example/decorators-demo-init.ts", label: "demo data" },
|
|
@@ -303,7 +303,7 @@ export const DOCS_DEMO_SOURCE_REGISTRY: Record<string, DocsSource[]> = {
|
|
|
303
303
|
"demo-handle-dynamic": [
|
|
304
304
|
{
|
|
305
305
|
path: "src/docs/example/decorators-demo-subscribe-publish-get-demos.ts",
|
|
306
|
-
line:
|
|
306
|
+
line: 351,
|
|
307
307
|
label: "demo-handle-dynamic",
|
|
308
308
|
},
|
|
309
309
|
{ path: "src/docs/example/decorators-demo-init.ts", label: "demo data" },
|
|
@@ -4700,7 +4700,7 @@
|
|
|
4700
4700
|
}
|
|
4701
4701
|
},
|
|
4702
4702
|
{
|
|
4703
|
-
"search": "@get loads data and stores the result in an ApiResult<T>
|
|
4703
|
+
"search": "@get loads data and stores the result in an optional ApiResult<T> property.\nThe property is undefined until a result is available.\n",
|
|
4704
4704
|
"files": {
|
|
4705
4705
|
"docs/_decorators/get.md": {
|
|
4706
4706
|
"title": "@get",
|
|
@@ -5880,7 +5880,7 @@
|
|
|
5880
5880
|
}
|
|
5881
5881
|
},
|
|
5882
5882
|
{
|
|
5883
|
-
"search": "@post sends the contents of a publisher and stores the response in an\
|
|
5883
|
+
"search": "@post sends the contents of a publisher and stores the response in an\noptional ApiResult<T> property. The property is undefined until a result\nis available.\n",
|
|
5884
5884
|
"files": {
|
|
5885
5885
|
"docs/_decorators/post.md": {
|
|
5886
5886
|
"title": "@post",
|