From 44acad15f148b5ed7edff0b6b81c5f6246df2482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribo=CC=81?= Date: Tue, 8 Jul 2025 15:13:00 +0200 Subject: [PATCH 1/5] fix: warning improvement --- .../ridb-core/src/storages/indexdb/mod.rs | 22 +- .../ridb-core/src/storages/indexdb/utils.rs | 254 ++++++++++-------- 2 files changed, 147 insertions(+), 129 deletions(-) diff --git a/packages/ridb-core/src/storages/indexdb/mod.rs b/packages/ridb-core/src/storages/indexdb/mod.rs index 0c754f5a..abb80b98 100644 --- a/packages/ridb-core/src/storages/indexdb/mod.rs +++ b/packages/ridb-core/src/storages/indexdb/mod.rs @@ -1,8 +1,8 @@ -use js_sys::{Array, Object, Promise, Reflect}; +use js_sys::{Array, Object, Reflect}; use pool::POOL; use utils::{can_use_single_index_lookup, create_database, cursor_fetch_and_filter, idb_request_result}; use crate::utils::Logger; -use wasm_bindgen::{JsCast, JsValue}; +use wasm_bindgen::JsValue; use wasm_bindgen::prelude::{wasm_bindgen, Closure}; use crate::query::Query; use crate::storage::internals::base_storage::BaseStorage; @@ -474,21 +474,9 @@ impl IndexDB { } }; - // Set up abort and complete handlers to improve transaction management - Logger::debug("IndexDB-GetStore", &JsValue::from_str("Setting up transaction complete handler")); - let complete_promise = Promise::new(&mut |resolve, _| { - let oncomplete = Closure::once(Box::new(move |_: web_sys::Event| { - resolve.call0(&JsValue::undefined()).unwrap(); - })); - - transaction.set_oncomplete(Some(oncomplete.as_ref().unchecked_ref())); - oncomplete.forget(); - }); - - // Create a future from the promise, but don't await it - // This ensures we track the transaction but don't block - Logger::debug("IndexDB-GetStore", &JsValue::from_str("Creating future from transaction complete promise")); - let _future = wasm_bindgen_futures::JsFuture::from(complete_promise); + // Simplified transaction handling - no need for complex promise setup + // The transaction will complete automatically when the object store operations are done + Logger::debug("IndexDB-GetStore", &JsValue::from_str("Transaction created, proceeding with object store access")); // Get object store from transaction Logger::debug("IndexDB-GetStore", &JsValue::from_str(&format!("Getting object store: {}", store_name))); diff --git a/packages/ridb-core/src/storages/indexdb/utils.rs b/packages/ridb-core/src/storages/indexdb/utils.rs index d850d8fa..dc1053b9 100644 --- a/packages/ridb-core/src/storages/indexdb/utils.rs +++ b/packages/ridb-core/src/storages/indexdb/utils.rs @@ -22,32 +22,25 @@ pub async fn cursor_fetch_and_filter( limit: u32, ) -> Result { use std::cell::RefCell; + use std::rc::Rc; - let result_array = RefCell::new(Array::new()); - let skipped_count = RefCell::new(0u32); - let matched_count = RefCell::new(0u32); + // Use Rc> for shared state between closures + let all_docs = Rc::new(RefCell::new(Vec::new())); + let cursor_finished = Rc::new(RefCell::new(false)); - // Pre-evaluate query components if possible to avoid repeated work in callback + // Clone these for the async processing let core_cloned = core.clone(); let value_query_cloned = value_query.clone(); - // Limit the frequency of processing - batch process documents - const BATCH_SIZE: u32 = 50; // Process documents in batches - let batch_docs = RefCell::new(Vec::with_capacity(BATCH_SIZE as usize)); - let promise = Promise::new(&mut |resolve, reject| { - // Create references to the arrays and counters - let result_array_ref = result_array.clone(); - let skipped_count_ref = skipped_count.clone(); - let matched_count_ref = matched_count.clone(); - let value_query_ref = value_query_cloned.clone(); - let batch_docs_ref = batch_docs.clone(); - - // References to resolver/rejecter + let all_docs_ref = all_docs.clone(); + let cursor_finished_ref = cursor_finished.clone(); let resolve_ref = resolve.clone(); let reject_ref = reject.clone(); + let value_query_for_closure = value_query_cloned.clone(); + let core_for_closure = core_cloned.clone(); - // Create closures with owned values + // Create a lightweight success handler that just collects documents let on_success = Closure::wrap(Box::new(move |evt: web_sys::Event| { let target: web_sys::IdbRequest = match evt.target().and_then(|t| t.dyn_into().ok()) { Some(req) => req, @@ -62,28 +55,22 @@ pub async fn cursor_fetch_and_filter( let cursor_value = target.result(); - // If cursor is done, process any remaining batch and return result + // If cursor is done, mark as finished and start async processing if cursor_value.is_err() || cursor_value.as_ref().unwrap().is_null() || cursor_value.as_ref().unwrap().is_undefined() { - // Process any remaining documents in the batch - let mut batch = batch_docs_ref.borrow_mut(); - if !batch.is_empty() { - process_batch( - &mut batch, - &core_cloned, - &value_query_ref, - &result_array_ref, - &skipped_count_ref, - &matched_count_ref, - offset, - limit - ); - } - - // Cursor finished: resolve with the final array - let _ = resolve_ref.call1(&JsValue::NULL, &result_array_ref.borrow()); + *cursor_finished_ref.borrow_mut() = true; + // Defer the heavy processing to avoid blocking the success handler + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); return; } @@ -98,35 +85,13 @@ pub async fn cursor_fetch_and_filter( } }; - // Get the document value + // Lightweight work: just collect the document match cursor.value() { Ok(doc) => { - // Add document to batch for processing - let mut batch = batch_docs_ref.borrow_mut(); - batch.push(doc); - - // If batch is full or we've reached the limit, process it - let matched = *matched_count_ref.borrow(); - if batch.len() >= BATCH_SIZE as usize || matched >= limit { - process_batch( - &mut batch, - &core_cloned, - &value_query_ref, - &result_array_ref, - &skipped_count_ref, - &matched_count_ref, - offset, - limit - ); - - // If we have enough matches, resolve immediately - if *matched_count_ref.borrow() >= limit { - let _ = resolve_ref.call1(&JsValue::NULL, &result_array_ref.borrow()); - return; - } - } + // Just add to collection - no heavy processing here + all_docs_ref.borrow_mut().push(doc); - // Continue cursor to next record + // Continue cursor immediately if let Err(err) = cursor.continue_() { let _ = reject_ref.call1(&JsValue::NULL, &err); } @@ -137,13 +102,12 @@ pub async fn cursor_fetch_and_filter( } }) as Box); - // Create another reject_ref for the error handler let reject_err = reject.clone(); let on_error = Closure::wrap(Box::new(move |evt: web_sys::Event| { let _ = reject_err.call1(&JsValue::NULL, &evt); }) as Box); - // Decide how to open the cursor + // Open cursor logic remains the same let request_result = if let Some(idx) = index { if !key_value.is_null() && !key_value.is_undefined() { match IdbKeyRange::only(key_value) { @@ -166,13 +130,11 @@ pub async fn cursor_fetch_and_filter( Err(JsValue::from_str("No index or store provided to open cursor.")) }; - // Attach success/error closures to the request match request_result { Ok(request) => { request.set_onsuccess(Some(on_success.as_ref().unchecked_ref())); request.set_onerror(Some(on_error.as_ref().unchecked_ref())); - // Keep the closures alive for multiple invocations on_success.forget(); on_error.forget(); } @@ -182,80 +144,148 @@ pub async fn cursor_fetch_and_filter( } }); - // Await the promise, then convert the result to an Array let js_result = wasm_bindgen_futures::JsFuture::from(promise).await?; Ok(Array::from(&js_result)) } -// Separate function to process a batch of documents - this improves performance -// by reducing the amount of work done in the success handler -fn process_batch( - batch: &mut Vec, - core: &CoreStorage, - query: &Query, - result_array: &std::cell::RefCell, - skipped_count: &std::cell::RefCell, - matched_count: &std::cell::RefCell, +// Schedule async processing using setTimeout to avoid blocking the event loop +fn schedule_async_processing( + all_docs: std::rc::Rc>>, + core: CoreStorage, + query: Query, offset: u32, - limit: u32 + limit: u32, + resolve: js_sys::Function, + reject: js_sys::Function, ) { - // Early return if we already have enough matches - if *matched_count.borrow() >= limit { - batch.clear(); - return; - } + let timeout_callback = Closure::once(Box::new(move || { + match process_documents_async(all_docs, core, query, offset, limit) { + Ok(result) => { + let _ = resolve.call1(&JsValue::NULL, &result); + } + Err(e) => { + let _ = reject.call1(&JsValue::NULL, &e); + } + } + })); + + // Use setTimeout to schedule processing on the next event loop tick + let window = web_sys::window().unwrap(); + let _ = window.set_timeout_with_callback_and_timeout_and_arguments_0( + timeout_callback.as_ref().unchecked_ref(), + 0, // Next tick + ); + + timeout_callback.forget(); +} + +// Process documents asynchronously with yielding to avoid blocking +fn process_documents_async( + all_docs: std::rc::Rc>>, + core: CoreStorage, + query: Query, + offset: u32, + limit: u32, +) -> Result { + let docs = all_docs.borrow(); + let result_array = Array::new(); + let mut skipped = 0u32; + let mut matched = 0u32; + + // Process documents in smaller chunks to avoid blocking + const CHUNK_SIZE: usize = 10; // Even smaller chunks to minimize blocking + const MAX_SYNC_OPERATIONS: usize = 100; // Max operations before yielding + + let mut operations_count = 0; - // Process all documents in the batch - for doc in batch.drain(..) { - // Only bother with filtering if we haven't hit the limit - if *matched_count.borrow() < limit { - if core.document_matches_query(&doc, query.clone()).unwrap_or(false) { - let mut skip_ref = skipped_count.borrow_mut(); - let mut match_ref = matched_count.borrow_mut(); - - if *skip_ref < offset { - *skip_ref += 1; - } else if *match_ref < limit { - result_array.borrow().push(&doc); - *match_ref += 1; + for chunk in docs.chunks(CHUNK_SIZE) { + for doc in chunk { + if matched >= limit { + break; + } + + // Quick check to avoid expensive operations when possible + if operations_count >= MAX_SYNC_OPERATIONS { + // We've done enough work, let the event loop breathe + // In a real async environment we'd yield here, but for now we'll just continue + operations_count = 0; + } + + // This is still synchronous but now it's not in the success handler + // and we process in very small chunks + if core.document_matches_query(doc, query.clone()).unwrap_or(false) { + if skipped < offset { + skipped += 1; + } else { + result_array.push(doc); + matched += 1; } } - } else { - // If we've hit the limit, stop processing + + operations_count += 1; + } + + if matched >= limit { break; } } + + Ok(result_array) } pub async fn idb_request_result(request: IdbRequest) -> Result { let promise = Promise::new(&mut |resolve, reject| { let reject2 = reject.clone(); + + // Ultra-lightweight success handler that just resolves immediately let success_callback = Closure::once(Box::new(move |event: web_sys::Event| { - let request: IdbRequest = event.target() - .unwrap() - .dyn_into() - .unwrap(); - - match request.result() { - Ok(result) => resolve.call1(&JsValue::undefined(), &result).unwrap(), - Err(e) => reject.call1(&JsValue::undefined(), &e).unwrap(), + // Minimize work in success handler - just get the target and resolve + if let Some(target) = event.target() { + if let Ok(request) = target.dyn_into::() { + // Get result and resolve immediately without additional processing + match request.result() { + Ok(result) => { + let _ = resolve.call1(&JsValue::undefined(), &result); + } + Err(e) => { + let _ = reject.call1(&JsValue::undefined(), &e); + } + } + } else { + let _ = reject.call1(&JsValue::undefined(), &JsValue::from_str("Invalid request target")); + } + } else { + let _ = reject.call1(&JsValue::undefined(), &JsValue::from_str("No event target")); } })); + // Ultra-lightweight error handler let error_callback = Closure::once(Box::new(move |event: web_sys::Event| { - let request: IdbRequest = event.target() - .unwrap() - .dyn_into() - .unwrap(); - - let error = request.error().unwrap(); - reject2.call1(&JsValue::undefined(), &error.unwrap()).unwrap(); + if let Some(target) = event.target() { + if let Ok(request) = target.dyn_into::() { + // Get error and reject immediately + match request.error() { + Ok(Some(error)) => { + let _ = reject2.call1(&JsValue::undefined(), &error); + } + Ok(None) => { + let _ = reject2.call1(&JsValue::undefined(), &JsValue::from_str("Unknown error")); + } + Err(e) => { + let _ = reject2.call1(&JsValue::undefined(), &e); + } + } + } else { + let _ = reject2.call1(&JsValue::undefined(), &JsValue::from_str("Invalid request target")); + } + } else { + let _ = reject2.call1(&JsValue::undefined(), &JsValue::from_str("No event target")); + } })); request.set_onsuccess(Some(success_callback.as_ref().unchecked_ref())); request.set_onerror(Some(error_callback.as_ref().unchecked_ref())); - // The closures will automatically be dropped after the Promise resolves/rejects success_callback.forget(); error_callback.forget(); }); From 6b075cb54dc28aa409d0fb02394212fd72586949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribo=CC=81?= Date: Tue, 8 Jul 2025 15:24:03 +0200 Subject: [PATCH 2/5] fix: improve cursor_fetch_and_filter for better performance too --- .../ridb-core/src/storages/indexdb/utils.rs | 137 +++++++++++------- 1 file changed, 82 insertions(+), 55 deletions(-) diff --git a/packages/ridb-core/src/storages/indexdb/utils.rs b/packages/ridb-core/src/storages/indexdb/utils.rs index dc1053b9..e2a3e484 100644 --- a/packages/ridb-core/src/storages/indexdb/utils.rs +++ b/packages/ridb-core/src/storages/indexdb/utils.rs @@ -27,6 +27,8 @@ pub async fn cursor_fetch_and_filter( // Use Rc> for shared state between closures let all_docs = Rc::new(RefCell::new(Vec::new())); let cursor_finished = Rc::new(RefCell::new(false)); + let matched_count = Rc::new(RefCell::new(0u32)); + let skipped_count = Rc::new(RefCell::new(0u32)); // Clone these for the async processing let core_cloned = core.clone(); @@ -35,12 +37,14 @@ pub async fn cursor_fetch_and_filter( let promise = Promise::new(&mut |resolve, reject| { let all_docs_ref = all_docs.clone(); let cursor_finished_ref = cursor_finished.clone(); + let matched_count_ref = matched_count.clone(); + let skipped_count_ref = skipped_count.clone(); let resolve_ref = resolve.clone(); let reject_ref = reject.clone(); let value_query_for_closure = value_query_cloned.clone(); let core_for_closure = core_cloned.clone(); - // Create a lightweight success handler that just collects documents + // Create a lightweight success handler that collects documents with early termination let on_success = Closure::wrap(Box::new(move |evt: web_sys::Event| { let target: web_sys::IdbRequest = match evt.target().and_then(|t| t.dyn_into().ok()) { Some(req) => req, @@ -55,7 +59,7 @@ pub async fn cursor_fetch_and_filter( let cursor_value = target.result(); - // If cursor is done, mark as finished and start async processing + // If cursor is done, start async processing if cursor_value.is_err() || cursor_value.as_ref().unwrap().is_null() || cursor_value.as_ref().unwrap().is_undefined() @@ -85,13 +89,55 @@ pub async fn cursor_fetch_and_filter( } }; - // Lightweight work: just collect the document + // Check if we've already collected enough documents + let current_matched = *matched_count_ref.borrow(); + if current_matched >= limit { + // We have enough matches, stop cursor iteration + *cursor_finished_ref.borrow_mut() = true; + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); + return; + } + + // Lightweight work: collect the document with early termination logic match cursor.value() { Ok(doc) => { - // Just add to collection - no heavy processing here - all_docs_ref.borrow_mut().push(doc); + // Quick check for query match to enable early termination + if core_for_closure.document_matches_query(&doc, value_query_for_closure.clone()).unwrap_or(false) { + let mut skipped = skipped_count_ref.borrow_mut(); + let mut matched = matched_count_ref.borrow_mut(); + + if *skipped < offset { + *skipped += 1; + } else if *matched < limit { + all_docs_ref.borrow_mut().push(doc); + *matched += 1; + } + + // If we've reached the limit, stop processing + if *matched >= limit { + *cursor_finished_ref.borrow_mut() = true; + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); + return; + } + } - // Continue cursor immediately + // Continue cursor to next record if let Err(err) = cursor.continue_() { let _ = reject_ref.call1(&JsValue::NULL, &err); } @@ -149,6 +195,7 @@ pub async fn cursor_fetch_and_filter( } // Schedule async processing using setTimeout to avoid blocking the event loop +// Fixed to work in both Window and Worker contexts fn schedule_async_processing( all_docs: std::rc::Rc>>, core: CoreStorage, @@ -169,65 +216,45 @@ fn schedule_async_processing( } })); - // Use setTimeout to schedule processing on the next event loop tick - let window = web_sys::window().unwrap(); - let _ = window.set_timeout_with_callback_and_timeout_and_arguments_0( - timeout_callback.as_ref().unchecked_ref(), - 0, // Next tick - ); + // Use setTimeout in both Window and Worker contexts + if let Ok(window) = js_sys::global().dyn_into::() { + // Window context + let _ = window.set_timeout_with_callback_and_timeout_and_arguments_0( + timeout_callback.as_ref().unchecked_ref(), + 0, // Next tick + ); + } else if let Ok(worker) = js_sys::global().dyn_into::() { + // Worker context + let _ = worker.set_timeout_with_callback_and_timeout_and_arguments_0( + timeout_callback.as_ref().unchecked_ref(), + 0, // Next tick + ); + } else { + // Fallback: execute immediately if neither context is available + // This shouldn't happen in normal web environments, but provides a safety net + let callback_fn = timeout_callback.as_ref().unchecked_ref::(); + let _ = callback_fn.call0(&JsValue::undefined()); + } timeout_callback.forget(); } -// Process documents asynchronously with yielding to avoid blocking +// Process documents asynchronously - now mainly for final array construction +// since filtering and limits are already applied during cursor iteration fn process_documents_async( all_docs: std::rc::Rc>>, - core: CoreStorage, - query: Query, - offset: u32, - limit: u32, + _core: CoreStorage, + _query: Query, + _offset: u32, + _limit: u32, ) -> Result { let docs = all_docs.borrow(); let result_array = Array::new(); - let mut skipped = 0u32; - let mut matched = 0u32; - // Process documents in smaller chunks to avoid blocking - const CHUNK_SIZE: usize = 10; // Even smaller chunks to minimize blocking - const MAX_SYNC_OPERATIONS: usize = 100; // Max operations before yielding - - let mut operations_count = 0; - - for chunk in docs.chunks(CHUNK_SIZE) { - for doc in chunk { - if matched >= limit { - break; - } - - // Quick check to avoid expensive operations when possible - if operations_count >= MAX_SYNC_OPERATIONS { - // We've done enough work, let the event loop breathe - // In a real async environment we'd yield here, but for now we'll just continue - operations_count = 0; - } - - // This is still synchronous but now it's not in the success handler - // and we process in very small chunks - if core.document_matches_query(doc, query.clone()).unwrap_or(false) { - if skipped < offset { - skipped += 1; - } else { - result_array.push(doc); - matched += 1; - } - } - - operations_count += 1; - } - - if matched >= limit { - break; - } + // Since filtering and limits are already applied during cursor iteration, + // we just need to convert the collected documents to an Array + for doc in docs.iter() { + result_array.push(doc); } Ok(result_array) From eebd9526a5613f2673de8f39cb11c1857bf385cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribo=CC=81?= Date: Tue, 8 Jul 2025 15:30:50 +0200 Subject: [PATCH 3/5] fix: improve code --- .../ridb-core/src/storages/indexdb/utils.rs | 70 +++++++++++-------- 1 file changed, 42 insertions(+), 28 deletions(-) diff --git a/packages/ridb-core/src/storages/indexdb/utils.rs b/packages/ridb-core/src/storages/indexdb/utils.rs index e2a3e484..968f5eff 100644 --- a/packages/ridb-core/src/storages/indexdb/utils.rs +++ b/packages/ridb-core/src/storages/indexdb/utils.rs @@ -29,6 +29,7 @@ pub async fn cursor_fetch_and_filter( let cursor_finished = Rc::new(RefCell::new(false)); let matched_count = Rc::new(RefCell::new(0u32)); let skipped_count = Rc::new(RefCell::new(0u32)); + let processing_scheduled = Rc::new(RefCell::new(false)); // Clone these for the async processing let core_cloned = core.clone(); @@ -39,6 +40,7 @@ pub async fn cursor_fetch_and_filter( let cursor_finished_ref = cursor_finished.clone(); let matched_count_ref = matched_count.clone(); let skipped_count_ref = skipped_count.clone(); + let processing_scheduled_ref = processing_scheduled.clone(); let resolve_ref = resolve.clone(); let reject_ref = reject.clone(); let value_query_for_closure = value_query_cloned.clone(); @@ -65,16 +67,20 @@ pub async fn cursor_fetch_and_filter( || cursor_value.as_ref().unwrap().is_undefined() { *cursor_finished_ref.borrow_mut() = true; - // Defer the heavy processing to avoid blocking the success handler - schedule_async_processing( - all_docs_ref.clone(), - core_for_closure.clone(), - value_query_for_closure.clone(), - offset, - limit, - resolve_ref.clone(), - reject_ref.clone(), - ); + // Only schedule async processing if it hasn't been scheduled yet + if !*processing_scheduled_ref.borrow() { + *processing_scheduled_ref.borrow_mut() = true; + // Defer the heavy processing to avoid blocking the success handler + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); + } return; } @@ -94,15 +100,19 @@ pub async fn cursor_fetch_and_filter( if current_matched >= limit { // We have enough matches, stop cursor iteration *cursor_finished_ref.borrow_mut() = true; - schedule_async_processing( - all_docs_ref.clone(), - core_for_closure.clone(), - value_query_for_closure.clone(), - offset, - limit, - resolve_ref.clone(), - reject_ref.clone(), - ); + // Only schedule async processing if it hasn't been scheduled yet + if !*processing_scheduled_ref.borrow() { + *processing_scheduled_ref.borrow_mut() = true; + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); + } return; } @@ -124,15 +134,19 @@ pub async fn cursor_fetch_and_filter( // If we've reached the limit, stop processing if *matched >= limit { *cursor_finished_ref.borrow_mut() = true; - schedule_async_processing( - all_docs_ref.clone(), - core_for_closure.clone(), - value_query_for_closure.clone(), - offset, - limit, - resolve_ref.clone(), - reject_ref.clone(), - ); + // Only schedule async processing if it hasn't been scheduled yet + if !*processing_scheduled_ref.borrow() { + *processing_scheduled_ref.borrow_mut() = true; + schedule_async_processing( + all_docs_ref.clone(), + core_for_closure.clone(), + value_query_for_closure.clone(), + offset, + limit, + resolve_ref.clone(), + reject_ref.clone(), + ); + } return; } } From 3e97220dc1240d93688329faeb3cec36ec9bbd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20Rib=C3=B3=20labrador?= Date: Tue, 8 Jul 2025 13:46:06 +0000 Subject: [PATCH 4/5] chore(release): [skip ci] - project: @trust0/ridb-level 1.2.32 - project: @trust0/ridb-react 1.4.11 - project: @trust0/ridb-core 1.7.27 - project: @trust0/ridb 1.5.32 --- docs/@trust0/ridb-core/classes/BasePlugin.md | 6 +- docs/@trust0/ridb-core/classes/BaseStorage.md | 34 +- docs/@trust0/ridb-core/classes/Collection.md | 14 +- docs/@trust0/ridb-core/classes/CoreStorage.md | 8 +- docs/@trust0/ridb-core/classes/Database.md | 14 +- docs/@trust0/ridb-core/classes/InMemory.md | 34 +- docs/@trust0/ridb-core/classes/IndexDB.md | 34 +- docs/@trust0/ridb-core/classes/Property.md | 24 +- docs/@trust0/ridb-core/classes/Query.md | 6 +- docs/@trust0/ridb-core/classes/Schema.md | 22 +- .../ridb-core/classes/StorageInternal.md | 16 +- .../ridb-core/interfaces/InitOutput.md | 294 +++++++++--------- .../type-aliases/AnyVersionGreaterThan1.md | 2 +- .../type-aliases/BasePluginOptions.md | 6 +- .../type-aliases/BaseStorageOptions.md | 2 +- .../ridb-core/type-aliases/CreateDoc.md | 2 +- .../ridb-core/type-aliases/CreateStorage.md | 2 +- docs/@trust0/ridb-core/type-aliases/Doc.md | 2 +- .../type-aliases/EnumerateFrom1To.md | 2 +- .../ridb-core/type-aliases/EnumerateUpTo.md | 2 +- .../ridb-core/type-aliases/ExtractType.md | 2 +- docs/@trust0/ridb-core/type-aliases/Hook.md | 2 +- .../ridb-core/type-aliases/InOperator.md | 4 +- .../ridb-core/type-aliases/InternalsRecord.md | 2 +- .../ridb-core/type-aliases/IsOptional.md | 2 +- .../type-aliases/IsVersionGreaterThan0.md | 2 +- .../type-aliases/LogicalOperators.md | 6 +- .../type-aliases/MigrationFunction.md | 2 +- .../type-aliases/MigrationPathsForSchema.md | 2 +- .../type-aliases/MigrationPathsForSchemas.md | 2 +- .../type-aliases/MigrationsParameter.md | 2 +- .../ridb-core/type-aliases/NInOperator.md | 4 +- .../ridb-core/type-aliases/Operation.md | 12 +- .../ridb-core/type-aliases/OperatorOrType.md | 2 +- .../ridb-core/type-aliases/Operators.md | 14 +- .../ridb-core/type-aliases/QueryOptions.md | 6 +- .../ridb-core/type-aliases/QueryType.md | 2 +- .../ridb-core/type-aliases/RIDBModule.md | 4 +- .../ridb-core/type-aliases/SchemaType.md | 14 +- .../type-aliases/SchemaTypeRecord.md | 2 +- .../ridb-core/variables/SchemaFieldType.md | 2 +- .../ridb-level/classes/LevelDBStorage.md | 34 +- .../ridb-level/functions/createLevelDB.md | 2 +- docs/@trust0/ridb-level/type-aliases/Level.md | 2 +- .../ridb-react/functions/RIDBDatabase.md | 2 +- docs/@trust0/ridb-react/functions/useRIDB.md | 2 +- .../ridb-react/type-aliases/DatabaseState.md | 2 +- .../ridb-react/variables/RIDBContext.md | 2 +- docs/@trust0/ridb/classes/RIDB.md | 12 +- docs/@trust0/ridb/enumerations/StorageType.md | 6 +- docs/@trust0/ridb/functions/WasmInternal.md | 2 +- docs/@trust0/ridb/interfaces/RIDBAbstract.md | 10 +- .../@trust0/ridb/interfaces/WorkerInstance.md | 6 +- docs/@trust0/ridb/type-aliases/DBOptions.md | 2 +- .../ridb/type-aliases/PendingRequests.md | 2 +- .../@trust0/ridb/type-aliases/StartOptions.md | 8 +- .../@trust0/ridb/type-aliases/StorageClass.md | 4 +- packages/ridb-core/CHANGELOG.md | 12 + packages/ridb-core/package.json | 2 +- packages/ridb-level/CHANGELOG.md | 6 + packages/ridb-level/package.json | 4 +- packages/ridb-react/CHANGELOG.md | 6 + packages/ridb-react/package.json | 4 +- packages/ridb/CHANGELOG.md | 7 + packages/ridb/package.json | 4 +- yarn.lock | 10 +- 66 files changed, 398 insertions(+), 371 deletions(-) diff --git a/docs/@trust0/ridb-core/classes/BasePlugin.md b/docs/@trust0/ridb-core/classes/BasePlugin.md index cde5b883..343e4a61 100644 --- a/docs/@trust0/ridb-core/classes/BasePlugin.md +++ b/docs/@trust0/ridb-core/classes/BasePlugin.md @@ -6,7 +6,7 @@ # Class: BasePlugin -Defined in: ridb\_core.d.ts:579 +Defined in: ridb\_core.d.ts:197 ## Implements @@ -28,7 +28,7 @@ Defined in: ridb\_core.d.ts:579 > `optional` **docCreateHook**: [`Hook`](../type-aliases/Hook.md) -Defined in: ridb\_core.d.ts:580 +Defined in: ridb\_core.d.ts:198 #### Implementation of @@ -40,7 +40,7 @@ Defined in: ridb\_core.d.ts:580 > `optional` **docRecoverHook**: [`Hook`](../type-aliases/Hook.md) -Defined in: ridb\_core.d.ts:581 +Defined in: ridb\_core.d.ts:199 #### Implementation of diff --git a/docs/@trust0/ridb-core/classes/BaseStorage.md b/docs/@trust0/ridb-core/classes/BaseStorage.md index 43770fe9..b1bd56cd 100644 --- a/docs/@trust0/ridb-core/classes/BaseStorage.md +++ b/docs/@trust0/ridb-core/classes/BaseStorage.md @@ -6,7 +6,7 @@ # Class: BaseStorage\ -Defined in: ridb\_core.d.ts:343 +Defined in: ridb\_core.d.ts:571 ## Extends @@ -14,8 +14,8 @@ Defined in: ridb\_core.d.ts:343 ## Extended by -- [`InMemory`](InMemory.md) - [`IndexDB`](IndexDB.md) +- [`InMemory`](InMemory.md) ## Type Parameters @@ -29,7 +29,7 @@ Defined in: ridb\_core.d.ts:343 > **new BaseStorage**\<`Schemas`\>(`dbName`, `schemas`, `options?`): `BaseStorage`\<`Schemas`\> -Defined in: ridb\_core.d.ts:353 +Defined in: ridb\_core.d.ts:581 #### Parameters @@ -59,7 +59,7 @@ Defined in: ridb\_core.d.ts:353 > `readonly` **core**: [`CoreStorage`](CoreStorage.md) -Defined in: ridb\_core.d.ts:361 +Defined in: ridb\_core.d.ts:589 *** @@ -67,7 +67,7 @@ Defined in: ridb\_core.d.ts:361 > `readonly` **dbName**: `string` -Defined in: ridb\_core.d.ts:358 +Defined in: ridb\_core.d.ts:586 *** @@ -75,7 +75,7 @@ Defined in: ridb\_core.d.ts:358 > `readonly` **options**: [`BaseStorageOptions`](../type-aliases/BaseStorageOptions.md) -Defined in: ridb\_core.d.ts:360 +Defined in: ridb\_core.d.ts:588 *** @@ -83,7 +83,7 @@ Defined in: ridb\_core.d.ts:360 > `readonly` **schemas**: `Record`\\> -Defined in: ridb\_core.d.ts:359 +Defined in: ridb\_core.d.ts:587 ## Methods @@ -91,7 +91,7 @@ Defined in: ridb\_core.d.ts:359 > **addIndexSchemas**(): `null` -Defined in: ridb\_core.d.ts:371 +Defined in: ridb\_core.d.ts:599 #### Returns @@ -103,7 +103,7 @@ Defined in: ridb\_core.d.ts:371 > **close**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:363 +Defined in: ridb\_core.d.ts:591 #### Returns @@ -119,7 +119,7 @@ Defined in: ridb\_core.d.ts:363 > **count**(`colectionName`, `query`, `options?`): `Promise`\<`number`\> -Defined in: ridb\_core.d.ts:364 +Defined in: ridb\_core.d.ts:592 #### Parameters @@ -149,7 +149,7 @@ keyof `Schemas` > **find**(`collectionName`, `query`, `options?`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>[]\> -Defined in: ridb\_core.d.ts:366 +Defined in: ridb\_core.d.ts:594 #### Parameters @@ -179,7 +179,7 @@ keyof `Schemas` > **findDocumentById**(`collectionName`, `id`): `Promise`\<`null` \| [`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>\> -Defined in: ridb\_core.d.ts:365 +Defined in: ridb\_core.d.ts:593 #### Parameters @@ -205,7 +205,7 @@ keyof `Schemas` > **getOption**(`name`): `undefined` \| `string` \| `number` \| `boolean` -Defined in: ridb\_core.d.ts:368 +Defined in: ridb\_core.d.ts:596 #### Parameters @@ -223,7 +223,7 @@ Defined in: ridb\_core.d.ts:368 > **getSchema**(`name`): [`Schema`](Schema.md)\<`any`\> -Defined in: ridb\_core.d.ts:369 +Defined in: ridb\_core.d.ts:597 #### Parameters @@ -241,7 +241,7 @@ Defined in: ridb\_core.d.ts:369 > **start**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:362 +Defined in: ridb\_core.d.ts:590 #### Returns @@ -257,7 +257,7 @@ Defined in: ridb\_core.d.ts:362 > **write**(`op`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>\> -Defined in: ridb\_core.d.ts:367 +Defined in: ridb\_core.d.ts:595 #### Parameters @@ -279,7 +279,7 @@ Defined in: ridb\_core.d.ts:367 > `static` **create**\<`SchemasCreate`\>(`dbName`, `schemas`, `options?`): `Promise`\<`BaseStorage`\<`SchemasCreate`\>\> -Defined in: ridb\_core.d.ts:344 +Defined in: ridb\_core.d.ts:572 #### Type Parameters diff --git a/docs/@trust0/ridb-core/classes/Collection.md b/docs/@trust0/ridb-core/classes/Collection.md index 80a5ca2b..ed3d8fbb 100644 --- a/docs/@trust0/ridb-core/classes/Collection.md +++ b/docs/@trust0/ridb-core/classes/Collection.md @@ -6,7 +6,7 @@ # Class: Collection\ -Defined in: ridb\_core.d.ts:293 +Defined in: ridb\_core.d.ts:342 Collection is a class that represents a collection of documents in a database. @@ -34,7 +34,7 @@ A schema type defining the structure of the documents in the collection. > **count**(`query`, `options?`): `Promise`\<`number`\> -Defined in: ridb\_core.d.ts:305 +Defined in: ridb\_core.d.ts:354 count all documents in the collection. @@ -60,7 +60,7 @@ A promise that resolves to an array of documents. > **create**(`document`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\>\> -Defined in: ridb\_core.d.ts:326 +Defined in: ridb\_core.d.ts:375 Creates a new document in the collection. @@ -84,7 +84,7 @@ A promise that resolves to the created document. > **delete**(`id`): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:333 +Defined in: ridb\_core.d.ts:382 Deletes a document in the collection by its ID. @@ -108,7 +108,7 @@ A promise that resolves when the deletion is complete. > **find**(`query`, `options?`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\>[]\> -Defined in: ridb\_core.d.ts:299 +Defined in: ridb\_core.d.ts:348 Finds all documents in the collection. @@ -134,7 +134,7 @@ A promise that resolves to an array of documents. > **findById**(`id`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\>\> -Defined in: ridb\_core.d.ts:312 +Defined in: ridb\_core.d.ts:361 Finds a single document in the collection by its ID. @@ -158,7 +158,7 @@ A promise that resolves to the found document. > **update**(`document`): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:319 +Defined in: ridb\_core.d.ts:368 Updates a document in the collection by its ID. diff --git a/docs/@trust0/ridb-core/classes/CoreStorage.md b/docs/@trust0/ridb-core/classes/CoreStorage.md index 20dbb282..79630984 100644 --- a/docs/@trust0/ridb-core/classes/CoreStorage.md +++ b/docs/@trust0/ridb-core/classes/CoreStorage.md @@ -6,7 +6,7 @@ # Class: CoreStorage -Defined in: ridb\_core.d.ts:76 +Defined in: ridb\_core.d.ts:388 ## Constructors @@ -24,7 +24,7 @@ Defined in: ridb\_core.d.ts:76 > **getIndexes**(`schema`, `op`): `string`[] -Defined in: ridb\_core.d.ts:84 +Defined in: ridb\_core.d.ts:396 #### Parameters @@ -46,7 +46,7 @@ Defined in: ridb\_core.d.ts:84 > **getPrimaryKeyTyped**(`value`): `string` \| `number` -Defined in: ridb\_core.d.ts:83 +Defined in: ridb\_core.d.ts:395 #### Parameters @@ -64,7 +64,7 @@ Defined in: ridb\_core.d.ts:83 > **matchesQuery**(`document`, `query`): `boolean` -Defined in: ridb\_core.d.ts:82 +Defined in: ridb\_core.d.ts:394 #### Parameters diff --git a/docs/@trust0/ridb-core/classes/Database.md b/docs/@trust0/ridb-core/classes/Database.md index 34b4bc57..e64189f4 100644 --- a/docs/@trust0/ridb-core/classes/Database.md +++ b/docs/@trust0/ridb-core/classes/Database.md @@ -6,7 +6,7 @@ # Class: Database\ -Defined in: ridb\_core.d.ts:118 +Defined in: ridb\_core.d.ts:457 Represents a database containing collections of documents. RIDB extends from this class and is used to expose collections. @@ -58,7 +58,7 @@ A record of schema types. > `readonly` **collections**: \{ \[name in string \| number \| symbol\]: Collection\\> \} -Defined in: ridb\_core.d.ts:148 +Defined in: ridb\_core.d.ts:487 The collections in the database. @@ -70,7 +70,7 @@ This is a read-only property where the key is the name of the collection and the > `readonly` **started**: `boolean` -Defined in: ridb\_core.d.ts:152 +Defined in: ridb\_core.d.ts:491 ## Methods @@ -78,7 +78,7 @@ Defined in: ridb\_core.d.ts:152 > **authenticate**(`password`): `Promise`\<`boolean`\> -Defined in: ridb\_core.d.ts:141 +Defined in: ridb\_core.d.ts:480 #### Parameters @@ -96,7 +96,7 @@ Defined in: ridb\_core.d.ts:141 > **close**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:166 +Defined in: ridb\_core.d.ts:505 Closes the database. @@ -112,7 +112,7 @@ A promise that resolves when the database is closed. > **start**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:159 +Defined in: ridb\_core.d.ts:498 Starts the database. @@ -128,7 +128,7 @@ A promise that resolves when the database is started. > `static` **create**\<`TS`\>(`db_name`, `schemas`, `migrations`, `plugins`, `options`, `password?`, `storage?`): `Promise`\<`Database`\<`TS`\>\> -Defined in: ridb\_core.d.ts:131 +Defined in: ridb\_core.d.ts:470 Creates a new `Database` instance with the provided schemas and storage module. diff --git a/docs/@trust0/ridb-core/classes/InMemory.md b/docs/@trust0/ridb-core/classes/InMemory.md index b964b607..52c377a0 100644 --- a/docs/@trust0/ridb-core/classes/InMemory.md +++ b/docs/@trust0/ridb-core/classes/InMemory.md @@ -6,7 +6,7 @@ # Class: InMemory\ -Defined in: ridb\_core.d.ts:620 +Defined in: ridb\_core.d.ts:168 Represents an in-memory storage system extending the base storage functionality. @@ -28,7 +28,7 @@ The schema type. > **new InMemory**\<`T`\>(`dbName`, `schemas`, `options?`): `InMemory`\<`T`\> -Defined in: ridb\_core.d.ts:353 +Defined in: ridb\_core.d.ts:581 #### Parameters @@ -58,7 +58,7 @@ Defined in: ridb\_core.d.ts:353 > `readonly` **core**: [`CoreStorage`](CoreStorage.md) -Defined in: ridb\_core.d.ts:361 +Defined in: ridb\_core.d.ts:589 #### Inherited from @@ -70,7 +70,7 @@ Defined in: ridb\_core.d.ts:361 > `readonly` **dbName**: `string` -Defined in: ridb\_core.d.ts:358 +Defined in: ridb\_core.d.ts:586 #### Inherited from @@ -82,7 +82,7 @@ Defined in: ridb\_core.d.ts:358 > `readonly` **options**: [`BaseStorageOptions`](../type-aliases/BaseStorageOptions.md) -Defined in: ridb\_core.d.ts:360 +Defined in: ridb\_core.d.ts:588 #### Inherited from @@ -94,7 +94,7 @@ Defined in: ridb\_core.d.ts:360 > `readonly` **schemas**: `Record`\\> -Defined in: ridb\_core.d.ts:359 +Defined in: ridb\_core.d.ts:587 #### Inherited from @@ -106,7 +106,7 @@ Defined in: ridb\_core.d.ts:359 > **addIndexSchemas**(): `null` -Defined in: ridb\_core.d.ts:371 +Defined in: ridb\_core.d.ts:599 #### Returns @@ -122,7 +122,7 @@ Defined in: ridb\_core.d.ts:371 > **close**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:363 +Defined in: ridb\_core.d.ts:591 #### Returns @@ -138,7 +138,7 @@ Defined in: ridb\_core.d.ts:363 > **count**(`colectionName`, `query`, `options?`): `Promise`\<`number`\> -Defined in: ridb\_core.d.ts:364 +Defined in: ridb\_core.d.ts:592 #### Parameters @@ -168,7 +168,7 @@ keyof `T` > **find**(`collectionName`, `query`, `options?`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>[]\> -Defined in: ridb\_core.d.ts:366 +Defined in: ridb\_core.d.ts:594 #### Parameters @@ -198,7 +198,7 @@ keyof `T` > **findDocumentById**(`collectionName`, `id`): `Promise`\<`null` \| [`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>\> -Defined in: ridb\_core.d.ts:365 +Defined in: ridb\_core.d.ts:593 #### Parameters @@ -224,7 +224,7 @@ keyof `T` > **free**(): `void` -Defined in: ridb\_core.d.ts:624 +Defined in: ridb\_core.d.ts:172 Frees the resources used by the in-memory storage. @@ -238,7 +238,7 @@ Frees the resources used by the in-memory storage. > **getOption**(`name`): `undefined` \| `string` \| `number` \| `boolean` -Defined in: ridb\_core.d.ts:368 +Defined in: ridb\_core.d.ts:596 #### Parameters @@ -260,7 +260,7 @@ Defined in: ridb\_core.d.ts:368 > **getSchema**(`name`): [`Schema`](Schema.md)\<`any`\> -Defined in: ridb\_core.d.ts:369 +Defined in: ridb\_core.d.ts:597 #### Parameters @@ -282,7 +282,7 @@ Defined in: ridb\_core.d.ts:369 > **start**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:362 +Defined in: ridb\_core.d.ts:590 #### Returns @@ -298,7 +298,7 @@ Defined in: ridb\_core.d.ts:362 > **write**(`op`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>\> -Defined in: ridb\_core.d.ts:367 +Defined in: ridb\_core.d.ts:595 #### Parameters @@ -320,7 +320,7 @@ Defined in: ridb\_core.d.ts:367 > `static` **create**\<`SchemasCreate`\>(`dbName`, `schemas`): `Promise`\<`InMemory`\<`SchemasCreate`\>\> -Defined in: ridb\_core.d.ts:626 +Defined in: ridb\_core.d.ts:174 #### Type Parameters diff --git a/docs/@trust0/ridb-core/classes/IndexDB.md b/docs/@trust0/ridb-core/classes/IndexDB.md index c3c5b5de..5885068c 100644 --- a/docs/@trust0/ridb-core/classes/IndexDB.md +++ b/docs/@trust0/ridb-core/classes/IndexDB.md @@ -6,7 +6,7 @@ # Class: IndexDB\ -Defined in: ridb\_core.d.ts:678 +Defined in: ridb\_core.d.ts:145 Represents an IndexDB storage system extending the base storage functionality. @@ -28,7 +28,7 @@ The schema type. > **new IndexDB**\<`T`\>(`dbName`, `schemas`, `options?`): `IndexDB`\<`T`\> -Defined in: ridb\_core.d.ts:353 +Defined in: ridb\_core.d.ts:581 #### Parameters @@ -58,7 +58,7 @@ Defined in: ridb\_core.d.ts:353 > `readonly` **core**: [`CoreStorage`](CoreStorage.md) -Defined in: ridb\_core.d.ts:361 +Defined in: ridb\_core.d.ts:589 #### Inherited from @@ -70,7 +70,7 @@ Defined in: ridb\_core.d.ts:361 > `readonly` **dbName**: `string` -Defined in: ridb\_core.d.ts:358 +Defined in: ridb\_core.d.ts:586 #### Inherited from @@ -82,7 +82,7 @@ Defined in: ridb\_core.d.ts:358 > `readonly` **options**: [`BaseStorageOptions`](../type-aliases/BaseStorageOptions.md) -Defined in: ridb\_core.d.ts:360 +Defined in: ridb\_core.d.ts:588 #### Inherited from @@ -94,7 +94,7 @@ Defined in: ridb\_core.d.ts:360 > `readonly` **schemas**: `Record`\\> -Defined in: ridb\_core.d.ts:359 +Defined in: ridb\_core.d.ts:587 #### Inherited from @@ -106,7 +106,7 @@ Defined in: ridb\_core.d.ts:359 > **addIndexSchemas**(): `null` -Defined in: ridb\_core.d.ts:371 +Defined in: ridb\_core.d.ts:599 #### Returns @@ -122,7 +122,7 @@ Defined in: ridb\_core.d.ts:371 > **close**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:363 +Defined in: ridb\_core.d.ts:591 #### Returns @@ -138,7 +138,7 @@ Defined in: ridb\_core.d.ts:363 > **count**(`colectionName`, `query`, `options?`): `Promise`\<`number`\> -Defined in: ridb\_core.d.ts:364 +Defined in: ridb\_core.d.ts:592 #### Parameters @@ -168,7 +168,7 @@ keyof `T` > **find**(`collectionName`, `query`, `options?`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>[]\> -Defined in: ridb\_core.d.ts:366 +Defined in: ridb\_core.d.ts:594 #### Parameters @@ -198,7 +198,7 @@ keyof `T` > **findDocumentById**(`collectionName`, `id`): `Promise`\<`null` \| [`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>\> -Defined in: ridb\_core.d.ts:365 +Defined in: ridb\_core.d.ts:593 #### Parameters @@ -224,7 +224,7 @@ keyof `T` > **free**(): `void` -Defined in: ridb\_core.d.ts:682 +Defined in: ridb\_core.d.ts:149 Frees the resources used by the in-memory storage. @@ -238,7 +238,7 @@ Frees the resources used by the in-memory storage. > **getOption**(`name`): `undefined` \| `string` \| `number` \| `boolean` -Defined in: ridb\_core.d.ts:368 +Defined in: ridb\_core.d.ts:596 #### Parameters @@ -260,7 +260,7 @@ Defined in: ridb\_core.d.ts:368 > **getSchema**(`name`): [`Schema`](Schema.md)\<`any`\> -Defined in: ridb\_core.d.ts:369 +Defined in: ridb\_core.d.ts:597 #### Parameters @@ -282,7 +282,7 @@ Defined in: ridb\_core.d.ts:369 > **start**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:362 +Defined in: ridb\_core.d.ts:590 #### Returns @@ -298,7 +298,7 @@ Defined in: ridb\_core.d.ts:362 > **write**(`op`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`T`\[keyof `T`\]\>\> -Defined in: ridb\_core.d.ts:367 +Defined in: ridb\_core.d.ts:595 #### Parameters @@ -320,7 +320,7 @@ Defined in: ridb\_core.d.ts:367 > `static` **create**\<`SchemasCreate`\>(`dbName`, `schemas`): `Promise`\<`IndexDB`\<`SchemasCreate`\>\> -Defined in: ridb\_core.d.ts:684 +Defined in: ridb\_core.d.ts:151 #### Type Parameters diff --git a/docs/@trust0/ridb-core/classes/Property.md b/docs/@trust0/ridb-core/classes/Property.md index ba1d7e79..7df48814 100644 --- a/docs/@trust0/ridb-core/classes/Property.md +++ b/docs/@trust0/ridb-core/classes/Property.md @@ -6,7 +6,7 @@ # Class: Property -Defined in: ridb\_core.d.ts:699 +Defined in: ridb\_core.d.ts:79 Represents a property within a schema, including various constraints and nested properties. @@ -26,7 +26,7 @@ Represents a property within a schema, including various constraints and nested > `readonly` `optional` **default**: `any` -Defined in: ridb\_core.d.ts:748 +Defined in: ridb\_core.d.ts:128 An optional default value for the property. @@ -36,7 +36,7 @@ An optional default value for the property. > `readonly` `optional` **items**: `Property` -Defined in: ridb\_core.d.ts:718 +Defined in: ridb\_core.d.ts:98 An optional array of nested properties for array-type properties. @@ -46,7 +46,7 @@ An optional array of nested properties for array-type properties. > `readonly` `optional` **maxItems**: `number` -Defined in: ridb\_core.d.ts:723 +Defined in: ridb\_core.d.ts:103 The maximum number of items for array-type properties, if applicable. @@ -56,7 +56,7 @@ The maximum number of items for array-type properties, if applicable. > `readonly` `optional` **maxLength**: `number` -Defined in: ridb\_core.d.ts:733 +Defined in: ridb\_core.d.ts:113 The maximum length for string-type properties, if applicable. @@ -66,7 +66,7 @@ The maximum length for string-type properties, if applicable. > `readonly` `optional` **minItems**: `number` -Defined in: ridb\_core.d.ts:728 +Defined in: ridb\_core.d.ts:108 The minimum number of items for array-type properties, if applicable. @@ -76,7 +76,7 @@ The minimum number of items for array-type properties, if applicable. > `readonly` `optional` **minLength**: `number` -Defined in: ridb\_core.d.ts:738 +Defined in: ridb\_core.d.ts:118 The minimum length for string-type properties, if applicable. @@ -86,7 +86,7 @@ The minimum length for string-type properties, if applicable. > `readonly` `optional` **primaryKey**: `string` -Defined in: ridb\_core.d.ts:713 +Defined in: ridb\_core.d.ts:93 The primary key of the property, if applicable. @@ -96,7 +96,7 @@ The primary key of the property, if applicable. > `readonly` `optional` **properties**: `object` -Defined in: ridb\_core.d.ts:753 +Defined in: ridb\_core.d.ts:133 An optional map of nested properties for object-type properties. @@ -110,7 +110,7 @@ An optional map of nested properties for object-type properties. > `readonly` `optional` **required**: `boolean` -Defined in: ridb\_core.d.ts:743 +Defined in: ridb\_core.d.ts:123 An optional array of required fields for object-type properties. @@ -120,7 +120,7 @@ An optional array of required fields for object-type properties. > `readonly` **type**: `SchemaFieldType` -Defined in: ridb\_core.d.ts:703 +Defined in: ridb\_core.d.ts:83 The type of the property. @@ -130,6 +130,6 @@ The type of the property. > `readonly` `optional` **version**: `number` -Defined in: ridb\_core.d.ts:708 +Defined in: ridb\_core.d.ts:88 The version of the property, if applicable. diff --git a/docs/@trust0/ridb-core/classes/Query.md b/docs/@trust0/ridb-core/classes/Query.md index e7270214..2339b6c4 100644 --- a/docs/@trust0/ridb-core/classes/Query.md +++ b/docs/@trust0/ridb-core/classes/Query.md @@ -6,7 +6,7 @@ # Class: Query\ -Defined in: ridb\_core.d.ts:405 +Defined in: ridb\_core.d.ts:233 ## Type Parameters @@ -20,7 +20,7 @@ Defined in: ridb\_core.d.ts:405 > **new Query**\<`T`\>(`query`, `schema`): `Query`\<`T`\> -Defined in: ridb\_core.d.ts:406 +Defined in: ridb\_core.d.ts:234 #### Parameters @@ -42,4 +42,4 @@ Defined in: ridb\_core.d.ts:406 > `readonly` **query**: [`QueryType`](../type-aliases/QueryType.md)\<`T`\> -Defined in: ridb\_core.d.ts:407 +Defined in: ridb\_core.d.ts:235 diff --git a/docs/@trust0/ridb-core/classes/Schema.md b/docs/@trust0/ridb-core/classes/Schema.md index 506092f5..bb00bd3c 100644 --- a/docs/@trust0/ridb-core/classes/Schema.md +++ b/docs/@trust0/ridb-core/classes/Schema.md @@ -6,7 +6,7 @@ # Class: Schema\ -Defined in: ridb\_core.d.ts:457 +Defined in: ridb\_core.d.ts:649 Represents a schema, including its definition and related methods. You may be trying to build a storage, in any other can u won't need access tho this class. @@ -45,7 +45,7 @@ The schema type. > `readonly` `optional` **encrypted**: `Extract`\[] -Defined in: ridb\_core.d.ts:498 +Defined in: ridb\_core.d.ts:690 An optional array of encrypted fields. @@ -55,7 +55,7 @@ An optional array of encrypted fields. > `readonly` `optional` **indexes**: `Extract`\[] -Defined in: ridb\_core.d.ts:493 +Defined in: ridb\_core.d.ts:685 An optional array of indexes. @@ -65,7 +65,7 @@ An optional array of indexes. > `readonly` **primaryKey**: `string` -Defined in: ridb\_core.d.ts:480 +Defined in: ridb\_core.d.ts:672 The primary key of the schema. @@ -75,7 +75,7 @@ The primary key of the schema. > `readonly` **properties**: \{ \[K in string \| number \| symbol as T\["properties"\]\[K\]\["required"\] extends false \| (T\["properties"\]\[K\]\["default"\] extends undefined ? true : false) ? K : never\]?: T\["properties"\]\[K\] \} & \{ \[K in string \| number \| symbol as T\["properties"\]\[K\]\["required"\] extends false ? never : K\]: T\["properties"\]\[K\] \} -Defined in: ridb\_core.d.ts:503 +Defined in: ridb\_core.d.ts:695 The properties defined in the schema. @@ -85,7 +85,7 @@ The properties defined in the schema. > **schema**: `Schema`\<`T`\> -Defined in: ridb\_core.d.ts:461 +Defined in: ridb\_core.d.ts:653 The schema definition. @@ -95,7 +95,7 @@ The schema definition. > `readonly` **type**: `SchemaFieldType` -Defined in: ridb\_core.d.ts:485 +Defined in: ridb\_core.d.ts:677 The type of the schema. @@ -105,7 +105,7 @@ The type of the schema. > `readonly` **version**: `number` -Defined in: ridb\_core.d.ts:475 +Defined in: ridb\_core.d.ts:667 The version of the schema. @@ -115,7 +115,7 @@ The version of the schema. > **toJSON**(): [`SchemaType`](../type-aliases/SchemaType.md) -Defined in: ridb\_core.d.ts:513 +Defined in: ridb\_core.d.ts:705 Converts the schema to a JSON representation. @@ -131,7 +131,7 @@ The JSON representation of the schema. > **validate**(`document`): `boolean` -Defined in: ridb\_core.d.ts:515 +Defined in: ridb\_core.d.ts:707 #### Parameters @@ -149,7 +149,7 @@ Defined in: ridb\_core.d.ts:515 > `static` **create**\<`TS`\>(`definition`): `Schema`\<`TS`\> -Defined in: ridb\_core.d.ts:470 +Defined in: ridb\_core.d.ts:662 Creates a new `Schema` instance from the provided definition. diff --git a/docs/@trust0/ridb-core/classes/StorageInternal.md b/docs/@trust0/ridb-core/classes/StorageInternal.md index 95e40812..5584e9bd 100644 --- a/docs/@trust0/ridb-core/classes/StorageInternal.md +++ b/docs/@trust0/ridb-core/classes/StorageInternal.md @@ -6,7 +6,7 @@ # Class: `abstract` StorageInternal\ -Defined in: ridb\_core.d.ts:646 +Defined in: ridb\_core.d.ts:540 ## Extended by @@ -24,7 +24,7 @@ Defined in: ridb\_core.d.ts:646 > **new StorageInternal**\<`Schemas`\>(`name`, `schemas`): `StorageInternal`\<`Schemas`\> -Defined in: ridb\_core.d.ts:647 +Defined in: ridb\_core.d.ts:541 #### Parameters @@ -46,7 +46,7 @@ Defined in: ridb\_core.d.ts:647 > `abstract` **close**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:652 +Defined in: ridb\_core.d.ts:546 #### Returns @@ -58,7 +58,7 @@ Defined in: ridb\_core.d.ts:652 > `abstract` **count**(`colectionName`, `query`, `options?`): `Promise`\<`number`\> -Defined in: ridb\_core.d.ts:653 +Defined in: ridb\_core.d.ts:547 #### Parameters @@ -84,7 +84,7 @@ keyof `Schemas` > `abstract` **find**(`collectionName`, `query`, `options?`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>[]\> -Defined in: ridb\_core.d.ts:662 +Defined in: ridb\_core.d.ts:556 #### Parameters @@ -110,7 +110,7 @@ keyof `Schemas` > `abstract` **findDocumentById**(`collectionName`, `id`): `Promise`\<`null` \| [`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>\> -Defined in: ridb\_core.d.ts:658 +Defined in: ridb\_core.d.ts:552 #### Parameters @@ -132,7 +132,7 @@ keyof `Schemas` > `abstract` **start**(): `Promise`\<`void`\> -Defined in: ridb\_core.d.ts:651 +Defined in: ridb\_core.d.ts:545 #### Returns @@ -144,7 +144,7 @@ Defined in: ridb\_core.d.ts:651 > `abstract` **write**(`op`): `Promise`\<[`Doc`](../type-aliases/Doc.md)\<`Schemas`\[keyof `Schemas`\]\>\> -Defined in: ridb\_core.d.ts:667 +Defined in: ridb\_core.d.ts:561 #### Parameters diff --git a/docs/@trust0/ridb-core/interfaces/InitOutput.md b/docs/@trust0/ridb-core/interfaces/InitOutput.md index 6f3263dd..e5e726cd 100644 --- a/docs/@trust0/ridb-core/interfaces/InitOutput.md +++ b/docs/@trust0/ridb-core/interfaces/InitOutput.md @@ -14,7 +14,7 @@ Defined in: ridb\_core.d.ts:868 > `readonly` **\_\_wbg\_baseplugin\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:956 +Defined in: ridb\_core.d.ts:912 #### Parameters @@ -32,7 +32,7 @@ Defined in: ridb\_core.d.ts:956 > `readonly` **\_\_wbg\_basestorage\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:899 +Defined in: ridb\_core.d.ts:989 #### Parameters @@ -50,7 +50,7 @@ Defined in: ridb\_core.d.ts:899 > `readonly` **\_\_wbg\_collection\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:889 +Defined in: ridb\_core.d.ts:957 #### Parameters @@ -68,7 +68,7 @@ Defined in: ridb\_core.d.ts:889 > `readonly` **\_\_wbg\_corestorage\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:888 +Defined in: ridb\_core.d.ts:981 #### Parameters @@ -86,7 +86,7 @@ Defined in: ridb\_core.d.ts:888 > `readonly` **\_\_wbg\_database\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:874 +Defined in: ridb\_core.d.ts:982 #### Parameters @@ -104,7 +104,7 @@ Defined in: ridb\_core.d.ts:874 > `readonly` **\_\_wbg\_indexdb\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:983 +Defined in: ridb\_core.d.ts:894 #### Parameters @@ -122,7 +122,7 @@ Defined in: ridb\_core.d.ts:983 > `readonly` **\_\_wbg\_inmemory\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:963 +Defined in: ridb\_core.d.ts:904 #### Parameters @@ -140,7 +140,7 @@ Defined in: ridb\_core.d.ts:963 > `readonly` **\_\_wbg\_operation\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:881 +Defined in: ridb\_core.d.ts:974 #### Parameters @@ -158,7 +158,7 @@ Defined in: ridb\_core.d.ts:881 > `readonly` **\_\_wbg\_property\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:996 +Defined in: ridb\_core.d.ts:870 #### Parameters @@ -176,7 +176,7 @@ Defined in: ridb\_core.d.ts:996 > `readonly` **\_\_wbg\_query\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:907 +Defined in: ridb\_core.d.ts:919 #### Parameters @@ -194,7 +194,7 @@ Defined in: ridb\_core.d.ts:907 > `readonly` **\_\_wbg\_queryoptions\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:993 +Defined in: ridb\_core.d.ts:971 #### Parameters @@ -212,7 +212,7 @@ Defined in: ridb\_core.d.ts:993 > `readonly` **\_\_wbg\_ridberror\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:971 +Defined in: ridb\_core.d.ts:882 #### Parameters @@ -230,7 +230,7 @@ Defined in: ridb\_core.d.ts:971 > `readonly` **\_\_wbg\_schema\_free**: (`a`) => `void` -Defined in: ridb\_core.d.ts:943 +Defined in: ridb\_core.d.ts:995 #### Parameters @@ -266,7 +266,7 @@ Defined in: ridb\_core.d.ts:1008 > `readonly` **\_\_wbgt\_test\_get\_properties\_array\_values\_10**: (`a`) => `void` -Defined in: ridb\_core.d.ts:918 +Defined in: ridb\_core.d.ts:930 #### Parameters @@ -284,7 +284,7 @@ Defined in: ridb\_core.d.ts:918 > `readonly` **\_\_wbgt\_test\_get\_properties\_deeply\_nested\_12**: (`a`) => `void` -Defined in: ridb\_core.d.ts:920 +Defined in: ridb\_core.d.ts:932 #### Parameters @@ -302,7 +302,7 @@ Defined in: ridb\_core.d.ts:920 > `readonly` **\_\_wbgt\_test\_get\_properties\_empty\_query\_11**: (`a`) => `void` -Defined in: ridb\_core.d.ts:919 +Defined in: ridb\_core.d.ts:931 #### Parameters @@ -320,7 +320,7 @@ Defined in: ridb\_core.d.ts:919 > `readonly` **\_\_wbgt\_test\_get\_properties\_nested\_operators\_9**: (`a`) => `void` -Defined in: ridb\_core.d.ts:917 +Defined in: ridb\_core.d.ts:929 #### Parameters @@ -338,7 +338,7 @@ Defined in: ridb\_core.d.ts:917 > `readonly` **\_\_wbgt\_test\_get\_properties\_simple\_fields\_6**: (`a`) => `void` -Defined in: ridb\_core.d.ts:914 +Defined in: ridb\_core.d.ts:926 #### Parameters @@ -356,7 +356,7 @@ Defined in: ridb\_core.d.ts:914 > `readonly` **\_\_wbgt\_test\_get\_properties\_with\_array\_at\_top\_level\_14**: (`a`) => `void` -Defined in: ridb\_core.d.ts:922 +Defined in: ridb\_core.d.ts:934 #### Parameters @@ -374,7 +374,7 @@ Defined in: ridb\_core.d.ts:922 > `readonly` **\_\_wbgt\_test\_get\_properties\_with\_logical\_operators\_8**: (`a`) => `void` -Defined in: ridb\_core.d.ts:916 +Defined in: ridb\_core.d.ts:928 #### Parameters @@ -392,7 +392,7 @@ Defined in: ridb\_core.d.ts:916 > `readonly` **\_\_wbgt\_test\_get\_properties\_with\_multiple\_same\_props\_13**: (`a`) => `void` -Defined in: ridb\_core.d.ts:921 +Defined in: ridb\_core.d.ts:933 #### Parameters @@ -410,7 +410,7 @@ Defined in: ridb\_core.d.ts:921 > `readonly` **\_\_wbgt\_test\_get\_properties\_with\_operators\_7**: (`a`) => `void` -Defined in: ridb\_core.d.ts:915 +Defined in: ridb\_core.d.ts:927 #### Parameters @@ -428,7 +428,7 @@ Defined in: ridb\_core.d.ts:915 > `readonly` **\_\_wbgt\_test\_invalid\_property\_2**: (`a`) => `void` -Defined in: ridb\_core.d.ts:1007 +Defined in: ridb\_core.d.ts:881 #### Parameters @@ -446,7 +446,7 @@ Defined in: ridb\_core.d.ts:1007 > `readonly` **\_\_wbgt\_test\_invalid\_schema\_5**: (`a`) => `void` -Defined in: ridb\_core.d.ts:955 +Defined in: ridb\_core.d.ts:1007 #### Parameters @@ -464,7 +464,7 @@ Defined in: ridb\_core.d.ts:955 > `readonly` **\_\_wbgt\_test\_property\_creation\_0**: (`a`) => `void` -Defined in: ridb\_core.d.ts:1005 +Defined in: ridb\_core.d.ts:879 #### Parameters @@ -482,7 +482,7 @@ Defined in: ridb\_core.d.ts:1005 > `readonly` **\_\_wbgt\_test\_property\_validation\_1**: (`a`) => `void` -Defined in: ridb\_core.d.ts:1006 +Defined in: ridb\_core.d.ts:880 #### Parameters @@ -500,7 +500,7 @@ Defined in: ridb\_core.d.ts:1006 > `readonly` **\_\_wbgt\_test\_query\_get\_query\_normalization\_complex\_mixed\_22**: (`a`) => `void` -Defined in: ridb\_core.d.ts:930 +Defined in: ridb\_core.d.ts:942 #### Parameters @@ -518,7 +518,7 @@ Defined in: ridb\_core.d.ts:930 > `readonly` **\_\_wbgt\_test\_query\_get\_query\_normalization\_nested\_logical\_operators\_20**: (`a`) => `void` -Defined in: ridb\_core.d.ts:928 +Defined in: ridb\_core.d.ts:940 #### Parameters @@ -536,7 +536,7 @@ Defined in: ridb\_core.d.ts:928 > `readonly` **\_\_wbgt\_test\_query\_get\_query\_normalization\_only\_logical\_operator\_21**: (`a`) => `void` -Defined in: ridb\_core.d.ts:929 +Defined in: ridb\_core.d.ts:941 #### Parameters @@ -554,7 +554,7 @@ Defined in: ridb\_core.d.ts:929 > `readonly` **\_\_wbgt\_test\_query\_get\_query\_normalization\_simple\_attributes\_18**: (`a`) => `void` -Defined in: ridb\_core.d.ts:926 +Defined in: ridb\_core.d.ts:938 #### Parameters @@ -572,7 +572,7 @@ Defined in: ridb\_core.d.ts:926 > `readonly` **\_\_wbgt\_test\_query\_get\_query\_normalization\_with\_logical\_operator\_19**: (`a`) => `void` -Defined in: ridb\_core.d.ts:927 +Defined in: ridb\_core.d.ts:939 #### Parameters @@ -590,7 +590,7 @@ Defined in: ridb\_core.d.ts:927 > `readonly` **\_\_wbgt\_test\_query\_parse\_age\_query\_24**: (`a`) => `void` -Defined in: ridb\_core.d.ts:932 +Defined in: ridb\_core.d.ts:944 #### Parameters @@ -608,7 +608,7 @@ Defined in: ridb\_core.d.ts:932 > `readonly` **\_\_wbgt\_test\_query\_parse\_empty\_logical\_operators\_28**: (`a`) => `void` -Defined in: ridb\_core.d.ts:936 +Defined in: ridb\_core.d.ts:948 #### Parameters @@ -626,7 +626,7 @@ Defined in: ridb\_core.d.ts:936 > `readonly` **\_\_wbgt\_test\_query\_parse\_empty\_query\_23**: (`a`) => `void` -Defined in: ridb\_core.d.ts:931 +Defined in: ridb\_core.d.ts:943 #### Parameters @@ -644,7 +644,7 @@ Defined in: ridb\_core.d.ts:931 > `readonly` **\_\_wbgt\_test\_query\_parse\_eq\_operator\_31**: (`a`) => `void` -Defined in: ridb\_core.d.ts:939 +Defined in: ridb\_core.d.ts:951 #### Parameters @@ -662,7 +662,7 @@ Defined in: ridb\_core.d.ts:939 > `readonly` **\_\_wbgt\_test\_query\_parse\_eq\_operator\_wrong\_type\_32**: (`a`) => `void` -Defined in: ridb\_core.d.ts:940 +Defined in: ridb\_core.d.ts:952 #### Parameters @@ -680,7 +680,7 @@ Defined in: ridb\_core.d.ts:940 > `readonly` **\_\_wbgt\_test\_query\_parse\_in\_operator\_16**: (`a`) => `void` -Defined in: ridb\_core.d.ts:924 +Defined in: ridb\_core.d.ts:936 #### Parameters @@ -698,7 +698,7 @@ Defined in: ridb\_core.d.ts:924 > `readonly` **\_\_wbgt\_test\_query\_parse\_in\_operator\_wrong\_type\_17**: (`a`) => `void` -Defined in: ridb\_core.d.ts:925 +Defined in: ridb\_core.d.ts:937 #### Parameters @@ -716,7 +716,7 @@ Defined in: ridb\_core.d.ts:925 > `readonly` **\_\_wbgt\_test\_query\_parse\_invalid\_in\_operator\_27**: (`a`) => `void` -Defined in: ridb\_core.d.ts:935 +Defined in: ridb\_core.d.ts:947 #### Parameters @@ -734,7 +734,7 @@ Defined in: ridb\_core.d.ts:935 > `readonly` **\_\_wbgt\_test\_query\_parse\_multiple\_operators\_26**: (`a`) => `void` -Defined in: ridb\_core.d.ts:934 +Defined in: ridb\_core.d.ts:946 #### Parameters @@ -752,7 +752,7 @@ Defined in: ridb\_core.d.ts:934 > `readonly` **\_\_wbgt\_test\_query\_parse\_ne\_operator\_33**: (`a`) => `void` -Defined in: ridb\_core.d.ts:941 +Defined in: ridb\_core.d.ts:953 #### Parameters @@ -770,7 +770,7 @@ Defined in: ridb\_core.d.ts:941 > `readonly` **\_\_wbgt\_test\_query\_parse\_ne\_operator\_wrong\_type\_34**: (`a`) => `void` -Defined in: ridb\_core.d.ts:942 +Defined in: ridb\_core.d.ts:954 #### Parameters @@ -788,7 +788,7 @@ Defined in: ridb\_core.d.ts:942 > `readonly` **\_\_wbgt\_test\_query\_parse\_nin\_operator\_29**: (`a`) => `void` -Defined in: ridb\_core.d.ts:937 +Defined in: ridb\_core.d.ts:949 #### Parameters @@ -806,7 +806,7 @@ Defined in: ridb\_core.d.ts:937 > `readonly` **\_\_wbgt\_test\_query\_parse\_nin\_operator\_wrong\_type\_30**: (`a`) => `void` -Defined in: ridb\_core.d.ts:938 +Defined in: ridb\_core.d.ts:950 #### Parameters @@ -824,7 +824,7 @@ Defined in: ridb\_core.d.ts:938 > `readonly` **\_\_wbgt\_test\_query\_parse\_non\_object\_query\_25**: (`a`) => `void` -Defined in: ridb\_core.d.ts:933 +Defined in: ridb\_core.d.ts:945 #### Parameters @@ -842,7 +842,7 @@ Defined in: ridb\_core.d.ts:933 > `readonly` **\_\_wbgt\_test\_query\_parse\_operator\_wrong\_type\_15**: (`a`) => `void` -Defined in: ridb\_core.d.ts:923 +Defined in: ridb\_core.d.ts:935 #### Parameters @@ -860,7 +860,7 @@ Defined in: ridb\_core.d.ts:923 > `readonly` **\_\_wbgt\_test\_schema\_creation\_3**: (`a`) => `void` -Defined in: ridb\_core.d.ts:953 +Defined in: ridb\_core.d.ts:1005 #### Parameters @@ -878,7 +878,7 @@ Defined in: ridb\_core.d.ts:953 > `readonly` **\_\_wbgt\_test\_schema\_validation\_4**: (`a`) => `void` -Defined in: ridb\_core.d.ts:954 +Defined in: ridb\_core.d.ts:1006 #### Parameters @@ -1154,11 +1154,11 @@ Defined in: ridb\_core.d.ts:1021 *** -### \_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_h4e550b82c2b30c7a() +### \_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_hec0cc069f718ed78() -> `readonly` **\_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_h4e550b82c2b30c7a**: (`a`, `b`, `c`) => `void` +> `readonly` **\_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_hec0cc069f718ed78**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1022 +Defined in: ridb\_core.d.ts:1023 #### Parameters @@ -1170,21 +1170,17 @@ Defined in: ridb\_core.d.ts:1022 `number` -##### c - -`number` - #### Returns `void` *** -### \_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_hef4d0d64e714d731() +### \_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_h4e550b82c2b30c7a() -> `readonly` **\_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_hef4d0d64e714d731**: (`a`, `b`, `c`) => `number` +> `readonly` **\_dyn\_core\_\_ops\_\_function\_\_FnMut\_\_A\_\_\_\_Output\_\_\_R\_as\_wasm\_bindgen\_\_closure\_\_WasmClosure\_\_\_describe\_\_invoke\_\_h4e550b82c2b30c7a**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:1023 +Defined in: ridb\_core.d.ts:1022 #### Parameters @@ -1202,7 +1198,7 @@ Defined in: ridb\_core.d.ts:1023 #### Returns -`number` +`void` *** @@ -1236,7 +1232,7 @@ Defined in: ridb\_core.d.ts:1024 > `readonly` **baseplugin\_get\_doc\_create\_hook**: (`a`) => `number` -Defined in: ridb\_core.d.ts:959 +Defined in: ridb\_core.d.ts:915 #### Parameters @@ -1254,7 +1250,7 @@ Defined in: ridb\_core.d.ts:959 > `readonly` **baseplugin\_get\_doc\_recover\_hook**: (`a`) => `number` -Defined in: ridb\_core.d.ts:960 +Defined in: ridb\_core.d.ts:916 #### Parameters @@ -1272,7 +1268,7 @@ Defined in: ridb\_core.d.ts:960 > `readonly` **baseplugin\_name**: (`a`) => `number` -Defined in: ridb\_core.d.ts:958 +Defined in: ridb\_core.d.ts:914 #### Parameters @@ -1290,7 +1286,7 @@ Defined in: ridb\_core.d.ts:958 > `readonly` **baseplugin\_new**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:957 +Defined in: ridb\_core.d.ts:913 #### Parameters @@ -1316,7 +1312,7 @@ Defined in: ridb\_core.d.ts:957 > `readonly` **baseplugin\_set\_doc\_create\_hook**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:961 +Defined in: ridb\_core.d.ts:917 #### Parameters @@ -1338,7 +1334,7 @@ Defined in: ridb\_core.d.ts:961 > `readonly` **baseplugin\_set\_doc\_recover\_hook**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:962 +Defined in: ridb\_core.d.ts:918 #### Parameters @@ -1360,7 +1356,7 @@ Defined in: ridb\_core.d.ts:962 > `readonly` **basestorage\_addIndexSchemas**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:901 +Defined in: ridb\_core.d.ts:991 #### Parameters @@ -1382,7 +1378,7 @@ Defined in: ridb\_core.d.ts:901 > `readonly` **basestorage\_core**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:904 +Defined in: ridb\_core.d.ts:994 #### Parameters @@ -1404,7 +1400,7 @@ Defined in: ridb\_core.d.ts:904 > `readonly` **basestorage\_getOption**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:902 +Defined in: ridb\_core.d.ts:992 #### Parameters @@ -1434,7 +1430,7 @@ Defined in: ridb\_core.d.ts:902 > `readonly` **basestorage\_getSchema**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:903 +Defined in: ridb\_core.d.ts:993 #### Parameters @@ -1464,7 +1460,7 @@ Defined in: ridb\_core.d.ts:903 > `readonly` **basestorage\_new**: (`a`, `b`, `c`, `d`, `e`) => `void` -Defined in: ridb\_core.d.ts:900 +Defined in: ridb\_core.d.ts:990 #### Parameters @@ -1498,7 +1494,7 @@ Defined in: ridb\_core.d.ts:900 > `readonly` **collection\_count**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:894 +Defined in: ridb\_core.d.ts:962 #### Parameters @@ -1524,7 +1520,7 @@ Defined in: ridb\_core.d.ts:894 > `readonly` **collection\_create**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:897 +Defined in: ridb\_core.d.ts:965 #### Parameters @@ -1546,7 +1542,7 @@ Defined in: ridb\_core.d.ts:897 > `readonly` **collection\_delete**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:898 +Defined in: ridb\_core.d.ts:966 #### Parameters @@ -1568,7 +1564,7 @@ Defined in: ridb\_core.d.ts:898 > `readonly` **collection\_find**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:892 +Defined in: ridb\_core.d.ts:960 #### Parameters @@ -1594,7 +1590,7 @@ Defined in: ridb\_core.d.ts:892 > `readonly` **collection\_findById**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:895 +Defined in: ridb\_core.d.ts:963 #### Parameters @@ -1616,7 +1612,7 @@ Defined in: ridb\_core.d.ts:895 > `readonly` **collection\_name**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:890 +Defined in: ridb\_core.d.ts:958 #### Parameters @@ -1638,7 +1634,7 @@ Defined in: ridb\_core.d.ts:890 > `readonly` **collection\_parse\_query\_options**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:893 +Defined in: ridb\_core.d.ts:961 #### Parameters @@ -1664,7 +1660,7 @@ Defined in: ridb\_core.d.ts:893 > `readonly` **collection\_schema**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:891 +Defined in: ridb\_core.d.ts:959 #### Parameters @@ -1686,7 +1682,7 @@ Defined in: ridb\_core.d.ts:891 > `readonly` **collection\_update**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:896 +Defined in: ridb\_core.d.ts:964 #### Parameters @@ -1708,7 +1704,7 @@ Defined in: ridb\_core.d.ts:896 > `readonly` **corestorage\_getIndexes**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:872 +Defined in: ridb\_core.d.ts:969 #### Parameters @@ -1738,7 +1734,7 @@ Defined in: ridb\_core.d.ts:872 > `readonly` **corestorage\_getPrimaryKeyTyped**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:871 +Defined in: ridb\_core.d.ts:968 #### Parameters @@ -1764,7 +1760,7 @@ Defined in: ridb\_core.d.ts:871 > `readonly` **corestorage\_matchesQuery**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:873 +Defined in: ridb\_core.d.ts:970 #### Parameters @@ -1794,7 +1790,7 @@ Defined in: ridb\_core.d.ts:873 > `readonly` **corestorage\_new**: () => `number` -Defined in: ridb\_core.d.ts:870 +Defined in: ridb\_core.d.ts:967 #### Returns @@ -1806,7 +1802,7 @@ Defined in: ridb\_core.d.ts:870 > `readonly` **database\_authenticate**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:878 +Defined in: ridb\_core.d.ts:986 #### Parameters @@ -1832,7 +1828,7 @@ Defined in: ridb\_core.d.ts:878 > `readonly` **database\_close**: (`a`) => `number` -Defined in: ridb\_core.d.ts:876 +Defined in: ridb\_core.d.ts:984 #### Parameters @@ -1850,7 +1846,7 @@ Defined in: ridb\_core.d.ts:876 > `readonly` **database\_collections**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:879 +Defined in: ridb\_core.d.ts:987 #### Parameters @@ -1872,7 +1868,7 @@ Defined in: ridb\_core.d.ts:879 > `readonly` **database\_create**: (`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`) => `number` -Defined in: ridb\_core.d.ts:880 +Defined in: ridb\_core.d.ts:988 #### Parameters @@ -1922,7 +1918,7 @@ Defined in: ridb\_core.d.ts:880 > `readonly` **database\_start**: (`a`) => `number` -Defined in: ridb\_core.d.ts:875 +Defined in: ridb\_core.d.ts:983 #### Parameters @@ -1940,7 +1936,7 @@ Defined in: ridb\_core.d.ts:875 > `readonly` **database\_started**: (`a`) => `number` -Defined in: ridb\_core.d.ts:877 +Defined in: ridb\_core.d.ts:985 #### Parameters @@ -1958,7 +1954,7 @@ Defined in: ridb\_core.d.ts:877 > `readonly` **indexdb\_close**: (`a`) => `number` -Defined in: ridb\_core.d.ts:991 +Defined in: ridb\_core.d.ts:902 #### Parameters @@ -1976,7 +1972,7 @@ Defined in: ridb\_core.d.ts:991 > `readonly` **indexdb\_count**: (`a`, `b`, `c`, `d`, `e`) => `number` -Defined in: ridb\_core.d.ts:990 +Defined in: ridb\_core.d.ts:901 #### Parameters @@ -2010,7 +2006,7 @@ Defined in: ridb\_core.d.ts:990 > `readonly` **indexdb\_create**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:986 +Defined in: ridb\_core.d.ts:897 #### Parameters @@ -2036,7 +2032,7 @@ Defined in: ridb\_core.d.ts:986 > `readonly` **indexdb\_find**: (`a`, `b`, `c`, `d`, `e`) => `number` -Defined in: ridb\_core.d.ts:988 +Defined in: ridb\_core.d.ts:899 #### Parameters @@ -2070,7 +2066,7 @@ Defined in: ridb\_core.d.ts:988 > `readonly` **indexdb\_findDocumentById**: (`a`, `b`, `c`, `d`) => `number` -Defined in: ridb\_core.d.ts:989 +Defined in: ridb\_core.d.ts:900 #### Parameters @@ -2100,7 +2096,7 @@ Defined in: ridb\_core.d.ts:989 > `readonly` **indexdb\_get\_store**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:985 +Defined in: ridb\_core.d.ts:896 #### Parameters @@ -2130,7 +2126,7 @@ Defined in: ridb\_core.d.ts:985 > `readonly` **indexdb\_get\_stores**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:984 +Defined in: ridb\_core.d.ts:895 #### Parameters @@ -2152,7 +2148,7 @@ Defined in: ridb\_core.d.ts:984 > `readonly` **indexdb\_start**: (`a`) => `number` -Defined in: ridb\_core.d.ts:992 +Defined in: ridb\_core.d.ts:903 #### Parameters @@ -2170,7 +2166,7 @@ Defined in: ridb\_core.d.ts:992 > `readonly` **indexdb\_write**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:987 +Defined in: ridb\_core.d.ts:898 #### Parameters @@ -2192,7 +2188,7 @@ Defined in: ridb\_core.d.ts:987 > `readonly` **inmemory\_close**: (`a`) => `number` -Defined in: ridb\_core.d.ts:969 +Defined in: ridb\_core.d.ts:910 #### Parameters @@ -2210,7 +2206,7 @@ Defined in: ridb\_core.d.ts:969 > `readonly` **inmemory\_count**: (`a`, `b`, `c`, `d`, `e`) => `number` -Defined in: ridb\_core.d.ts:968 +Defined in: ridb\_core.d.ts:909 #### Parameters @@ -2244,7 +2240,7 @@ Defined in: ridb\_core.d.ts:968 > `readonly` **inmemory\_create**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:964 +Defined in: ridb\_core.d.ts:905 #### Parameters @@ -2270,7 +2266,7 @@ Defined in: ridb\_core.d.ts:964 > `readonly` **inmemory\_find**: (`a`, `b`, `c`, `d`, `e`) => `number` -Defined in: ridb\_core.d.ts:966 +Defined in: ridb\_core.d.ts:907 #### Parameters @@ -2304,7 +2300,7 @@ Defined in: ridb\_core.d.ts:966 > `readonly` **inmemory\_findDocumentById**: (`a`, `b`, `c`, `d`) => `number` -Defined in: ridb\_core.d.ts:967 +Defined in: ridb\_core.d.ts:908 #### Parameters @@ -2334,7 +2330,7 @@ Defined in: ridb\_core.d.ts:967 > `readonly` **inmemory\_start**: (`a`) => `number` -Defined in: ridb\_core.d.ts:970 +Defined in: ridb\_core.d.ts:911 #### Parameters @@ -2352,7 +2348,7 @@ Defined in: ridb\_core.d.ts:970 > `readonly` **inmemory\_write**: (`a`, `b`) => `number` -Defined in: ridb\_core.d.ts:965 +Defined in: ridb\_core.d.ts:906 #### Parameters @@ -2374,7 +2370,7 @@ Defined in: ridb\_core.d.ts:965 > `readonly` **is\_debug\_mode**: () => `number` -Defined in: ridb\_core.d.ts:906 +Defined in: ridb\_core.d.ts:956 #### Returns @@ -2386,7 +2382,7 @@ Defined in: ridb\_core.d.ts:906 > `readonly` **main\_js**: () => `void` -Defined in: ridb\_core.d.ts:905 +Defined in: ridb\_core.d.ts:955 #### Returns @@ -2406,7 +2402,7 @@ Defined in: ridb\_core.d.ts:869 > `readonly` **operation\_collection**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:882 +Defined in: ridb\_core.d.ts:975 #### Parameters @@ -2428,7 +2424,7 @@ Defined in: ridb\_core.d.ts:882 > `readonly` **operation\_data**: (`a`) => `number` -Defined in: ridb\_core.d.ts:884 +Defined in: ridb\_core.d.ts:977 #### Parameters @@ -2446,7 +2442,7 @@ Defined in: ridb\_core.d.ts:884 > `readonly` **operation\_opType**: (`a`) => `number` -Defined in: ridb\_core.d.ts:883 +Defined in: ridb\_core.d.ts:976 #### Parameters @@ -2464,7 +2460,7 @@ Defined in: ridb\_core.d.ts:883 > `readonly` **operation\_primaryKey**: (`a`) => `number` -Defined in: ridb\_core.d.ts:886 +Defined in: ridb\_core.d.ts:979 #### Parameters @@ -2482,7 +2478,7 @@ Defined in: ridb\_core.d.ts:886 > `readonly` **operation\_primaryKeyField**: (`a`) => `number` -Defined in: ridb\_core.d.ts:885 +Defined in: ridb\_core.d.ts:978 #### Parameters @@ -2500,7 +2496,7 @@ Defined in: ridb\_core.d.ts:885 > `readonly` **operation\_primaryKeyIndex**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:887 +Defined in: ridb\_core.d.ts:980 #### Parameters @@ -2522,7 +2518,7 @@ Defined in: ridb\_core.d.ts:887 > `readonly` **property\_is\_valid**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:997 +Defined in: ridb\_core.d.ts:871 #### Parameters @@ -2544,7 +2540,7 @@ Defined in: ridb\_core.d.ts:997 > `readonly` **property\_items**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:999 +Defined in: ridb\_core.d.ts:873 #### Parameters @@ -2566,7 +2562,7 @@ Defined in: ridb\_core.d.ts:999 > `readonly` **property\_maxItems**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1000 +Defined in: ridb\_core.d.ts:874 #### Parameters @@ -2588,7 +2584,7 @@ Defined in: ridb\_core.d.ts:1000 > `readonly` **property\_maxLength**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1002 +Defined in: ridb\_core.d.ts:876 #### Parameters @@ -2610,7 +2606,7 @@ Defined in: ridb\_core.d.ts:1002 > `readonly` **property\_minItems**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1001 +Defined in: ridb\_core.d.ts:875 #### Parameters @@ -2632,7 +2628,7 @@ Defined in: ridb\_core.d.ts:1001 > `readonly` **property\_minLength**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1003 +Defined in: ridb\_core.d.ts:877 #### Parameters @@ -2654,7 +2650,7 @@ Defined in: ridb\_core.d.ts:1003 > `readonly` **property\_properties**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:1004 +Defined in: ridb\_core.d.ts:878 #### Parameters @@ -2676,7 +2672,7 @@ Defined in: ridb\_core.d.ts:1004 > `readonly` **property\_type**: (`a`) => `number` -Defined in: ridb\_core.d.ts:998 +Defined in: ridb\_core.d.ts:872 #### Parameters @@ -2694,7 +2690,7 @@ Defined in: ridb\_core.d.ts:998 > `readonly` **query\_get**: (`a`, `b`, `c`, `d`) => `void` -Defined in: ridb\_core.d.ts:913 +Defined in: ridb\_core.d.ts:925 #### Parameters @@ -2724,7 +2720,7 @@ Defined in: ridb\_core.d.ts:913 > `readonly` **query\_get\_properties**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:910 +Defined in: ridb\_core.d.ts:922 #### Parameters @@ -2746,7 +2742,7 @@ Defined in: ridb\_core.d.ts:910 > `readonly` **query\_new**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:908 +Defined in: ridb\_core.d.ts:920 #### Parameters @@ -2772,7 +2768,7 @@ Defined in: ridb\_core.d.ts:908 > `readonly` **query\_parse**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:911 +Defined in: ridb\_core.d.ts:923 #### Parameters @@ -2794,7 +2790,7 @@ Defined in: ridb\_core.d.ts:911 > `readonly` **query\_process\_query**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:912 +Defined in: ridb\_core.d.ts:924 #### Parameters @@ -2820,7 +2816,7 @@ Defined in: ridb\_core.d.ts:912 > `readonly` **query\_query**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:909 +Defined in: ridb\_core.d.ts:921 #### Parameters @@ -2842,7 +2838,7 @@ Defined in: ridb\_core.d.ts:909 > `readonly` **queryoptions\_limit**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:994 +Defined in: ridb\_core.d.ts:972 #### Parameters @@ -2864,7 +2860,7 @@ Defined in: ridb\_core.d.ts:994 > `readonly` **queryoptions\_offset**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:995 +Defined in: ridb\_core.d.ts:973 #### Parameters @@ -2886,7 +2882,7 @@ Defined in: ridb\_core.d.ts:995 > `readonly` **ridberror\_authentication**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:979 +Defined in: ridb\_core.d.ts:890 #### Parameters @@ -2912,7 +2908,7 @@ Defined in: ridb\_core.d.ts:979 > `readonly` **ridberror\_code**: (`a`) => `number` -Defined in: ridb\_core.d.ts:974 +Defined in: ridb\_core.d.ts:885 #### Parameters @@ -2930,7 +2926,7 @@ Defined in: ridb\_core.d.ts:974 > `readonly` **ridberror\_error**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:977 +Defined in: ridb\_core.d.ts:888 #### Parameters @@ -2956,7 +2952,7 @@ Defined in: ridb\_core.d.ts:977 > `readonly` **ridberror\_from**: (`a`) => `number` -Defined in: ridb\_core.d.ts:976 +Defined in: ridb\_core.d.ts:887 #### Parameters @@ -2974,7 +2970,7 @@ Defined in: ridb\_core.d.ts:976 > `readonly` **ridberror\_hook**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:982 +Defined in: ridb\_core.d.ts:893 #### Parameters @@ -3000,7 +2996,7 @@ Defined in: ridb\_core.d.ts:982 > `readonly` **ridberror\_message**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:975 +Defined in: ridb\_core.d.ts:886 #### Parameters @@ -3022,7 +3018,7 @@ Defined in: ridb\_core.d.ts:975 > `readonly` **ridberror\_new**: (`a`, `b`, `c`, `d`, `e`) => `number` -Defined in: ridb\_core.d.ts:972 +Defined in: ridb\_core.d.ts:883 #### Parameters @@ -3056,7 +3052,7 @@ Defined in: ridb\_core.d.ts:972 > `readonly` **ridberror\_query**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:978 +Defined in: ridb\_core.d.ts:889 #### Parameters @@ -3082,7 +3078,7 @@ Defined in: ridb\_core.d.ts:978 > `readonly` **ridberror\_serialisation**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:980 +Defined in: ridb\_core.d.ts:891 #### Parameters @@ -3108,7 +3104,7 @@ Defined in: ridb\_core.d.ts:980 > `readonly` **ridberror\_type**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:973 +Defined in: ridb\_core.d.ts:884 #### Parameters @@ -3130,7 +3126,7 @@ Defined in: ridb\_core.d.ts:973 > `readonly` **ridberror\_validation**: (`a`, `b`, `c`) => `number` -Defined in: ridb\_core.d.ts:981 +Defined in: ridb\_core.d.ts:892 #### Parameters @@ -3156,7 +3152,7 @@ Defined in: ridb\_core.d.ts:981 > `readonly` **schema\_create**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:946 +Defined in: ridb\_core.d.ts:998 #### Parameters @@ -3178,7 +3174,7 @@ Defined in: ridb\_core.d.ts:946 > `readonly` **schema\_encrypted**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:951 +Defined in: ridb\_core.d.ts:1003 #### Parameters @@ -3200,7 +3196,7 @@ Defined in: ridb\_core.d.ts:951 > `readonly` **schema\_indexes**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:950 +Defined in: ridb\_core.d.ts:1002 #### Parameters @@ -3222,7 +3218,7 @@ Defined in: ridb\_core.d.ts:950 > `readonly` **schema\_is\_valid**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:945 +Defined in: ridb\_core.d.ts:997 #### Parameters @@ -3244,7 +3240,7 @@ Defined in: ridb\_core.d.ts:945 > `readonly` **schema\_primaryKey**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:948 +Defined in: ridb\_core.d.ts:1000 #### Parameters @@ -3266,7 +3262,7 @@ Defined in: ridb\_core.d.ts:948 > `readonly` **schema\_properties**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:952 +Defined in: ridb\_core.d.ts:1004 #### Parameters @@ -3288,7 +3284,7 @@ Defined in: ridb\_core.d.ts:952 > `readonly` **schema\_type**: (`a`, `b`) => `void` -Defined in: ridb\_core.d.ts:949 +Defined in: ridb\_core.d.ts:1001 #### Parameters @@ -3310,7 +3306,7 @@ Defined in: ridb\_core.d.ts:949 > `readonly` **schema\_validate**: (`a`, `b`, `c`) => `void` -Defined in: ridb\_core.d.ts:944 +Defined in: ridb\_core.d.ts:996 #### Parameters @@ -3336,7 +3332,7 @@ Defined in: ridb\_core.d.ts:944 > `readonly` **schema\_version**: (`a`) => `number` -Defined in: ridb\_core.d.ts:947 +Defined in: ridb\_core.d.ts:999 #### Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/AnyVersionGreaterThan1.md b/docs/@trust0/ridb-core/type-aliases/AnyVersionGreaterThan1.md index 57182b08..5fd04fd6 100644 --- a/docs/@trust0/ridb-core/type-aliases/AnyVersionGreaterThan1.md +++ b/docs/@trust0/ridb-core/type-aliases/AnyVersionGreaterThan1.md @@ -8,7 +8,7 @@ > **AnyVersionGreaterThan1**\<`T`\> = `true` *extends* `{ [K in keyof T]: IsVersionGreaterThan0 }`\[keyof `T`\] ? `true` : `false` -Defined in: ridb\_core.d.ts:535 +Defined in: ridb\_core.d.ts:727 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/BasePluginOptions.md b/docs/@trust0/ridb-core/type-aliases/BasePluginOptions.md index d59cd52f..083ce83f 100644 --- a/docs/@trust0/ridb-core/type-aliases/BasePluginOptions.md +++ b/docs/@trust0/ridb-core/type-aliases/BasePluginOptions.md @@ -8,7 +8,7 @@ > **BasePluginOptions** = `object` -Defined in: ridb\_core.d.ts:574 +Defined in: ridb\_core.d.ts:192 ## Properties @@ -16,7 +16,7 @@ Defined in: ridb\_core.d.ts:574 > `optional` **docCreateHook**: [`Hook`](Hook.md) -Defined in: ridb\_core.d.ts:575 +Defined in: ridb\_core.d.ts:193 *** @@ -24,4 +24,4 @@ Defined in: ridb\_core.d.ts:575 > `optional` **docRecoverHook**: [`Hook`](Hook.md) -Defined in: ridb\_core.d.ts:576 +Defined in: ridb\_core.d.ts:194 diff --git a/docs/@trust0/ridb-core/type-aliases/BaseStorageOptions.md b/docs/@trust0/ridb-core/type-aliases/BaseStorageOptions.md index d61e34aa..0bfe0e53 100644 --- a/docs/@trust0/ridb-core/type-aliases/BaseStorageOptions.md +++ b/docs/@trust0/ridb-core/type-aliases/BaseStorageOptions.md @@ -8,7 +8,7 @@ > **BaseStorageOptions** = `object` -Defined in: ridb\_core.d.ts:339 +Defined in: ridb\_core.d.ts:567 ## Index Signature diff --git a/docs/@trust0/ridb-core/type-aliases/CreateDoc.md b/docs/@trust0/ridb-core/type-aliases/CreateDoc.md index 46d44744..24bd32b3 100644 --- a/docs/@trust0/ridb-core/type-aliases/CreateDoc.md +++ b/docs/@trust0/ridb-core/type-aliases/CreateDoc.md @@ -8,7 +8,7 @@ > **CreateDoc**\<`T`\> = `{ [K in keyof T["properties"] as IsOptional extends true ? K : never]?: ExtractType }` & `{ [K in keyof T["properties"] as IsOptional extends true ? never : K]: ExtractType }` & `object` -Defined in: ridb\_core.d.ts:272 +Defined in: ridb\_core.d.ts:321 CreateDoc is a utility type for document creation that properly handles required vs optional fields during the creation process. Fields with default values or required: false become optional. diff --git a/docs/@trust0/ridb-core/type-aliases/CreateStorage.md b/docs/@trust0/ridb-core/type-aliases/CreateStorage.md index 14e81b49..badc9373 100644 --- a/docs/@trust0/ridb-core/type-aliases/CreateStorage.md +++ b/docs/@trust0/ridb-core/type-aliases/CreateStorage.md @@ -8,7 +8,7 @@ > **CreateStorage** = \<`T`\>(`records`) => `Promise`\<[`BaseStorage`](../classes/BaseStorage.md)\<`T`\>\> -Defined in: ridb\_core.d.ts:176 +Defined in: ridb\_core.d.ts:515 Represents a function type for creating storage with the provided schema type records. diff --git a/docs/@trust0/ridb-core/type-aliases/Doc.md b/docs/@trust0/ridb-core/type-aliases/Doc.md index 409f9b08..d4a1efbf 100644 --- a/docs/@trust0/ridb-core/type-aliases/Doc.md +++ b/docs/@trust0/ridb-core/type-aliases/Doc.md @@ -8,7 +8,7 @@ > **Doc**\<`T`\> = `{ [K in keyof T["properties"]]: ExtractType }` & `object` -Defined in: ridb\_core.d.ts:257 +Defined in: ridb\_core.d.ts:306 Doc is a utility type that transforms a schema type into a document type where each property is mapped to its extracted type. diff --git a/docs/@trust0/ridb-core/type-aliases/EnumerateFrom1To.md b/docs/@trust0/ridb-core/type-aliases/EnumerateFrom1To.md index b04c37d1..08d5fbb6 100644 --- a/docs/@trust0/ridb-core/type-aliases/EnumerateFrom1To.md +++ b/docs/@trust0/ridb-core/type-aliases/EnumerateFrom1To.md @@ -8,7 +8,7 @@ > **EnumerateFrom1To**\<`N`\> = `Exclude`\<[`EnumerateUpTo`](EnumerateUpTo.md)\<`N`\>, `0`\> \| `N` *extends* `0` ? `never` : `N` -Defined in: ridb\_core.d.ts:527 +Defined in: ridb\_core.d.ts:719 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/EnumerateUpTo.md b/docs/@trust0/ridb-core/type-aliases/EnumerateUpTo.md index 4b70153b..fdaa216a 100644 --- a/docs/@trust0/ridb-core/type-aliases/EnumerateUpTo.md +++ b/docs/@trust0/ridb-core/type-aliases/EnumerateUpTo.md @@ -8,7 +8,7 @@ > **EnumerateUpTo**\<`N`, `Acc`\> = `Acc`\[`"length"`\] *extends* `N` ? `Acc`\[`number`\] : `EnumerateUpTo`\<`N`, \[`...Acc`, `Acc`\[`"length"`\]\]\> -Defined in: ridb\_core.d.ts:520 +Defined in: ridb\_core.d.ts:712 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/ExtractType.md b/docs/@trust0/ridb-core/type-aliases/ExtractType.md index 8a22e988..cfaffe15 100644 --- a/docs/@trust0/ridb-core/type-aliases/ExtractType.md +++ b/docs/@trust0/ridb-core/type-aliases/ExtractType.md @@ -8,7 +8,7 @@ > **ExtractType**\<`T`\> = `T` *extends* `"string"` ? `string` : `T` *extends* `"number"` ? `number` : `T` *extends* `"boolean"` ? `boolean` : `T` *extends* `"object"` ? `object` : `T` *extends* `"array"` ? `any`[] : `undefined` -Defined in: ridb\_core.d.ts:235 +Defined in: ridb\_core.d.ts:284 ExtractType is a utility type that maps a string representing a basic data type to the actual TypeScript type. diff --git a/docs/@trust0/ridb-core/type-aliases/Hook.md b/docs/@trust0/ridb-core/type-aliases/Hook.md index cc37edc1..c0b2934f 100644 --- a/docs/@trust0/ridb-core/type-aliases/Hook.md +++ b/docs/@trust0/ridb-core/type-aliases/Hook.md @@ -8,7 +8,7 @@ > **Hook** = (`schema`, `migration`, `doc`) => [`Doc`](Doc.md)\<[`SchemaType`](SchemaType.md)\> -Defined in: ridb\_core.d.ts:568 +Defined in: ridb\_core.d.ts:186 ## Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/InOperator.md b/docs/@trust0/ridb-core/type-aliases/InOperator.md index 9fdef106..950c6963 100644 --- a/docs/@trust0/ridb-core/type-aliases/InOperator.md +++ b/docs/@trust0/ridb-core/type-aliases/InOperator.md @@ -8,7 +8,7 @@ > **InOperator**\<`T`\> = `object` -Defined in: ridb\_core.d.ts:385 +Defined in: ridb\_core.d.ts:213 ## Type Parameters @@ -22,4 +22,4 @@ Defined in: ridb\_core.d.ts:385 > `optional` **$in**: `T`[] -Defined in: ridb\_core.d.ts:385 +Defined in: ridb\_core.d.ts:213 diff --git a/docs/@trust0/ridb-core/type-aliases/InternalsRecord.md b/docs/@trust0/ridb-core/type-aliases/InternalsRecord.md index b05f85a9..c4dceeca 100644 --- a/docs/@trust0/ridb-core/type-aliases/InternalsRecord.md +++ b/docs/@trust0/ridb-core/type-aliases/InternalsRecord.md @@ -8,7 +8,7 @@ > **InternalsRecord** = `object` -Defined in: ridb\_core.d.ts:220 +Defined in: ridb\_core.d.ts:269 ## Index Signature diff --git a/docs/@trust0/ridb-core/type-aliases/IsOptional.md b/docs/@trust0/ridb-core/type-aliases/IsOptional.md index 672e56e3..d19425ea 100644 --- a/docs/@trust0/ridb-core/type-aliases/IsOptional.md +++ b/docs/@trust0/ridb-core/type-aliases/IsOptional.md @@ -8,7 +8,7 @@ > **IsOptional**\<`T`\> = `T` *extends* `object` ? `T` *extends* `object` ? `false` : `true` : `true` -Defined in: ridb\_core.d.ts:243 +Defined in: ridb\_core.d.ts:292 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/IsVersionGreaterThan0.md b/docs/@trust0/ridb-core/type-aliases/IsVersionGreaterThan0.md index 2c271b25..3fd4752a 100644 --- a/docs/@trust0/ridb-core/type-aliases/IsVersionGreaterThan0.md +++ b/docs/@trust0/ridb-core/type-aliases/IsVersionGreaterThan0.md @@ -8,7 +8,7 @@ > **IsVersionGreaterThan0**\<`V`\> = `V` *extends* `0` ? `false` : `true` -Defined in: ridb\_core.d.ts:531 +Defined in: ridb\_core.d.ts:723 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/LogicalOperators.md b/docs/@trust0/ridb-core/type-aliases/LogicalOperators.md index 2703f363..f21e8641 100644 --- a/docs/@trust0/ridb-core/type-aliases/LogicalOperators.md +++ b/docs/@trust0/ridb-core/type-aliases/LogicalOperators.md @@ -8,7 +8,7 @@ > **LogicalOperators**\<`T`\> = `object` -Defined in: ridb\_core.d.ts:392 +Defined in: ridb\_core.d.ts:220 ## Type Parameters @@ -22,7 +22,7 @@ Defined in: ridb\_core.d.ts:392 > `optional` **$and**: `Partial`\<[`QueryType`](QueryType.md)\<`T`\>\>[] -Defined in: ridb\_core.d.ts:393 +Defined in: ridb\_core.d.ts:221 *** @@ -30,4 +30,4 @@ Defined in: ridb\_core.d.ts:393 > `optional` **$or**: `Partial`\<[`QueryType`](QueryType.md)\<`T`\>\>[] -Defined in: ridb\_core.d.ts:394 +Defined in: ridb\_core.d.ts:222 diff --git a/docs/@trust0/ridb-core/type-aliases/MigrationFunction.md b/docs/@trust0/ridb-core/type-aliases/MigrationFunction.md index 35aed539..d511c22c 100644 --- a/docs/@trust0/ridb-core/type-aliases/MigrationFunction.md +++ b/docs/@trust0/ridb-core/type-aliases/MigrationFunction.md @@ -8,7 +8,7 @@ > **MigrationFunction**\<`T`\> = (`doc`) => [`Doc`](Doc.md)\<`T`\> -Defined in: ridb\_core.d.ts:541 +Defined in: ridb\_core.d.ts:733 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchema.md b/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchema.md index 7eb216ae..64a61520 100644 --- a/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchema.md +++ b/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchema.md @@ -8,7 +8,7 @@ > **MigrationPathsForSchema**\<`T`\> = `T`\[`"version"`\] *extends* `0` ? `object` : `{ [K in EnumerateFrom1To]: MigrationFunction }` -Defined in: ridb\_core.d.ts:543 +Defined in: ridb\_core.d.ts:735 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchemas.md b/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchemas.md index 7057ea04..ff73695c 100644 --- a/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchemas.md +++ b/docs/@trust0/ridb-core/type-aliases/MigrationPathsForSchemas.md @@ -8,7 +8,7 @@ > **MigrationPathsForSchemas**\<`T`\> = `{ [K in keyof T]: MigrationPathsForSchema }` -Defined in: ridb\_core.d.ts:550 +Defined in: ridb\_core.d.ts:742 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/MigrationsParameter.md b/docs/@trust0/ridb-core/type-aliases/MigrationsParameter.md index dfecf298..0a5288f8 100644 --- a/docs/@trust0/ridb-core/type-aliases/MigrationsParameter.md +++ b/docs/@trust0/ridb-core/type-aliases/MigrationsParameter.md @@ -8,7 +8,7 @@ > **MigrationsParameter**\<`T`\> = [`AnyVersionGreaterThan1`](AnyVersionGreaterThan1.md)\<`T`\> *extends* `true` ? `object` : `object` -Defined in: ridb\_core.d.ts:556 +Defined in: ridb\_core.d.ts:748 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/NInOperator.md b/docs/@trust0/ridb-core/type-aliases/NInOperator.md index a8e41fb0..612a3116 100644 --- a/docs/@trust0/ridb-core/type-aliases/NInOperator.md +++ b/docs/@trust0/ridb-core/type-aliases/NInOperator.md @@ -8,7 +8,7 @@ > **NInOperator**\<`T`\> = `object` -Defined in: ridb\_core.d.ts:386 +Defined in: ridb\_core.d.ts:214 ## Type Parameters @@ -22,4 +22,4 @@ Defined in: ridb\_core.d.ts:386 > `optional` **$nin**: `T`[] -Defined in: ridb\_core.d.ts:386 +Defined in: ridb\_core.d.ts:214 diff --git a/docs/@trust0/ridb-core/type-aliases/Operation.md b/docs/@trust0/ridb-core/type-aliases/Operation.md index 92e2364c..8a9f4caa 100644 --- a/docs/@trust0/ridb-core/type-aliases/Operation.md +++ b/docs/@trust0/ridb-core/type-aliases/Operation.md @@ -8,7 +8,7 @@ > **Operation**\<`T`\> = `object` -Defined in: ridb\_core.d.ts:198 +Defined in: ridb\_core.d.ts:406 Represents an operation to be performed on a collection. @@ -26,7 +26,7 @@ The schema type of the collection. > **collection**: `string` -Defined in: ridb\_core.d.ts:202 +Defined in: ridb\_core.d.ts:410 The name of the collection on which the operation will be performed. @@ -36,7 +36,7 @@ The name of the collection on which the operation will be performed. > **data**: [`Doc`](Doc.md)\<`T`\> -Defined in: ridb\_core.d.ts:212 +Defined in: ridb\_core.d.ts:420 The data involved in the operation, conforming to the schema type. @@ -46,7 +46,7 @@ The data involved in the operation, conforming to the schema type. > **opType**: [`OpType`](../enumerations/OpType.md) -Defined in: ridb\_core.d.ts:207 +Defined in: ridb\_core.d.ts:415 The type of operation to be performed (e.g., CREATE, UPDATE, DELETE). @@ -56,7 +56,7 @@ The type of operation to be performed (e.g., CREATE, UPDATE, DELETE). > `optional` **primaryKey**: `string` -Defined in: ridb\_core.d.ts:215 +Defined in: ridb\_core.d.ts:423 *** @@ -64,4 +64,4 @@ Defined in: ridb\_core.d.ts:215 > `optional` **primaryKeyField**: `string` -Defined in: ridb\_core.d.ts:214 +Defined in: ridb\_core.d.ts:422 diff --git a/docs/@trust0/ridb-core/type-aliases/OperatorOrType.md b/docs/@trust0/ridb-core/type-aliases/OperatorOrType.md index 1e47eebf..682f9785 100644 --- a/docs/@trust0/ridb-core/type-aliases/OperatorOrType.md +++ b/docs/@trust0/ridb-core/type-aliases/OperatorOrType.md @@ -8,7 +8,7 @@ > **OperatorOrType**\<`T`\> = `T` *extends* `number` ? `T` \| [`Operators`](Operators.md)\<`T`\> \| [`InOperator`](InOperator.md)\<`T`\> \| [`NInOperator`](NInOperator.md)\<`T`\> : `T` \| [`InOperator`](InOperator.md)\<`T`\> \| [`NInOperator`](NInOperator.md)\<`T`\> -Defined in: ridb\_core.d.ts:388 +Defined in: ridb\_core.d.ts:216 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/Operators.md b/docs/@trust0/ridb-core/type-aliases/Operators.md index 396c15ef..de315483 100644 --- a/docs/@trust0/ridb-core/type-aliases/Operators.md +++ b/docs/@trust0/ridb-core/type-aliases/Operators.md @@ -8,7 +8,7 @@ > **Operators**\<`T`\> = `object` -Defined in: ridb\_core.d.ts:376 +Defined in: ridb\_core.d.ts:204 ## Type Parameters @@ -22,7 +22,7 @@ Defined in: ridb\_core.d.ts:376 > `optional` **$eq**: `T` -Defined in: ridb\_core.d.ts:381 +Defined in: ridb\_core.d.ts:209 *** @@ -30,7 +30,7 @@ Defined in: ridb\_core.d.ts:381 > `optional` **$gt**: `number` -Defined in: ridb\_core.d.ts:378 +Defined in: ridb\_core.d.ts:206 *** @@ -38,7 +38,7 @@ Defined in: ridb\_core.d.ts:378 > `optional` **$gte**: `number` -Defined in: ridb\_core.d.ts:377 +Defined in: ridb\_core.d.ts:205 *** @@ -46,7 +46,7 @@ Defined in: ridb\_core.d.ts:377 > `optional` **$lt**: `number` -Defined in: ridb\_core.d.ts:379 +Defined in: ridb\_core.d.ts:207 *** @@ -54,7 +54,7 @@ Defined in: ridb\_core.d.ts:379 > `optional` **$lte**: `number` -Defined in: ridb\_core.d.ts:380 +Defined in: ridb\_core.d.ts:208 *** @@ -62,4 +62,4 @@ Defined in: ridb\_core.d.ts:380 > `optional` **$ne**: `T` -Defined in: ridb\_core.d.ts:382 +Defined in: ridb\_core.d.ts:210 diff --git a/docs/@trust0/ridb-core/type-aliases/QueryOptions.md b/docs/@trust0/ridb-core/type-aliases/QueryOptions.md index 26b04cab..c8fbaa49 100644 --- a/docs/@trust0/ridb-core/type-aliases/QueryOptions.md +++ b/docs/@trust0/ridb-core/type-aliases/QueryOptions.md @@ -8,7 +8,7 @@ > **QueryOptions** = `object` -Defined in: ridb\_core.d.ts:284 +Defined in: ridb\_core.d.ts:333 ## Properties @@ -16,7 +16,7 @@ Defined in: ridb\_core.d.ts:284 > `optional` **limit**: `number` -Defined in: ridb\_core.d.ts:285 +Defined in: ridb\_core.d.ts:334 *** @@ -24,4 +24,4 @@ Defined in: ridb\_core.d.ts:285 > `optional` **offset**: `number` -Defined in: ridb\_core.d.ts:286 +Defined in: ridb\_core.d.ts:335 diff --git a/docs/@trust0/ridb-core/type-aliases/QueryType.md b/docs/@trust0/ridb-core/type-aliases/QueryType.md index ad9af3a7..1c038ef3 100644 --- a/docs/@trust0/ridb-core/type-aliases/QueryType.md +++ b/docs/@trust0/ridb-core/type-aliases/QueryType.md @@ -8,7 +8,7 @@ > **QueryType**\<`T`\> = `{ [K in keyof T["properties"] as ExtractType extends undefined ? never : K]?: OperatorOrType> }` & [`LogicalOperators`](LogicalOperators.md)\<`T`\> \| [`LogicalOperators`](LogicalOperators.md)\<`T`\>[] -Defined in: ridb\_core.d.ts:397 +Defined in: ridb\_core.d.ts:225 ## Type Parameters diff --git a/docs/@trust0/ridb-core/type-aliases/RIDBModule.md b/docs/@trust0/ridb-core/type-aliases/RIDBModule.md index 250a830e..dc7fd004 100644 --- a/docs/@trust0/ridb-core/type-aliases/RIDBModule.md +++ b/docs/@trust0/ridb-core/type-aliases/RIDBModule.md @@ -8,7 +8,7 @@ > **RIDBModule** = `object` -Defined in: ridb\_core.d.ts:183 +Defined in: ridb\_core.d.ts:522 Represents a storage module with a method for creating storage. @@ -18,7 +18,7 @@ Represents a storage module with a method for creating storage. > **apply**: (`plugins`) => [`BasePlugin`](../classes/BasePlugin.md)[] -Defined in: ridb\_core.d.ts:188 +Defined in: ridb\_core.d.ts:527 Plugin constructors array diff --git a/docs/@trust0/ridb-core/type-aliases/SchemaType.md b/docs/@trust0/ridb-core/type-aliases/SchemaType.md index 52f078a6..666ffb97 100644 --- a/docs/@trust0/ridb-core/type-aliases/SchemaType.md +++ b/docs/@trust0/ridb-core/type-aliases/SchemaType.md @@ -8,7 +8,7 @@ > **SchemaType** = `object` -Defined in: ridb\_core.d.ts:415 +Defined in: ridb\_core.d.ts:607 Represents the type definition for a schema. @@ -18,7 +18,7 @@ Represents the type definition for a schema. > `optional` **encrypted**: `string`[] -Defined in: ridb\_core.d.ts:431 +Defined in: ridb\_core.d.ts:623 *** @@ -26,7 +26,7 @@ Defined in: ridb\_core.d.ts:431 > `optional` **indexes**: `string`[] -Defined in: ridb\_core.d.ts:430 +Defined in: ridb\_core.d.ts:622 *** @@ -34,7 +34,7 @@ Defined in: ridb\_core.d.ts:430 > **primaryKey**: `string` -Defined in: ridb\_core.d.ts:424 +Defined in: ridb\_core.d.ts:616 The primary key of the schema. @@ -44,7 +44,7 @@ The primary key of the schema. > **properties**: `object` -Defined in: ridb\_core.d.ts:435 +Defined in: ridb\_core.d.ts:627 The properties defined in the schema. @@ -58,7 +58,7 @@ The properties defined in the schema. > **type**: `SchemaFieldType` -Defined in: ridb\_core.d.ts:429 +Defined in: ridb\_core.d.ts:621 The type of the schema. @@ -68,6 +68,6 @@ The type of the schema. > **version**: `number` -Defined in: ridb\_core.d.ts:419 +Defined in: ridb\_core.d.ts:611 The version of the schema. diff --git a/docs/@trust0/ridb-core/type-aliases/SchemaTypeRecord.md b/docs/@trust0/ridb-core/type-aliases/SchemaTypeRecord.md index 5e4a77dd..e547f219 100644 --- a/docs/@trust0/ridb-core/type-aliases/SchemaTypeRecord.md +++ b/docs/@trust0/ridb-core/type-aliases/SchemaTypeRecord.md @@ -8,7 +8,7 @@ > **SchemaTypeRecord** = `object` -Defined in: ridb\_core.d.ts:642 +Defined in: ridb\_core.d.ts:536 **`Internal`** diff --git a/docs/@trust0/ridb-core/variables/SchemaFieldType.md b/docs/@trust0/ridb-core/variables/SchemaFieldType.md index 8b6ccbf8..1eb391c2 100644 --- a/docs/@trust0/ridb-core/variables/SchemaFieldType.md +++ b/docs/@trust0/ridb-core/variables/SchemaFieldType.md @@ -8,7 +8,7 @@ > `const` **SchemaFieldType**: `object` -Defined in: ridb\_core.d.ts:586 +Defined in: ridb\_core.d.ts:240 ## Type declaration diff --git a/docs/@trust0/ridb-level/classes/LevelDBStorage.md b/docs/@trust0/ridb-level/classes/LevelDBStorage.md index 8bdb2ce2..cf348da7 100644 --- a/docs/@trust0/ridb-level/classes/LevelDBStorage.md +++ b/docs/@trust0/ridb-level/classes/LevelDBStorage.md @@ -6,7 +6,7 @@ # Class: LevelDBStorage\ -Defined in: [index.ts:47](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L47) +Defined in: [index.ts:47](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L47) LevelDB storage implementation class @@ -26,7 +26,7 @@ LevelDB storage implementation class > **new LevelDBStorage**\<`T`\>(`level`, `name`, `schemas`, `options`): `LevelDBStorage`\<`T`\> -Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L48) +Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L48) #### Parameters @@ -60,7 +60,7 @@ Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/b267d58174 > `readonly` **core**: `CoreStorage` -Defined in: ../../ridb-core/build/ridb\_core.d.ts:361 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:589 #### Inherited from @@ -72,7 +72,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:361 > `readonly` **dbName**: `string` -Defined in: ../../ridb-core/build/ridb\_core.d.ts:358 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:586 #### Inherited from @@ -84,7 +84,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:358 > **level**: [`Level`](../type-aliases/Level.md) -Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L48) +Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L48) *** @@ -92,7 +92,7 @@ Defined in: [index.ts:48](https://github.com/trust0-project/RIDB/blob/b267d58174 > `readonly` **options**: `BaseStorageOptions` -Defined in: ../../ridb-core/build/ridb\_core.d.ts:360 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:588 #### Inherited from @@ -104,7 +104,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:360 > `readonly` **schemas**: `Record`\\> -Defined in: ../../ridb-core/build/ridb\_core.d.ts:359 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:587 #### Inherited from @@ -116,7 +116,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:359 > **addIndexSchemas**(): `null` -Defined in: ../../ridb-core/build/ridb\_core.d.ts:371 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:599 #### Returns @@ -132,7 +132,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:371 > **close**(): `Promise`\<`void`\> -Defined in: [index.ts:77](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L77) +Defined in: [index.ts:77](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L77) Close the database @@ -150,7 +150,7 @@ Close the database > **count**(`collectionName`, `query`, `options?`): `Promise`\<`number`\> -Defined in: [index.ts:148](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L148) +Defined in: [index.ts:148](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L148) Count documents matching a query (supports offset & limit) @@ -182,7 +182,7 @@ keyof `T` > **find**(`collectionName`, `query`, `options?`): `Promise`\<`Doc`\<`T`\[keyof `T`\]\>[]\> -Defined in: [index.ts:197](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L197) +Defined in: [index.ts:197](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L197) Find documents matching a query with pagination @@ -214,7 +214,7 @@ keyof `T` > **findDocumentById**(`collectionName`, `id`): `Promise`\<`null` \| `Doc`\<`T`\[keyof `T`\]\>\> -Defined in: [index.ts:82](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L82) +Defined in: [index.ts:82](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L82) Find a document by its ID @@ -242,7 +242,7 @@ keyof `T` > **getOption**(`name`): `undefined` \| `string` \| `number` \| `boolean` -Defined in: ../../ridb-core/build/ridb\_core.d.ts:368 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:596 #### Parameters @@ -264,7 +264,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:368 > **getSchema**(`name`): `Schema`\<`any`\> -Defined in: ../../ridb-core/build/ridb\_core.d.ts:369 +Defined in: ../../ridb-core/build/ridb\_core.d.ts:597 #### Parameters @@ -286,7 +286,7 @@ Defined in: ../../ridb-core/build/ridb\_core.d.ts:369 > **start**(): `Promise`\<`void`\> -Defined in: [index.ts:72](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L72) +Defined in: [index.ts:72](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L72) Start the database @@ -304,7 +304,7 @@ Start the database > **write**(`op`): `Promise`\<`Doc`\<`T`\[keyof `T`\]\>\> -Defined in: [index.ts:104](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L104) +Defined in: [index.ts:104](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L104) Write an operation (insert, update, delete) @@ -328,7 +328,7 @@ Write an operation (insert, update, delete) > `static` **create**\<`SchemasCreate`\>(`name`, `schemas`, `options?`): `Promise`\<`LevelDBStorage`\<`SchemasCreate`\>\> -Defined in: [index.ts:60](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L60) +Defined in: [index.ts:60](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L60) Create a new LevelDB storage instance diff --git a/docs/@trust0/ridb-level/functions/createLevelDB.md b/docs/@trust0/ridb-level/functions/createLevelDB.md index 378badda..1db9bbbd 100644 --- a/docs/@trust0/ridb-level/functions/createLevelDB.md +++ b/docs/@trust0/ridb-level/functions/createLevelDB.md @@ -8,7 +8,7 @@ > **createLevelDB**\<`T`\>(): `Promise`\<*typeof* [`BaseStorage`](https://github.com/trust0-project/RIDB/blob/main/docs/%40trust0/ridb-core/classes/BaseStorage.md)\> -Defined in: [index.ts:250](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L250) +Defined in: [index.ts:250](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L250) Create a LevelDB storage instance diff --git a/docs/@trust0/ridb-level/type-aliases/Level.md b/docs/@trust0/ridb-level/type-aliases/Level.md index c482f1e3..3e6b0cd3 100644 --- a/docs/@trust0/ridb-level/type-aliases/Level.md +++ b/docs/@trust0/ridb-level/type-aliases/Level.md @@ -8,4 +8,4 @@ > **Level** = `ClassicLevel`\<`string`, `string`\> -Defined in: [index.ts:41](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-level/src/index.ts#L41) +Defined in: [index.ts:41](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-level/src/index.ts#L41) diff --git a/docs/@trust0/ridb-react/functions/RIDBDatabase.md b/docs/@trust0/ridb-react/functions/RIDBDatabase.md index 26e597e3..76dbb536 100644 --- a/docs/@trust0/ridb-react/functions/RIDBDatabase.md +++ b/docs/@trust0/ridb-react/functions/RIDBDatabase.md @@ -8,7 +8,7 @@ > **RIDBDatabase**\<`T`\>(`__namedParameters`): `Element` -Defined in: [index.tsx:25](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-react/src/index.tsx#L25) +Defined in: [index.tsx:25](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-react/src/index.tsx#L25) ## Type Parameters diff --git a/docs/@trust0/ridb-react/functions/useRIDB.md b/docs/@trust0/ridb-react/functions/useRIDB.md index c0ca470e..23aebe2e 100644 --- a/docs/@trust0/ridb-react/functions/useRIDB.md +++ b/docs/@trust0/ridb-react/functions/useRIDB.md @@ -8,7 +8,7 @@ > **useRIDB**\<`T`\>(): `object` -Defined in: [index.tsx:17](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-react/src/index.tsx#L17) +Defined in: [index.tsx:17](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-react/src/index.tsx#L17) ## Type Parameters diff --git a/docs/@trust0/ridb-react/type-aliases/DatabaseState.md b/docs/@trust0/ridb-react/type-aliases/DatabaseState.md index 7e0b3a98..892ad32b 100644 --- a/docs/@trust0/ridb-react/type-aliases/DatabaseState.md +++ b/docs/@trust0/ridb-react/type-aliases/DatabaseState.md @@ -8,4 +8,4 @@ > **DatabaseState** = `"disconnected"` \| `"loading"` \| `"loaded"` \| `"error"` -Defined in: [index.tsx:5](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-react/src/index.tsx#L5) +Defined in: [index.tsx:5](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-react/src/index.tsx#L5) diff --git a/docs/@trust0/ridb-react/variables/RIDBContext.md b/docs/@trust0/ridb-react/variables/RIDBContext.md index 95afb72d..57e70b82 100644 --- a/docs/@trust0/ridb-react/variables/RIDBContext.md +++ b/docs/@trust0/ridb-react/variables/RIDBContext.md @@ -8,4 +8,4 @@ > `const` **RIDBContext**: `Context`\<`Context`\<`any`\>\> -Defined in: [index.tsx:15](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb-react/src/index.tsx#L15) +Defined in: [index.tsx:15](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb-react/src/index.tsx#L15) diff --git a/docs/@trust0/ridb/classes/RIDB.md b/docs/@trust0/ridb/classes/RIDB.md index f1f0e6cd..e4725add 100644 --- a/docs/@trust0/ridb/classes/RIDB.md +++ b/docs/@trust0/ridb/classes/RIDB.md @@ -6,7 +6,7 @@ # Class: RIDB\ -Defined in: [index.ts:160](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L160) +Defined in: [index.ts:160](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L160) Main RIDB class that provides database functionality with optional worker support. @@ -27,7 +27,7 @@ Schema type record defining the database schema structure > **new RIDB**\<`T`\>(`options`): `RIDB`\<`T`\> -Defined in: [index.ts:184](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L184) +Defined in: [index.ts:184](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L184) Creates a new RIDB instance. @@ -69,7 +69,7 @@ const db = new RIDB({ > **get** **collections**(): \{ \[name in string \| number \| symbol\]: Collection\\> \} -Defined in: [index.ts:201](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L201) +Defined in: [index.ts:201](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L201) Access the database collections. @@ -97,7 +97,7 @@ An object containing all collections defined in the schema > **get** **started**(): `boolean` -Defined in: [index.ts:258](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L258) +Defined in: [index.ts:258](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L258) Checks if the database has been successfully started. @@ -125,7 +125,7 @@ True if the database is started, false otherwise > **close**(): `Promise`\<`void`\> -Defined in: [index.ts:239](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L239) +Defined in: [index.ts:239](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L239) Closes the database connection and releases resources. @@ -148,7 +148,7 @@ await db.close(); > **start**(`options?`): `Promise`\<`void`\> -Defined in: [index.ts:225](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/index.ts#L225) +Defined in: [index.ts:225](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/index.ts#L225) Starts the database and initializes all collections. diff --git a/docs/@trust0/ridb/enumerations/StorageType.md b/docs/@trust0/ridb/enumerations/StorageType.md index b512197f..7145519f 100644 --- a/docs/@trust0/ridb/enumerations/StorageType.md +++ b/docs/@trust0/ridb/enumerations/StorageType.md @@ -6,7 +6,7 @@ # Enumeration: StorageType -Defined in: [types.ts:27](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L27) +Defined in: [types.ts:27](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L27) Enumeration of built-in storage types supported by RIDB. @@ -16,7 +16,7 @@ Enumeration of built-in storage types supported by RIDB. > **IndexDB**: `"IndexDB"` -Defined in: [types.ts:36](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L36) +Defined in: [types.ts:36](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L36) IndexedDB-based storage for persistent data in the browser @@ -26,6 +26,6 @@ IndexedDB-based storage for persistent data in the browser > **InMemory**: `"InMemory"` -Defined in: [types.ts:31](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L31) +Defined in: [types.ts:31](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L31) In-memory storage that doesn't persist data across page reloads diff --git a/docs/@trust0/ridb/functions/WasmInternal.md b/docs/@trust0/ridb/functions/WasmInternal.md index 3a497790..b15a118c 100644 --- a/docs/@trust0/ridb/functions/WasmInternal.md +++ b/docs/@trust0/ridb/functions/WasmInternal.md @@ -8,7 +8,7 @@ > **WasmInternal**(): `Promise`\<`__module`\> -Defined in: [wasm.ts:6](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/wasm.ts#L6) +Defined in: [wasm.ts:6](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/wasm.ts#L6) ## Returns diff --git a/docs/@trust0/ridb/interfaces/RIDBAbstract.md b/docs/@trust0/ridb/interfaces/RIDBAbstract.md index bbd238cc..06b0bf80 100644 --- a/docs/@trust0/ridb/interfaces/RIDBAbstract.md +++ b/docs/@trust0/ridb/interfaces/RIDBAbstract.md @@ -6,7 +6,7 @@ # Interface: RIDBAbstract\ -Defined in: [types.ts:112](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L112) +Defined in: [types.ts:112](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L112) Abstract interface for RIDB implementations. @@ -26,7 +26,7 @@ The schema type record defining the database structure > **close**(): `Promise`\<`void`\> -Defined in: [types.ts:126](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L126) +Defined in: [types.ts:126](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L126) Close the database connection. @@ -42,7 +42,7 @@ A promise that resolves when the database has been successfully closed > **getCollections**(): \{ \[name in string \| number \| symbol\]: Collection\\> \} -Defined in: [types.ts:133](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L133) +Defined in: [types.ts:133](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L133) Get the collections for this database. @@ -58,7 +58,7 @@ An object containing all collections defined in the schema > **isStarted**(): `boolean` -Defined in: [types.ts:140](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L140) +Defined in: [types.ts:140](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L140) Check if the database has been started. @@ -74,7 +74,7 @@ True if the database is started, false otherwise > **start**(`options?`): `Promise`\<`void`\> -Defined in: [types.ts:119](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L119) +Defined in: [types.ts:119](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L119) Start the database with the given options. diff --git a/docs/@trust0/ridb/interfaces/WorkerInstance.md b/docs/@trust0/ridb/interfaces/WorkerInstance.md index 7d974ca1..0db5b895 100644 --- a/docs/@trust0/ridb/interfaces/WorkerInstance.md +++ b/docs/@trust0/ridb/interfaces/WorkerInstance.md @@ -6,7 +6,7 @@ # Interface: WorkerInstance -Defined in: [types.ts:146](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L146) +Defined in: [types.ts:146](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L146) Interface representing a shared worker instance and its session ID. @@ -16,7 +16,7 @@ Interface representing a shared worker instance and its session ID. > **sessionId**: `string` -Defined in: [types.ts:155](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L155) +Defined in: [types.ts:155](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L155) Unique session ID for this worker connection @@ -26,6 +26,6 @@ Unique session ID for this worker connection > **worker**: `SharedWorker` -Defined in: [types.ts:150](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L150) +Defined in: [types.ts:150](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L150) The SharedWorker instance diff --git a/docs/@trust0/ridb/type-aliases/DBOptions.md b/docs/@trust0/ridb/type-aliases/DBOptions.md index 0f4a3772..0b36bf0a 100644 --- a/docs/@trust0/ridb/type-aliases/DBOptions.md +++ b/docs/@trust0/ridb/type-aliases/DBOptions.md @@ -8,7 +8,7 @@ > **DBOptions**\<`T`\> = `object` & [`MigrationsParameter`](https://github.com/trust0-project/RIDB/blob/main/docs/%40trust0/ridb-core/type-aliases/MigrationsParameter.md)\<`T`\> -Defined in: [types.ts:71](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L71) +Defined in: [types.ts:71](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L71) Options for initializing the RIDB database. diff --git a/docs/@trust0/ridb/type-aliases/PendingRequests.md b/docs/@trust0/ridb/type-aliases/PendingRequests.md index 95578aec..0b2329db 100644 --- a/docs/@trust0/ridb/type-aliases/PendingRequests.md +++ b/docs/@trust0/ridb/type-aliases/PendingRequests.md @@ -8,6 +8,6 @@ > **PendingRequests** = `Map`\<`string`, \{ `reject`: (`err`) => `void`; `resolve`: (`resp`) => `void`; \}\> -Defined in: [types.ts:99](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L99) +Defined in: [types.ts:99](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L99) Map of pending requests used for worker communication. diff --git a/docs/@trust0/ridb/type-aliases/StartOptions.md b/docs/@trust0/ridb/type-aliases/StartOptions.md index 6e7bc53d..0a2d5caa 100644 --- a/docs/@trust0/ridb/type-aliases/StartOptions.md +++ b/docs/@trust0/ridb/type-aliases/StartOptions.md @@ -8,7 +8,7 @@ > **StartOptions**\<`T`\> = `object` -Defined in: [types.ts:44](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L44) +Defined in: [types.ts:44](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L44) Options for starting a database instance. @@ -32,7 +32,7 @@ Additional custom options > `optional` **dbName**: `string` -Defined in: [types.ts:58](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L58) +Defined in: [types.ts:58](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L58) Database name to use (overrides the name provided during initialization) @@ -42,7 +42,7 @@ Database name to use (overrides the name provided during initialization) > `optional` **password**: `string` -Defined in: [types.ts:53](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L53) +Defined in: [types.ts:53](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L53) Optional password for encrypting the database @@ -52,6 +52,6 @@ Optional password for encrypting the database > `optional` **storageType**: [`StorageClass`](StorageClass.md)\<`T`\> \| [`StorageType`](../enumerations/StorageType.md) -Defined in: [types.ts:48](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L48) +Defined in: [types.ts:48](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L48) The storage type or custom storage class implementation to use diff --git a/docs/@trust0/ridb/type-aliases/StorageClass.md b/docs/@trust0/ridb/type-aliases/StorageClass.md index 830ee3e7..13d75563 100644 --- a/docs/@trust0/ridb/type-aliases/StorageClass.md +++ b/docs/@trust0/ridb/type-aliases/StorageClass.md @@ -8,7 +8,7 @@ > **StorageClass**\<`T`\> = `object` -Defined in: [types.ts:8](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L8) +Defined in: [types.ts:8](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L8) Represents a factory class for creating storage instances. @@ -26,7 +26,7 @@ The schema type record defining the database structure > **create**: (`name`, `schemas`, `options`) => `Promise`\<[`BaseStorage`](https://github.com/trust0-project/RIDB/blob/main/docs/%40trust0/ridb-core/classes/BaseStorage.md)\<`T`\>\> -Defined in: [types.ts:17](https://github.com/trust0-project/RIDB/blob/b267d581748a68c847ca97ed463e3d471b6e67d7/packages/ridb/src/types.ts#L17) +Defined in: [types.ts:17](https://github.com/trust0-project/RIDB/blob/89dbd9f9380a1091a79cb83771ff6129cbcebbdf/packages/ridb/src/types.ts#L17) Creates a storage instance with the specified parameters. diff --git a/packages/ridb-core/CHANGELOG.md b/packages/ridb-core/CHANGELOG.md index d36be8c0..d2db0eaa 100644 --- a/packages/ridb-core/CHANGELOG.md +++ b/packages/ridb-core/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.7.27 (2025-07-08) + +### 🩹 Fixes + +- improve code ([eebd952](https://github.com/trust0-project/RIDB/commit/eebd952)) +- improve cursor_fetch_and_filter for better performance too ([6b075cb](https://github.com/trust0-project/RIDB/commit/6b075cb)) +- warning improvement ([44acad1](https://github.com/trust0-project/RIDB/commit/44acad1)) + +### ❤️ Thank You + +- Javier Ribó + ## 1.7.26 (2025-07-08) ### 🩹 Fixes diff --git a/packages/ridb-core/package.json b/packages/ridb-core/package.json index 45f0c18a..1e76fd88 100644 --- a/packages/ridb-core/package.json +++ b/packages/ridb-core/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "1.7.26", + "version": "1.7.27", "main": "./build/ridb_core.js", "module": "./build/ridb_core.mjs", "types": "./build/ridb_core.d.ts", diff --git a/packages/ridb-level/CHANGELOG.md b/packages/ridb-level/CHANGELOG.md index 9fea1311..eaafca4a 100644 --- a/packages/ridb-level/CHANGELOG.md +++ b/packages/ridb-level/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.2.32 (2025-07-08) + +### 🧱 Updated Dependencies + +- Updated @trust0/ridb to 1.5.32 + ## 1.2.31 (2025-07-08) ### 🩹 Fixes diff --git a/packages/ridb-level/package.json b/packages/ridb-level/package.json index 5e965eb4..ebe0d335 100644 --- a/packages/ridb-level/package.json +++ b/packages/ridb-level/package.json @@ -1,6 +1,6 @@ { "name": "@trust0/ridb-level", - "version": "1.2.31", + "version": "1.2.32", "description": "Level DB storage for @trust0/ridb.", "main": "./build/index.js", "module": "./build/index.mjs", @@ -33,7 +33,7 @@ "types:default": "npx tsc" }, "devDependencies": { - "@trust0/ridb": "^1.5.31", + "@trust0/ridb": "^1.5.32", "@trust0/ridb-build": "^0.0.16", "classic-level": "^2.0.0", "jsdom": "^24.1.3", diff --git a/packages/ridb-react/CHANGELOG.md b/packages/ridb-react/CHANGELOG.md index c9dd637b..27ffec4b 100644 --- a/packages/ridb-react/CHANGELOG.md +++ b/packages/ridb-react/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.4.11 (2025-07-08) + +### 🧱 Updated Dependencies + +- Updated @trust0/ridb to 1.5.32 + ## 1.4.10 (2025-07-08) ### 🩹 Fixes diff --git a/packages/ridb-react/package.json b/packages/ridb-react/package.json index 0e1a335b..2e3c418d 100644 --- a/packages/ridb-react/package.json +++ b/packages/ridb-react/package.json @@ -1,7 +1,7 @@ { "name": "@trust0/ridb-react", "description": "React bindings for RIDB.", - "version": "1.4.10", + "version": "1.4.11", "author": "elribonazo@gmail.com", "main": "./build/index.js", "types": "./build/index.d.ts", @@ -31,7 +31,7 @@ "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", - "@trust0/ridb": "^1.5.31", + "@trust0/ridb": "^1.5.32", "@trust0/ridb-build": "^0.0.16", "@types/react": "^18", "@types/react-dom": "^18", diff --git a/packages/ridb/CHANGELOG.md b/packages/ridb/CHANGELOG.md index 6daf913b..162f061f 100644 --- a/packages/ridb/CHANGELOG.md +++ b/packages/ridb/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.5.32 (2025-07-08) + +### 🧱 Updated Dependencies + +- Updated @trust0/ridb-core to 1.7.27 +- Updated @trust0/ridb-core to 1.7.27 + ## 1.5.31 (2025-07-08) ### 🩹 Fixes diff --git a/packages/ridb/package.json b/packages/ridb/package.json index e62f065a..d5cec9f1 100644 --- a/packages/ridb/package.json +++ b/packages/ridb/package.json @@ -1,6 +1,6 @@ { "name": "@trust0/ridb", - "version": "1.5.31", + "version": "1.5.32", "description": "Lightweight db encrypted and secure database wrapper for browser and nodejs.", "module": "./build/index.js", "main": "./build/index.js", @@ -51,7 +51,7 @@ "types": "sh types.sh" }, "dependencies": { - "@trust0/ridb-core": "^1.7.26" + "@trust0/ridb-core": "^1.7.27" }, "devDependencies": { "@trust0/ridb-build": "^0.0.16", diff --git a/yarn.lock b/yarn.lock index f08eed67..e699b86e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4816,7 +4816,7 @@ __metadata: languageName: unknown linkType: soft -"@trust0/ridb-core@npm:^1.7.26, @trust0/ridb-core@workspace:packages/ridb-core": +"@trust0/ridb-core@npm:^1.7.27, @trust0/ridb-core@workspace:packages/ridb-core": version: 0.0.0-use.local resolution: "@trust0/ridb-core@workspace:packages/ridb-core" dependencies: @@ -4830,7 +4830,7 @@ __metadata: version: 0.0.0-use.local resolution: "@trust0/ridb-level@workspace:packages/ridb-level" dependencies: - "@trust0/ridb": "npm:^1.5.31" + "@trust0/ridb": "npm:^1.5.32" "@trust0/ridb-build": "npm:^0.0.16" classic-level: "npm:^2.0.0" jsdom: "npm:^24.1.3" @@ -4847,7 +4847,7 @@ __metadata: "@testing-library/dom": "npm:^10.4.0" "@testing-library/jest-dom": "npm:^6.6.3" "@testing-library/react": "npm:^16.1.0" - "@trust0/ridb": "npm:^1.5.31" + "@trust0/ridb": "npm:^1.5.32" "@trust0/ridb-build": "npm:^0.0.16" "@types/react": "npm:^18" "@types/react-dom": "npm:^18" @@ -4860,12 +4860,12 @@ __metadata: languageName: unknown linkType: soft -"@trust0/ridb@npm:^1.5.31, @trust0/ridb@workspace:packages/ridb": +"@trust0/ridb@npm:^1.5.32, @trust0/ridb@workspace:packages/ridb": version: 0.0.0-use.local resolution: "@trust0/ridb@workspace:packages/ridb" dependencies: "@trust0/ridb-build": "npm:^0.0.16" - "@trust0/ridb-core": "npm:^1.7.26" + "@trust0/ridb-core": "npm:^1.7.27" "@types/sharedworker": "npm:^0.0.150" jsdom: "npm:^24.1.3" typescript: "npm:^5.8.3" From 96fd519323f43b3a9be44608e2bc414d4c13573f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribo=CC=81?= Date: Sun, 20 Jul 2025 16:31:40 +0200 Subject: [PATCH 5/5] fix: add logos and docs --- README.md | 2 +- packages/ridb-core/README.md | 2 +- packages/ridb-level/README.md | 2 +- packages/ridb-level/src/index.ts | 2 +- packages/ridb-react/README.md | 2 +- packages/ridb/README.md | 2 +- packages/ridb/src/index.ts | 2 +- resources/logo.png | Bin 0 -> 15347 bytes resources/logo.svg | 12 ++++++++++++ resources/ridb-dark.svg | 13 +++++++++++++ resources/ridb-light.svg | 13 +++++++++++++ 11 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 resources/logo.png create mode 100644 resources/logo.svg create mode 100644 resources/ridb-dark.svg create mode 100644 resources/ridb-light.svg diff --git a/README.md b/README.md index d00e088d..dda30da9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- JavaScript Database + JavaScript Database

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb-core/README.md b/packages/ridb-core/README.md index 16153aee..b72b755f 100644 --- a/packages/ridb-core/README.md +++ b/packages/ridb-core/README.md @@ -1,5 +1,5 @@

