@cedarjs/cli 3.0.0-canary.13360 → 3.0.0-canary.13363
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CedarRealtimeOptions } from '@cedarjs/realtime'
|
|
2
2
|
|
|
3
3
|
import subscriptions from 'src/subscriptions/**/*.{js,ts}'
|
|
4
4
|
|
|
@@ -14,21 +14,23 @@ import subscriptions from 'src/subscriptions/**/*.{js,ts}'
|
|
|
14
14
|
*
|
|
15
15
|
* Realtime supports Live Queries and Subscriptions over GraphQL SSE.
|
|
16
16
|
*
|
|
17
|
-
* Live Queries are GraphQL queries that are automatically re-run when the data
|
|
17
|
+
* Live Queries are GraphQL queries that are automatically re-run when the data
|
|
18
|
+
* they depend on changes.
|
|
18
19
|
*
|
|
19
|
-
* Subscriptions are GraphQL queries that are run when a client subscribes to a
|
|
20
|
+
* Subscriptions are GraphQL queries that are run when a client subscribes to a
|
|
21
|
+
* channel.
|
|
20
22
|
*
|
|
21
23
|
* CedarJS Realtime
|
|
22
24
|
* - uses a publish/subscribe model to broadcast data to clients.
|
|
23
25
|
* - uses a store to persist Live Query and Subscription data.
|
|
24
|
-
* - and enable defer and stream directives to improve latency
|
|
25
|
-
*
|
|
26
|
+
* - and enable defer and stream directives to improve latency for clients by
|
|
27
|
+
* sending data the most important data as soon as it's ready.
|
|
26
28
|
*
|
|
27
29
|
* CedarJS Realtime supports in-memory and Redis stores:
|
|
28
30
|
* - In-memory stores are useful for development and testing.
|
|
29
31
|
* - Redis stores are useful for production.
|
|
30
32
|
*/
|
|
31
|
-
export const realtime:
|
|
33
|
+
export const realtime: CedarRealtimeOptions = {
|
|
32
34
|
subscriptions: {
|
|
33
35
|
subscriptions,
|
|
34
36
|
store: 'in-memory',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.13363+81e14f8ec",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/preset-typescript": "7.28.5",
|
|
35
35
|
"@babel/runtime-corejs3": "7.29.0",
|
|
36
|
-
"@cedarjs/api-server": "3.0.0-canary.
|
|
37
|
-
"@cedarjs/cli-helpers": "3.0.0-canary.
|
|
38
|
-
"@cedarjs/fastify-web": "3.0.0-canary.
|
|
39
|
-
"@cedarjs/internal": "3.0.0-canary.
|
|
40
|
-
"@cedarjs/prerender": "3.0.0-canary.
|
|
41
|
-
"@cedarjs/project-config": "3.0.0-canary.
|
|
42
|
-
"@cedarjs/structure": "3.0.0-canary.
|
|
43
|
-
"@cedarjs/telemetry": "3.0.0-canary.
|
|
44
|
-
"@cedarjs/web-server": "3.0.0-canary.
|
|
36
|
+
"@cedarjs/api-server": "3.0.0-canary.13363",
|
|
37
|
+
"@cedarjs/cli-helpers": "3.0.0-canary.13363",
|
|
38
|
+
"@cedarjs/fastify-web": "3.0.0-canary.13363",
|
|
39
|
+
"@cedarjs/internal": "3.0.0-canary.13363",
|
|
40
|
+
"@cedarjs/prerender": "3.0.0-canary.13363",
|
|
41
|
+
"@cedarjs/project-config": "3.0.0-canary.13363",
|
|
42
|
+
"@cedarjs/structure": "3.0.0-canary.13363",
|
|
43
|
+
"@cedarjs/telemetry": "3.0.0-canary.13363",
|
|
44
|
+
"@cedarjs/web-server": "3.0.0-canary.13363",
|
|
45
45
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
46
46
|
"@opentelemetry/api": "1.9.0",
|
|
47
47
|
"@opentelemetry/core": "1.30.1",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "81e14f8ec10137f3bbd062575a0289596785121b"
|
|
108
108
|
}
|