@rool-dev/svelte 0.11.8 → 0.11.9-dev.5ae6b91
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 +13 -40
- package/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -447,53 +447,26 @@ isObjectPath('/space/article/welcome.json'); // true
|
|
|
447
447
|
generateId(); // unique ID suitable for conversation IDs
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
##
|
|
450
|
+
## Exports
|
|
451
451
|
|
|
452
452
|
```typescript
|
|
453
453
|
// Package types
|
|
454
454
|
import type { Rool, ReactiveSpace, ReactiveConversationHandle, ReactiveObject, ReactiveWatch, WatchOptions, ReactiveFileTree, ReactiveFileNode, ReactiveFileRoot, ReactiveFileTreeEvent, ReactiveFileTreeSyncResult } from '@rool-dev/svelte';
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
The SDK's entire public API is also re-exported, so apps never need a direct
|
|
458
|
+
`@rool-dev/sdk` dependency — classes and helpers as well as every SDK type:
|
|
455
459
|
|
|
456
|
-
|
|
457
|
-
import
|
|
458
|
-
|
|
459
|
-
RoolClientConfig,
|
|
460
|
-
RoolSpace,
|
|
461
|
-
RoolSpaceInfo,
|
|
462
|
-
RoolObject,
|
|
463
|
-
GetObjectsResult,
|
|
464
|
-
RoolObjectStat,
|
|
465
|
-
RoolUserRole,
|
|
466
|
-
ConnectionState,
|
|
467
|
-
Conversation,
|
|
468
|
-
ConversationInfo,
|
|
469
|
-
CurrentUser,
|
|
470
|
-
Interaction,
|
|
471
|
-
PromptOptions,
|
|
472
|
-
PromptAttachment,
|
|
473
|
-
UpdateObjectOptions,
|
|
474
|
-
MoveObjectOptions,
|
|
475
|
-
CollectionOptions,
|
|
476
|
-
FieldType,
|
|
477
|
-
FieldDef,
|
|
478
|
-
CollectionDef,
|
|
479
|
-
SpaceSchema,
|
|
480
|
-
SpaceMember,
|
|
481
|
-
InviteRole,
|
|
482
|
-
InviteEmailStatus,
|
|
483
|
-
SpaceInvite,
|
|
484
|
-
SpaceInviteCreated,
|
|
485
|
-
InvitePreview,
|
|
486
|
-
InviteRedeemResult,
|
|
487
|
-
SpaceFileStorageUsage,
|
|
488
|
-
RoolSpaceEvents,
|
|
489
|
-
WebDAVDepth,
|
|
490
|
-
WebDAVSyncLevel,
|
|
491
|
-
WebDAVPropName,
|
|
492
|
-
WebDAVResponse,
|
|
493
|
-
WebDAVProps,
|
|
494
|
-
} from '@rool-dev/svelte';
|
|
460
|
+
```typescript
|
|
461
|
+
import { NativePkceAuthProvider, InviteError, WebDAVError, machinePath } from '@rool-dev/svelte';
|
|
462
|
+
import type { RoolObject, PromptOptions, Interaction, SpaceSchema } from '@rool-dev/svelte';
|
|
495
463
|
```
|
|
496
464
|
|
|
465
|
+
See the [SDK documentation](../sdk/README.md) for the full API. The one
|
|
466
|
+
exception is the Node auth provider: import it from `@rool-dev/sdk/node`,
|
|
467
|
+
which stays a separate entry point so Node-only dependencies never reach
|
|
468
|
+
browser bundles.
|
|
469
|
+
|
|
497
470
|
## License
|
|
498
471
|
|
|
499
472
|
MIT - see [LICENSE](../../LICENSE) for details.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
export { createRool, generateId } from './rool.svelte.js';
|
|
2
|
-
export { isObjectPath, machinePath, machineUri } from '@rool-dev/sdk';
|
|
3
|
-
export { InviteError } from '@rool-dev/sdk';
|
|
4
|
-
export type { InviteErrorCode } from '@rool-dev/sdk';
|
|
5
2
|
export { wrapSpace } from './space.svelte.js';
|
|
6
3
|
export { ReactiveFileTree } from './file-tree.svelte.js';
|
|
7
4
|
export type { Rool } from './rool.svelte.js';
|
|
8
5
|
export type { ReactiveConversationHandle, ReactiveObject, ReactiveWatch, WatchOptions } from './space-session.svelte.js';
|
|
9
6
|
export type { ReactiveSpace } from './space.svelte.js';
|
|
10
7
|
export type { ReactiveFileNode, ReactiveFilePath, ReactiveFileRoot, ReactiveFileTreeEvent, ReactiveFileTreeSyncResult } from './file-tree.svelte.js';
|
|
11
|
-
export
|
|
8
|
+
export * from '@rool-dev/sdk';
|
|
12
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,YAAY,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,YAAY,EAAE,0BAA0B,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzH,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAIrJ,cAAc,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// Main export
|
|
2
2
|
export { createRool, generateId } from './rool.svelte.js';
|
|
3
|
-
// Machine path helpers — re-exported from the SDK for convenience
|
|
4
|
-
export { isObjectPath, machinePath, machineUri } from '@rool-dev/sdk';
|
|
5
|
-
// Invite error — re-exported so apps can match on it without a direct SDK dep
|
|
6
|
-
export { InviteError } from '@rool-dev/sdk';
|
|
7
3
|
// Reactive wrappers
|
|
8
4
|
export { wrapSpace } from './space.svelte.js';
|
|
9
5
|
export { ReactiveFileTree } from './file-tree.svelte.js';
|
|
6
|
+
// The SDK's entire public API (classes, helpers, errors, and types) is
|
|
7
|
+
// re-exported so apps never need a direct @rool-dev/sdk dependency.
|
|
8
|
+
export * from '@rool-dev/sdk';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rool-dev/svelte",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.9-dev.5ae6b91",
|
|
4
4
|
"description": "Svelte 5 runes for Rool Spaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"svelte": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@rool-dev/sdk": "0.11.
|
|
44
|
+
"@rool-dev/sdk": "0.11.9-dev.5ae6b91"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"svelte": "^5.0.0"
|