- JavaScript Database + JavaScript Database

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb-level/README.md b/packages/ridb-level/README.md index bb1bf444..8e1d8d29 100644 --- a/packages/ridb-level/README.md +++ b/packages/ridb-level/README.md @@ -1,5 +1,5 @@

- JavaScript Database + JavaScript Database

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb-level/src/index.ts b/packages/ridb-level/src/index.ts index 97caa8b4..0ec3adf5 100644 --- a/packages/ridb-level/src/index.ts +++ b/packages/ridb-level/src/index.ts @@ -2,7 +2,7 @@ * @packageDocumentation * *

- * JavaScript Database + * JavaScript Database *
*
*

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb-react/README.md b/packages/ridb-react/README.md index c4b32227..a90a3d2b 100644 --- a/packages/ridb-react/README.md +++ b/packages/ridb-react/README.md @@ -1,5 +1,5 @@

- JavaScript Database + JavaScript Database

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb/README.md b/packages/ridb/README.md index 3ec11bc2..5ff7a98b 100644 --- a/packages/ridb/README.md +++ b/packages/ridb/README.md @@ -1,5 +1,5 @@

- JavaScript Database + JavaScript Database

A secure light-weight and dependency free database wrapper for the web.

diff --git a/packages/ridb/src/index.ts b/packages/ridb/src/index.ts index d62bedca..f4132a7c 100644 --- a/packages/ridb/src/index.ts +++ b/packages/ridb/src/index.ts @@ -11,7 +11,7 @@ import { RIDBFactory } from "./factory"; * @packageDocumentation * *

