Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/api/md/-internal-/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@

### Type Aliases

- [AdditionalColumns](type-aliases/AdditionalColumns.md)
- [AddJSONSchemaDefaults](type-aliases/AddJSONSchemaDefaults.md)
- [AddJSONSchemaRequired](type-aliases/AddJSONSchemaRequired.md)
- [AddProjectQuery](type-aliases/AddProjectQuery.md)
- [Attachment](type-aliases/Attachment.md)
- [BitField](type-aliases/BitField.md)
- [BlobFilter](type-aliases/BlobFilter.md)
- [BlobIdBase](type-aliases/BlobIdBase.md)
- [BlobStoreEntriesStream](type-aliases/BlobStoreEntriesStream.md)
- [BlobType](type-aliases/BlobType.md)
Expand All @@ -105,18 +107,27 @@
- [DeviceInfoParam](type-aliases/DeviceInfoParam.md)
- [ElementOf](type-aliases/ElementOf.md)
- [Encoding](type-aliases/Encoding.md)
- [Enum](type-aliases/Enum.md)
- [GenericBlobFilter](type-aliases/GenericBlobFilter.md)
- [GenericBlobFilter](type-aliases/GenericBlobFilter.md)
- [GetMapeoDocTables](type-aliases/GetMapeoDocTables.md)
- [HasJSONSchemaDefault](type-aliases/HasJSONSchemaDefault.md)
- [HypercorePeer](type-aliases/HypercorePeer.md)
- [HypercoreRemoteBitfield](type-aliases/HypercoreRemoteBitfield.md)
- [HypercoreRemoteBitfieldPage](type-aliases/HypercoreRemoteBitfieldPage.md)
- [IconVariant](type-aliases/IconVariant.md)
- [IndexedDocIds](type-aliases/IndexedDocIds.md)
- [InviteInternal](type-aliases/InviteInternal.md)
- [IsJSONSchemaRequired](type-aliases/IsJSONSchemaRequired.md)
- [JSONSchema7](type-aliases/JSONSchema7.md)
- [JSONSchema7Object](type-aliases/JSONSchema7Object.md)
- [JsonSchema7Properties](type-aliases/JsonSchema7Properties.md)
- [JsonSchemaToDrizzleColumns](type-aliases/JsonSchemaToDrizzleColumns.md)
- [JsonSchemaToDrizzleSqliteTable](type-aliases/JsonSchemaToDrizzleSqliteTable.md)
- [Keypair](type-aliases/Keypair.md)
- [KeyPair](type-aliases/KeyPair-1.md)
- [ListedProject](type-aliases/ListedProject.md)
- [ListedProjectSettings](type-aliases/ListedProjectSettings.md)
- [MapeoDocTableName](type-aliases/MapeoDocTableName.md)
- [MapeoDocTables](type-aliases/MapeoDocTables.md)
- [Namespace](type-aliases/Namespace.md)
Expand All @@ -136,13 +147,15 @@
- [Readable](type-aliases/Readable.md)
- [ReplicationStream](type-aliases/ReplicationStream.md)
- [SchemaName](type-aliases/SchemaName.md)
- [SchemaToDrizzleColumnsBase](type-aliases/SchemaToDrizzleColumnsBase.md)
- [SecretKey](type-aliases/SecretKey.md)
- [State](type-aliases/State.md)
- [SupportedBlobVariants](type-aliases/SupportedBlobVariants.md)
- [SyncCapability](type-aliases/SyncCapability.md)
- [SyncEnabledState](type-aliases/SyncEnabledState.md)
- [SyncType](type-aliases/SyncType.md)
- [ValidSizes](type-aliases/ValidSizes.md)
- [Writable](type-aliases/Writable.md)

### Variables

Expand Down
4 changes: 2 additions & 2 deletions docs/api/md/-internal-/classes/CoreManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

Immediately start downloading cores - should only be set to false for tests

• **options.db**: `BetterSQLite3Database`\<`Record`\<`string`, `never`\>\>
• **options.db**: `BetterSQLite3Database`\<`Record`\<`string`, `never`\>, `any`\>

Drizzle better-sqlite3 database instance

Expand Down Expand Up @@ -249,7 +249,7 @@ Resolves when all cores have finished loading

#### Parameters

• **blobFilter**: `null` \| [`BlobFilter`](../type-aliases/BlobFilter.md)
• **blobFilter**: `null` \| `_RequireAtLeastOne`\<`object`, `"photo"` \| `"video"` \| `"audio"`\>

