@xnetjs/react 0.0.2 → 0.1.0
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/README.md +206 -2
- package/dist/chunk-6VOICQZ3.js +760 -0
- package/dist/chunk-7OQXRHEQ.js +4649 -0
- package/dist/chunk-EJ5RW5GI.js +93 -0
- package/dist/chunk-IHTMVTTE.js +1108 -0
- package/dist/chunk-JCOFKBOB.js +11 -0
- package/dist/chunk-KSHTDZ2V.js +893 -0
- package/dist/chunk-QHNYQVUM.js +989 -0
- package/dist/context-CFu9i136.d.ts +392 -0
- package/dist/core.d.ts +372 -0
- package/dist/core.js +29 -0
- package/dist/database.d.ts +383 -0
- package/dist/database.js +19 -0
- package/dist/experimental-B2FrBnkV.d.ts +1584 -0
- package/dist/experimental.d.ts +15 -0
- package/dist/experimental.js +248 -0
- package/dist/index.d.ts +601 -2700
- package/dist/index.js +4782 -4427
- package/dist/{instrumentation-Cn94kn8-.d.ts → instrumentation-CpIuG2y5.d.ts} +32 -1
- package/dist/internal.d.ts +32 -22
- package/dist/internal.js +16 -4
- package/dist/telemetry-context-B7r6H1KW.d.ts +35 -0
- package/dist/useNodeStore-DTCSBF51.d.ts +28 -0
- package/dist/useQuery-D7ajycrc.d.ts +302 -0
- package/package.json +28 -10
- package/dist/chunk-CWHCGYDW.js +0 -2238
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { A as AddCommentOptions, a0 as AddReactionOptions, bm as AuthErrorScreen, aP as AuthTraceSummary, bl as AuthenticatingScreen, r as CommentNode, C as CommentThread, F as CommentVisibility, ad as CreateMessageRequestOptions, b7 as DemoBanner, b8 as DemoBannerProps, bb as DemoDataExpiredScreen, be as DemoLimits, bd as DemoModeState, b9 as DemoQuotaIndicator, ba as DemoQuotaIndicatorProps, bf as DemoUsage, b2 as DiscoveredPeer, aU as FileRef, ae as FirstContactAdmission, af as FirstContactDecision, ag as FirstContactDecisionInput, G as FirstContactMode, ah as FirstContactVisibility, aK as GrantConsentSummary, aL as GrantInput, bp as HubConnectScreen, aX as HubSearchOptions, aY as HubSearchResult, aZ as HubSearchState, b3 as HubStatusIndicator, bo as ImportIdentityScreen, I as InteractionPermission, ai as MessageRequestNode, aj as MessageRequestProperties, ak as MessageRequestStatus, M as ModeratedCommentNode, H as ModeratedCommentThread, J as ModerationFilterOptions, K as ModerationLabelSummary, bA as OnboardingContextValue, bD as OnboardingEvent, bj as OnboardingFlow, bB as OnboardingFlowProps, bE as OnboardingMachineContext, bh as OnboardingProvider, bz as OnboardingProviderProps, bF as OnboardingReducerState, bC as OnboardingState, P as PageTaskInput, e as PageTaskReferenceInput, bI as PageTasksPanel, bJ as PageTasksPanelProps, bW as PluginRegistryContext, L as PublicInteractionMode, N as PublicInteractionPolicySnapshot, O as PublicInteractionSurface, Q as PublicModerationMode, bv as QUICK_START_TEMPLATES, bG as QuickStartTemplate, a1 as ReactionCounterSnapshot, a2 as ReactionNode, a3 as ReactionType, bq as ReadyScreen, a$ as RemoteSchemaDefinition, b0 as RemoteSchemaState, R as ReplyContext, bQ as SecurityContextActions, bP as SecurityContextState, bR as SecurityContextValue, bM as SecurityProvider, bS as SecurityProviderProps, b4 as Skeleton, b6 as SkeletonProps, br as SmartWelcome, bs as SyncProgressOverlay, bH as SyncProgressOverlayProps, bK as TaskCollectionEmbed, bL as TaskCollectionEmbedProps, a as TaskTreeItem, bn as UnsupportedBrowserScreen, aw as UseAuditOptions, av as UseAuditResult, aQ as UseAuthTraceResult, aS as UseBackupReturn, aA as UseBlameResult, aH as UseCanEditResult, aF as UseCanResult, p as UseCommentsOptions, q as UseCommentsResult, ay as UseDiffResult, aV as UseFileUploadReturn, b as UseFindOptions, c as UseFindResult, aM as UseGrantsResult, aq as UseHistoryResult, al as UseMessageRequestsOptions, am as UseMessageRequestsResult, S as UseModeratedThreadOptions, f as UsePageTaskSyncOptions, g as UsePageTaskSyncResult, a4 as UsePolicyFilteredReactionCountersOptions, a5 as UsePolicyFilteredReactionCountersResult, bU as UseSecurityOptions, bV as UseSecurityResult, m as UseTasksOptions, n as UseTasksResult, at as UseUndoOptions, as as UseUndoResult, aC as UseVerificationResult, V as UseVisibleCommentsOptions, W as UseVisibleCommentsResult, bk as WelcomeScreen, by as copyToClipboard, a7 as createConversationKey, bu as createInitialState, a8 as createMessageRequestProperties, v as createModerationLabelIndex, Y as createReactionCounterSnapshot, Z as dedupeReactions, aI as describeGrantConsent, w as evaluateCommentModeration, a9 as evaluateFirstContactDecision, x as evaluateInteractionPermission, aa as findLatestMessageRequest, bw as getPlatformAuthName, ab as hasAcceptedContact, b5 as injectSkeletonStyles, _ as isReactionVisible, y as moderateThread, bt as onboardingReducer, z as selectActiveInteractionPolicy, B as selectPublicInteractionMode, aN as summarizeAuthTrace, ac as summarizeMessageRequest, D as summarizeModerationLabel, E as summarizePublicInteractionPolicy, $ as summarizeReactionNode, bx as truncateDid, au as useAudit, aO as useAuthTrace, aR as useBackup, az as useBlame, aE as useCan, aG as useCanEdit, c7 as useCommand, c0 as useCommands, an as useCommentCount, ao as useCommentCounts, o as useComments, b_ as useContributions, bc as useDemoMode, ax as useDiff, c4 as useEditorExtensions, c5 as useEditorExtensionsSafe, aT as useFileUpload, u as useFind, aJ as useGrants, ap as useHistory, aW as useHubSearch, aD as useHubStatus, a6 as useMessageRequests, t as useModeratedThread, bi as useOnboarding, d as usePageTaskSync, b1 as usePeerDiscovery, bX as usePluginRegistry, bY as usePluginRegistryOptional, bZ as usePlugins, X as usePolicyFilteredReactionCounters, a_ as useRemoteSchema, bT as useSecurity, bN as useSecurityContext, bO as useSecurityContextOptional, c2 as useSidebarItems, c1 as useSlashCommands, bg as useSyncManager, l as useTasks, ar as useUndo, aB as useVerification, c6 as useView, b$ as useViews, s as useVisibleComments } from './experimental-B2FrBnkV.js';
|
|
2
|
+
export { i as FlattenNodeOptions, f as flattenNode, e as flattenNodes, h as flattenNodesWithSchemaCheck, g as flattenUnknownSchemaNode } from './useQuery-D7ajycrc.js';
|
|
3
|
+
export { BlobStoreForSync, ConnectionManager, ConnectionManagerConfig, ConnectionStatus, InitialSyncManager, InitialSyncMessage, METABRIDGE_ORIGIN, METABRIDGE_SEED_ORIGIN, MetaBridge, NodePool, NodePoolConfig, NodeStoreSyncProvider, NodeSyncResponse, OfflineQueue, OfflineQueueConfig, PoolEntryState, ProgressListener, QueueEntry, Registry, RegistryConfig, RegistryStorage, SerializedNodeChange, SyncLifecyclePhase, SyncLifecycleState, SyncManager, SyncManagerConfig, SyncStatus as SyncManagerStatus, SyncPhase, SyncProgress, TrackedNode, WebSocketSyncProvider, WebSocketSyncProviderOptions, createConnectionManager, createInitialSyncManager, createMetaBridge, createNodePool, createOfflineQueue, createRegistry, createSyncManager } from '@xnetjs/runtime';
|
|
4
|
+
export { I as InstrumentationContext, a as InstrumentationContextValue, Q as QueryTrackerLike, Y as YDocRegistryLike, u as useInstrumentation } from './instrumentation-CpIuG2y5.js';
|
|
5
|
+
export { a as TelemetryContext, T as TelemetryReporter, u as useTelemetryReporter } from './telemetry-context-B7r6H1KW.js';
|
|
6
|
+
import '@xnetjs/data';
|
|
7
|
+
import '@xnetjs/history';
|
|
8
|
+
import '@xnetjs/core';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
10
|
+
import '@xnetjs/identity';
|
|
11
|
+
import 'react';
|
|
12
|
+
import '@xnetjs/crypto';
|
|
13
|
+
import '@xnetjs/plugins';
|
|
14
|
+
import '@xnetjs/data-bridge';
|
|
15
|
+
import 'yjs';
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AuthErrorScreen,
|
|
3
|
+
AuthenticatingScreen,
|
|
4
|
+
DemoBanner,
|
|
5
|
+
DemoDataExpiredScreen,
|
|
6
|
+
DemoQuotaIndicator,
|
|
7
|
+
HubConnectScreen,
|
|
8
|
+
HubStatusIndicator,
|
|
9
|
+
ImportIdentityScreen,
|
|
10
|
+
OnboardingFlow,
|
|
11
|
+
OnboardingProvider,
|
|
12
|
+
PageTasksPanel,
|
|
13
|
+
QUICK_START_TEMPLATES,
|
|
14
|
+
ReadyScreen,
|
|
15
|
+
Skeleton,
|
|
16
|
+
SmartWelcome,
|
|
17
|
+
SyncProgressOverlay,
|
|
18
|
+
TaskCollectionEmbed,
|
|
19
|
+
UnsupportedBrowserScreen,
|
|
20
|
+
WelcomeScreen,
|
|
21
|
+
copyToClipboard,
|
|
22
|
+
createConversationKey,
|
|
23
|
+
createInitialState,
|
|
24
|
+
createMessageRequestProperties,
|
|
25
|
+
createModerationLabelIndex,
|
|
26
|
+
createReactionCounterSnapshot,
|
|
27
|
+
dedupeReactions,
|
|
28
|
+
describeGrantConsent,
|
|
29
|
+
evaluateCommentModeration,
|
|
30
|
+
evaluateFirstContactDecision,
|
|
31
|
+
evaluateInteractionPermission,
|
|
32
|
+
findLatestMessageRequest,
|
|
33
|
+
getPlatformAuthName,
|
|
34
|
+
hasAcceptedContact,
|
|
35
|
+
injectSkeletonStyles,
|
|
36
|
+
isReactionVisible,
|
|
37
|
+
moderateThread,
|
|
38
|
+
onboardingReducer,
|
|
39
|
+
selectActiveInteractionPolicy,
|
|
40
|
+
selectPublicInteractionMode,
|
|
41
|
+
summarizeAuthTrace,
|
|
42
|
+
summarizeMessageRequest,
|
|
43
|
+
summarizeModerationLabel,
|
|
44
|
+
summarizePublicInteractionPolicy,
|
|
45
|
+
summarizeReactionNode,
|
|
46
|
+
truncateDid,
|
|
47
|
+
useAudit,
|
|
48
|
+
useAuthTrace,
|
|
49
|
+
useBackup,
|
|
50
|
+
useBlame,
|
|
51
|
+
useCan,
|
|
52
|
+
useCanEdit,
|
|
53
|
+
useCommentCount,
|
|
54
|
+
useCommentCounts,
|
|
55
|
+
useComments,
|
|
56
|
+
useDemoMode,
|
|
57
|
+
useDiff,
|
|
58
|
+
useFileUpload,
|
|
59
|
+
useFind,
|
|
60
|
+
useGrants,
|
|
61
|
+
useHistory,
|
|
62
|
+
useHubSearch,
|
|
63
|
+
useHubStatus,
|
|
64
|
+
useMessageRequests,
|
|
65
|
+
useModeratedThread,
|
|
66
|
+
useOnboarding,
|
|
67
|
+
usePageTaskSync,
|
|
68
|
+
usePeerDiscovery,
|
|
69
|
+
usePolicyFilteredReactionCounters,
|
|
70
|
+
useRemoteSchema,
|
|
71
|
+
useSecurity,
|
|
72
|
+
useTasks,
|
|
73
|
+
useUndo,
|
|
74
|
+
useVerification,
|
|
75
|
+
useVisibleComments
|
|
76
|
+
} from "./chunk-7OQXRHEQ.js";
|
|
77
|
+
import {
|
|
78
|
+
flattenNode,
|
|
79
|
+
flattenNodes,
|
|
80
|
+
flattenNodesWithSchemaCheck,
|
|
81
|
+
flattenUnknownSchemaNode,
|
|
82
|
+
useSyncManager
|
|
83
|
+
} from "./chunk-6VOICQZ3.js";
|
|
84
|
+
import {
|
|
85
|
+
InstrumentationContext,
|
|
86
|
+
useInstrumentation
|
|
87
|
+
} from "./chunk-JCOFKBOB.js";
|
|
88
|
+
import {
|
|
89
|
+
PluginRegistryContext,
|
|
90
|
+
SecurityProvider,
|
|
91
|
+
TelemetryContext,
|
|
92
|
+
useCommand,
|
|
93
|
+
useCommands,
|
|
94
|
+
useContributions,
|
|
95
|
+
useEditorExtensions,
|
|
96
|
+
useEditorExtensionsSafe,
|
|
97
|
+
usePluginRegistry,
|
|
98
|
+
usePluginRegistryOptional,
|
|
99
|
+
usePlugins,
|
|
100
|
+
useSecurityContext,
|
|
101
|
+
useSecurityContextOptional,
|
|
102
|
+
useSidebarItems,
|
|
103
|
+
useSlashCommands,
|
|
104
|
+
useTelemetryReporter,
|
|
105
|
+
useView,
|
|
106
|
+
useViews
|
|
107
|
+
} from "./chunk-IHTMVTTE.js";
|
|
108
|
+
|
|
109
|
+
// src/experimental.ts
|
|
110
|
+
import { WebSocketSyncProvider } from "@xnetjs/runtime";
|
|
111
|
+
import {
|
|
112
|
+
createSyncManager
|
|
113
|
+
} from "@xnetjs/runtime";
|
|
114
|
+
import {
|
|
115
|
+
createNodePool
|
|
116
|
+
} from "@xnetjs/runtime";
|
|
117
|
+
import {
|
|
118
|
+
createConnectionManager
|
|
119
|
+
} from "@xnetjs/runtime";
|
|
120
|
+
import {
|
|
121
|
+
NodeStoreSyncProvider
|
|
122
|
+
} from "@xnetjs/runtime";
|
|
123
|
+
import {
|
|
124
|
+
createRegistry
|
|
125
|
+
} from "@xnetjs/runtime";
|
|
126
|
+
import {
|
|
127
|
+
createMetaBridge,
|
|
128
|
+
METABRIDGE_ORIGIN,
|
|
129
|
+
METABRIDGE_SEED_ORIGIN
|
|
130
|
+
} from "@xnetjs/runtime";
|
|
131
|
+
import {
|
|
132
|
+
createOfflineQueue
|
|
133
|
+
} from "@xnetjs/runtime";
|
|
134
|
+
import {
|
|
135
|
+
createInitialSyncManager
|
|
136
|
+
} from "@xnetjs/runtime";
|
|
137
|
+
export {
|
|
138
|
+
AuthErrorScreen,
|
|
139
|
+
AuthenticatingScreen,
|
|
140
|
+
DemoBanner,
|
|
141
|
+
DemoDataExpiredScreen,
|
|
142
|
+
DemoQuotaIndicator,
|
|
143
|
+
HubConnectScreen,
|
|
144
|
+
HubStatusIndicator,
|
|
145
|
+
ImportIdentityScreen,
|
|
146
|
+
InstrumentationContext,
|
|
147
|
+
METABRIDGE_ORIGIN,
|
|
148
|
+
METABRIDGE_SEED_ORIGIN,
|
|
149
|
+
NodeStoreSyncProvider,
|
|
150
|
+
OnboardingFlow,
|
|
151
|
+
OnboardingProvider,
|
|
152
|
+
PageTasksPanel,
|
|
153
|
+
PluginRegistryContext,
|
|
154
|
+
QUICK_START_TEMPLATES,
|
|
155
|
+
ReadyScreen,
|
|
156
|
+
SecurityProvider,
|
|
157
|
+
Skeleton,
|
|
158
|
+
SmartWelcome,
|
|
159
|
+
SyncProgressOverlay,
|
|
160
|
+
TaskCollectionEmbed,
|
|
161
|
+
TelemetryContext,
|
|
162
|
+
UnsupportedBrowserScreen,
|
|
163
|
+
WebSocketSyncProvider,
|
|
164
|
+
WelcomeScreen,
|
|
165
|
+
copyToClipboard,
|
|
166
|
+
createConnectionManager,
|
|
167
|
+
createConversationKey,
|
|
168
|
+
createInitialState,
|
|
169
|
+
createInitialSyncManager,
|
|
170
|
+
createMessageRequestProperties,
|
|
171
|
+
createMetaBridge,
|
|
172
|
+
createModerationLabelIndex,
|
|
173
|
+
createNodePool,
|
|
174
|
+
createOfflineQueue,
|
|
175
|
+
createReactionCounterSnapshot,
|
|
176
|
+
createRegistry,
|
|
177
|
+
createSyncManager,
|
|
178
|
+
dedupeReactions,
|
|
179
|
+
describeGrantConsent,
|
|
180
|
+
evaluateCommentModeration,
|
|
181
|
+
evaluateFirstContactDecision,
|
|
182
|
+
evaluateInteractionPermission,
|
|
183
|
+
findLatestMessageRequest,
|
|
184
|
+
flattenNode,
|
|
185
|
+
flattenNodes,
|
|
186
|
+
flattenNodesWithSchemaCheck,
|
|
187
|
+
flattenUnknownSchemaNode,
|
|
188
|
+
getPlatformAuthName,
|
|
189
|
+
hasAcceptedContact,
|
|
190
|
+
injectSkeletonStyles,
|
|
191
|
+
isReactionVisible,
|
|
192
|
+
moderateThread,
|
|
193
|
+
onboardingReducer,
|
|
194
|
+
selectActiveInteractionPolicy,
|
|
195
|
+
selectPublicInteractionMode,
|
|
196
|
+
summarizeAuthTrace,
|
|
197
|
+
summarizeMessageRequest,
|
|
198
|
+
summarizeModerationLabel,
|
|
199
|
+
summarizePublicInteractionPolicy,
|
|
200
|
+
summarizeReactionNode,
|
|
201
|
+
truncateDid,
|
|
202
|
+
useAudit,
|
|
203
|
+
useAuthTrace,
|
|
204
|
+
useBackup,
|
|
205
|
+
useBlame,
|
|
206
|
+
useCan,
|
|
207
|
+
useCanEdit,
|
|
208
|
+
useCommand,
|
|
209
|
+
useCommands,
|
|
210
|
+
useCommentCount,
|
|
211
|
+
useCommentCounts,
|
|
212
|
+
useComments,
|
|
213
|
+
useContributions,
|
|
214
|
+
useDemoMode,
|
|
215
|
+
useDiff,
|
|
216
|
+
useEditorExtensions,
|
|
217
|
+
useEditorExtensionsSafe,
|
|
218
|
+
useFileUpload,
|
|
219
|
+
useFind,
|
|
220
|
+
useGrants,
|
|
221
|
+
useHistory,
|
|
222
|
+
useHubSearch,
|
|
223
|
+
useHubStatus,
|
|
224
|
+
useInstrumentation,
|
|
225
|
+
useMessageRequests,
|
|
226
|
+
useModeratedThread,
|
|
227
|
+
useOnboarding,
|
|
228
|
+
usePageTaskSync,
|
|
229
|
+
usePeerDiscovery,
|
|
230
|
+
usePluginRegistry,
|
|
231
|
+
usePluginRegistryOptional,
|
|
232
|
+
usePlugins,
|
|
233
|
+
usePolicyFilteredReactionCounters,
|
|
234
|
+
useRemoteSchema,
|
|
235
|
+
useSecurity,
|
|
236
|
+
useSecurityContext,
|
|
237
|
+
useSecurityContextOptional,
|
|
238
|
+
useSidebarItems,
|
|
239
|
+
useSlashCommands,
|
|
240
|
+
useSyncManager,
|
|
241
|
+
useTasks,
|
|
242
|
+
useTelemetryReporter,
|
|
243
|
+
useUndo,
|
|
244
|
+
useVerification,
|
|
245
|
+
useView,
|
|
246
|
+
useViews,
|
|
247
|
+
useVisibleComments
|
|
248
|
+
};
|