- * JavaScript Database + * JavaScript Database *
*
*

A secure light-weight and dependency free database wrapper for the web.

diff --git a/resources/logo.png b/resources/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..af5f0ea02f2fe8974be3472884eb82dd6a97ead9 GIT binary patch literal 15347 zcmbVz_cz>6)V~rX2+;+rEQuh9h_+g?R!f49-b3_Wcl8>*t&k#uWtE5?(YuHQ5v(4f zg@n~RiTa(*^PJ}o`2MhG&v{R|bIaU&XYOm_|I<>tLd8x+L_~B&Lmi<@L`1w#_)(IB zFMZ>43E=Otr@Dy`5fSYt!jHJy6We+zuJ9i`zAi-nf;qGhajkL4n@pD2t@;D-qo<1-!vHu$<=Hu%ig7gsabaxPw zd50w;;vv#N+}HQd+L#Fl<~C@(*qO-q8(LknlD5h5klIeLwosF*HdpuFS)->;)Xkfe zc`R@0ZY_8ll(nw53VmgGGfEYgm&c-WX+Q5N547g)Wv0nXleQZqGwHYHWZRWU(#u7h zo^KsV^qu_m|3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Ck37hbslACU4R zv=069Nwy3Z@2&`Vz*lp%!m`3)9%?~&>t|rZdS|_tbi0lGG@|3YgIMNpsCm1!Bz#$e z^P+3#cIt%y*2B*3B;;0O`wT2g9mrcH(D~yxPGRY-%Sn-)GFftzrjOK@l+OFQ%(}X_ + + + + + + + + + O + T + \ No newline at end of file diff --git a/resources/ridb-dark.svg b/resources/ridb-dark.svg new file mode 100644 index 00000000..d6065e60 --- /dev/null +++ b/resources/ridb-dark.svg @@ -0,0 +1,13 @@ + + + + + + + + + + O + T + RIDB + \ No newline at end of file diff --git a/resources/ridb-light.svg b/resources/ridb-light.svg new file mode 100644 index 00000000..7b839973 --- /dev/null +++ b/resources/ridb-light.svg @@ -0,0 +1,13 @@ + + + + + + + + + + O + T + RIDB + \ No newline at end of file