• **peer**: [`HypercorePeer`](../type-aliases/HypercorePeer.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/api/md/-internal-/classes/CoreOwnership.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

• **opts.coreKeypairs**: `Record`\<`"auth"` \| `"config"` \| `"data"` \| `"blobIndex"` \| `"blob"`, [`KeyPair`](../type-aliases/KeyPair-1.md)\>

• **opts.dataType**: [`DataType`](DataType.md)\<[`DataStore`](DataStore.md)\<`"auth"`, `"role"` \| `"coreOwnership"`\>, `SQLiteTableWithColumns`\<`object`\>, `"coreOwnership"`, `object`, `object`\>
• **opts.dataType**: [`DataType`](DataType.md)\<[`DataStore`](DataStore.md)\<`"auth"`, `"role"` \| `"coreOwnership"`\>, [`JsonSchemaToDrizzleSqliteTable`](../type-aliases/JsonSchemaToDrizzleSqliteTable.md)\<`object`, `object`, `"coreOwnership"`, [`AdditionalColumns`](../type-aliases/AdditionalColumns.md), `"docId"`\>, `"coreOwnership"`, `object`, `object`\>

• **opts.identityKeypair**: [`KeyPair`](../type-aliases/KeyPair-1.md)

Expand Down
6 changes: 3 additions & 3 deletions docs/api/md/-internal-/classes/DataType.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

• **opts.dataStore**: `TDataStore`

• **opts.db**: `BetterSQLite3Database`\<`Record`\<`string`, `never`\>\>
• **opts.db**: `BetterSQLite3Database`\<`Record`\<`string`, `never`\>, `any`\>

• **opts.getDeviceIdForVersionId**

Expand Down Expand Up @@ -116,11 +116,11 @@ only used internally to skip the checkExisting check when creating a document wi

### \[kSelect\]()

> **\[kSelect\]**(): `Promise`\<`Omit`\<`SQLiteSelectBase`\<`GetSelectTableName`\<`TTable`\>, `"sync"`, `RunResult`, `GetSelectTableSelection`\<`TTable`\>, `"single"`, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`, `false`, `never`, `{ [K in string]: { [Key in string]: SelectResultField<GetSelectTableSelection<(...)>[Key], true> }[K] }`[], `BuildSubquerySelection`\<`GetSelectTableSelection`\<`TTable`\>, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`\>\>, `"then"` \| `"catch"` \| `"finally"`\> & `object`\>
> **\[kSelect\]**(): `Promise`\<`Omit`\<`SQLiteSelectBase`\<`GetSelectTableName`\<`TTable`\>, `"sync"`, `RunResult`, `GetSelectTableSelection`\<`TTable`\>, `"single"`, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`, `false`, `never`, \{ \[K in string \| number \| symbol\]: \{ \[Key in string \| number \| symbol\]: SelectResultField\<GetSelectTableSelection\<(...)\>\[Key\], true\> \}\[K\] \}[], `BuildSubquerySelection`\<`GetSelectTableSelection`\<`TTable`\>, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`\>\>, `"then"` \| `"catch"` \| `"finally"`\> & `object`\>

#### Returns

`Promise`\<`Omit`\<`SQLiteSelectBase`\<`GetSelectTableName`\<`TTable`\>, `"sync"`, `RunResult`, `GetSelectTableSelection`\<`TTable`\>, `"single"`, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`, `false`, `never`, `{ [K in string]: { [Key in string]: SelectResultField<GetSelectTableSelection<(...)>[Key], true> }[K] }`[], `BuildSubquerySelection`\<`GetSelectTableSelection`\<`TTable`\>, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`\>\>, `"then"` \| `"catch"` \| `"finally"`\> & `object`\>
`Promise`\<`Omit`\<`SQLiteSelectBase`\<`GetSelectTableName`\<`TTable`\>, `"sync"`, `RunResult`, `GetSelectTableSelection`\<`TTable`\>, `"single"`, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`, `false`, `never`, \{ \[K in string \| number \| symbol\]: \{ \[Key in string \| number \| symbol\]: SelectResultField\<GetSelectTableSelection\<(...)\>\[Key\], true\> \}\[K\] \}[], `BuildSubquerySelection`\<`GetSelectTableSelection`\<`TTable`\>, `GetSelectTableName`\<`TTable`\> *extends* `string` ? `Record`\<`string` & `GetSelectTableName`\<`TTable`\>, `"not-null"`\> : `object`\>\>, `"then"` \| `"catch"` \| `"finally"`\> & `object`\>

***

Expand Down
2 changes: 1 addition & 1 deletion docs/api/md/-internal-/classes/Downloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ downloading deleted and previous versions may be desirable behavior anyway

• **options?** = `{}`

• **options.filter?**: `undefined` \| `null` \| [`BlobFilter`](../type-aliases/BlobFilter.md)
• **options.filter?**: `undefined` \| `null` \| `_RequireAtLeastOne`\<`object`, `"photo"` \| `"video"` \| `"audio"`\>

Filter blobs of specific types and/or sizes to download

Expand Down
2 changes: 1 addition & 1 deletion docs/api/md/-internal-/classes/IconApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

• **opts.iconDataStore**: [`DataStore`](DataStore.md)\<`"config"`, `"translation"` \| `"projectSettings"` \| `"preset"` \| `"icon"` \| `"field"` \| `"deviceInfo"`\>

• **opts.iconDataType**: [`DataType`](DataType.md)\<[`DataStore`](DataStore.md)\<`"config"`, `"translation"` \| `"projectSettings"` \| `"preset"` \| `"icon"` \| `"field"` \| `"deviceInfo"`\>, `SQLiteTableWithColumns`\<`object`\>, `"icon"`, `object`, `object`\>
• **opts.iconDataType**: [`DataType`](DataType.md)\<[`DataStore`](DataStore.md)\<`"config"`, `"translation"` \| `"projectSettings"` \| `"preset"` \| `"icon"` \| `"field"` \| `"deviceInfo"`\>, [`JsonSchemaToDrizzleSqliteTable`](../type-aliases/JsonSchemaToDrizzleSqliteTable.md)\<`object`, `object`, `"icon"`, [`AdditionalColumns`](../type-aliases/AdditionalColumns.md), `"docId"`\>, `"icon"`, `object`, `object`\>

#### Returns

Expand Down
Loading