@instantdb/solidjs 0.0.1

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.
Files changed (48) hide show
  1. package/.tshy/build.json +8 -0
  2. package/.tshy/commonjs.json +16 -0
  3. package/.tshy/esm.json +15 -0
  4. package/.turbo/turbo-build.log +69 -0
  5. package/dist/commonjs/InstantSolidDatabase.d.ts +156 -0
  6. package/dist/commonjs/InstantSolidDatabase.d.ts.map +1 -0
  7. package/dist/commonjs/InstantSolidDatabase.js +265 -0
  8. package/dist/commonjs/InstantSolidDatabase.js.map +1 -0
  9. package/dist/commonjs/InstantSolidRoom.d.ts +97 -0
  10. package/dist/commonjs/InstantSolidRoom.d.ts.map +1 -0
  11. package/dist/commonjs/InstantSolidRoom.js +200 -0
  12. package/dist/commonjs/InstantSolidRoom.js.map +1 -0
  13. package/dist/commonjs/index.d.ts +6 -0
  14. package/dist/commonjs/index.d.ts.map +1 -0
  15. package/dist/commonjs/index.js +24 -0
  16. package/dist/commonjs/index.js.map +1 -0
  17. package/dist/commonjs/package.json +3 -0
  18. package/dist/commonjs/version.d.ts +3 -0
  19. package/dist/commonjs/version.d.ts.map +1 -0
  20. package/dist/commonjs/version.js +5 -0
  21. package/dist/commonjs/version.js.map +1 -0
  22. package/dist/esm/InstantSolidDatabase.d.ts +156 -0
  23. package/dist/esm/InstantSolidDatabase.d.ts.map +1 -0
  24. package/dist/esm/InstantSolidDatabase.js +257 -0
  25. package/dist/esm/InstantSolidDatabase.js.map +1 -0
  26. package/dist/esm/InstantSolidRoom.d.ts +97 -0
  27. package/dist/esm/InstantSolidRoom.d.ts.map +1 -0
  28. package/dist/esm/InstantSolidRoom.js +191 -0
  29. package/dist/esm/InstantSolidRoom.js.map +1 -0
  30. package/dist/esm/index.d.ts +6 -0
  31. package/dist/esm/index.d.ts.map +1 -0
  32. package/dist/esm/index.js +18 -0
  33. package/dist/esm/index.js.map +1 -0
  34. package/dist/esm/package.json +3 -0
  35. package/dist/esm/version.d.ts +3 -0
  36. package/dist/esm/version.d.ts.map +1 -0
  37. package/dist/esm/version.js +3 -0
  38. package/dist/esm/version.js.map +1 -0
  39. package/dist/standalone/index.js +7010 -0
  40. package/dist/standalone/index.umd.cjs +7 -0
  41. package/package.json +63 -0
  42. package/src/InstantSolidDatabase.ts +363 -0
  43. package/src/InstantSolidRoom.ts +319 -0
  44. package/src/index.ts +191 -0
  45. package/src/version.ts +2 -0
  46. package/tsconfig.dev.json +14 -0
  47. package/tsconfig.json +45 -0
  48. package/vite.config.ts +20 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,MAAM,EACN,CAAC;AAED,QAAQ;AACR,eAAe;AAEf,mBAAmB;AACnB,0BAA0B,EA2E1B,cAAc,EACd,yBAAyB,GAE1B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,EAAE,EACF,EAAE,EACF,MAAM,EACN,IAAI,EACJ,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,CAAC;AAED,QAAQ;AACR,eAAe;AAEf,mBAAmB;AACnB,0BAA0B;AAmE1B,eAAe;AACf,cAAc;AAYd,gBAAgB;AAChB,yBAAyB,GAC1B,CAAC","sourcesContent":["import {\n id,\n tx,\n lookup,\n i,\n\n // error\n InstantAPIError,\n\n // sync table enums\n SyncTableCallbackEventType,\n\n // types\n type QueryResponse,\n type InstantQuery,\n type InstantQueryResult,\n type InstantSchema,\n type InstantObject,\n type InstantEntity,\n type InstantSchemaDatabase,\n type InstantUnknownSchemaDef,\n type IInstantDatabase,\n type User,\n type AuthState,\n type Query,\n type Config,\n type InstaQLParams,\n type ConnectionStatus,\n type ValidQuery,\n\n // presence types\n type PresencePeer,\n\n // schema types\n type AttrsDefs,\n type CardinalityKind,\n type DataAttrDef,\n type EntitiesDef,\n type EntitiesWithLinks,\n type EntityDef,\n type InstantGraph,\n type InstantConfig,\n type LinkAttrDef,\n type LinkDef,\n type LinksDef,\n type ResolveAttrs,\n type ValueTypes,\n type InstaQLEntity,\n type InstaQLFields,\n type InstaQLResult,\n type InstaQLEntitySubquery,\n type RoomsOf,\n type RoomsDef,\n type PresenceOf,\n type TopicsOf,\n type TopicOf,\n type RoomHandle,\n type TransactionChunk,\n type InstantUnknownSchema,\n type InstantSchemaDef,\n type BackwardsCompatibleSchema,\n type InstantRules,\n type UpdateParams,\n type LinkParams,\n type CreateParams,\n type ExchangeCodeForTokenParams,\n type SendMagicCodeParams,\n type SendMagicCodeResponse,\n type SignInWithIdTokenParams,\n type VerifyMagicCodeParams,\n type VerifyResponse,\n\n // storage types\n type FileOpts,\n type UploadFileResponse,\n type DeleteFileResponse,\n\n // sync table types\n type SyncTableCallback,\n type SyncTableCallbackEvent,\n type SyncTableInitialSyncBatch,\n type SyncTableInitialSyncComplete,\n type SyncTableSyncTransaction,\n type SyncTableLoadFromStorage,\n type SyncTableSetupError,\n StoreInterface,\n createInstantRouteHandler,\n type StoreInterfaceStoreName,\n} from '@instantdb/core';\n\nimport { InstantSolidDatabase } from './InstantSolidDatabase.js';\nimport { init, init_experimental } from './InstantSolidDatabase.js';\nimport { InstantSolidRoom } from './InstantSolidRoom.js';\n\nexport {\n id,\n tx,\n lookup,\n init,\n init_experimental,\n InstantSolidDatabase,\n InstantSolidRoom,\n i,\n\n // error\n InstantAPIError,\n\n // sync table enums\n SyncTableCallbackEventType,\n\n // types\n type Config,\n type InstantConfig,\n type InstantUnknownSchemaDef,\n type Query,\n type QueryResponse,\n type InstantObject,\n type User,\n type AuthState,\n type ConnectionStatus,\n type InstantQuery,\n type InstantQueryResult,\n type InstantSchema,\n type InstantEntity,\n type InstantSchemaDatabase,\n type IInstantDatabase,\n type InstaQLParams,\n type ValidQuery,\n type InstaQLFields,\n\n // presence types\n type PresencePeer,\n\n // schema types\n type AttrsDefs,\n type CardinalityKind,\n type DataAttrDef,\n type EntitiesDef,\n type EntitiesWithLinks,\n type EntityDef,\n type InstantGraph,\n type LinkAttrDef,\n type LinkDef,\n type LinksDef,\n type ResolveAttrs,\n type ValueTypes,\n type InstaQLEntity,\n type InstaQLResult,\n type InstaQLEntitySubquery,\n type RoomsOf,\n type RoomsDef,\n type TransactionChunk,\n type PresenceOf,\n type TopicsOf,\n type TopicOf,\n type RoomHandle,\n type InstantUnknownSchema,\n type InstantSchemaDef,\n type BackwardsCompatibleSchema,\n type InstantRules,\n type UpdateParams,\n type LinkParams,\n type CreateParams,\n type ExchangeCodeForTokenParams,\n type SendMagicCodeParams,\n type SendMagicCodeResponse,\n type SignInWithIdTokenParams,\n type VerifyMagicCodeParams,\n type VerifyResponse,\n\n // storage types\n type FileOpts,\n type UploadFileResponse,\n type DeleteFileResponse,\n\n // custom store\n StoreInterface,\n type StoreInterfaceStoreName,\n\n // sync table types\n type SyncTableCallback,\n type SyncTableCallbackEvent,\n type SyncTableInitialSyncBatch,\n type SyncTableInitialSyncComplete,\n type SyncTableSyncTransaction,\n type SyncTableLoadFromStorage,\n type SyncTableSetupError,\n\n // Server helper\n createInstantRouteHandler,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,3 @@
1
+ import { version } from '@instantdb/version';
2
+ export default version;
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { version } from '@instantdb/version';
2
+ export default version;
3
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,eAAe,OAAO,CAAC","sourcesContent":["import { version } from '@instantdb/version';\nexport default version;\n"]}