@pol-studios/db 1.0.31 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DataLayerContext-Dc7nF2IG.d.ts → DataLayerContext-BwMk4VpG.d.ts} +92 -8
- package/dist/UserMetadataContext-QLIv-mfF.d.ts +171 -0
- package/dist/{UserMetadataContext-B8gVWGMl.d.ts → UserMetadataContext-pQb3A8_Q.d.ts} +1 -1
- package/dist/auth/context.d.ts +53 -5
- package/dist/auth/context.js +30 -8
- package/dist/auth/guards.d.ts +9 -9
- package/dist/auth/guards.js +2 -3
- package/dist/auth/hooks.d.ts +108 -4
- package/dist/auth/hooks.js +13 -9
- package/dist/auth/index.d.ts +6 -6
- package/dist/auth/index.js +45 -17
- package/dist/chunk-5HJLTYRA.js +355 -0
- package/dist/chunk-5HJLTYRA.js.map +1 -0
- package/dist/{chunk-WX4ABYIF.js → chunk-67HMVGV7.js} +292 -94
- package/dist/chunk-67HMVGV7.js.map +1 -0
- package/dist/chunk-6KN7KLEG.js +1 -0
- package/dist/{chunk-FZF26ZRB.js → chunk-7BGDQT5X.js} +29 -16
- package/dist/{chunk-FZF26ZRB.js.map → chunk-7BGDQT5X.js.map} +1 -1
- package/dist/{chunk-P4UZ7IXC.js → chunk-7D4SUZUM.js} +1 -5
- package/dist/{chunk-3PJTNH2L.js → chunk-AKIRHA4Q.js} +2 -2
- package/dist/{chunk-OQ7U6EQ3.js → chunk-AML2TLXJ.js} +3801 -3424
- package/dist/chunk-AML2TLXJ.js.map +1 -0
- package/dist/{chunk-5EFDS7SR.js → chunk-DMVUEJG2.js} +7 -2
- package/dist/chunk-DMVUEJG2.js.map +1 -0
- package/dist/{chunk-ADD5MIMK.js → chunk-FESQS4S5.js} +15 -15
- package/dist/{chunk-ADD5MIMK.js.map → chunk-FESQS4S5.js.map} +1 -1
- package/dist/{chunk-U5UNPBKB.js → chunk-FI6JAD5G.js} +3 -3
- package/dist/{chunk-TKWR5AAY.js → chunk-JOULSXOI.js} +2 -2
- package/dist/{chunk-HTJ2FQW5.js → chunk-LF3V3ERS.js} +13 -15
- package/dist/{chunk-HTJ2FQW5.js.map → chunk-LF3V3ERS.js.map} +1 -1
- package/dist/{chunk-5BLKZUKM.js → chunk-MREERKQU.js} +45 -14
- package/dist/chunk-MREERKQU.js.map +1 -0
- package/dist/{chunk-VGEMLNNM.js → chunk-NP34C3O3.js} +306 -704
- package/dist/chunk-NP34C3O3.js.map +1 -0
- package/dist/{chunk-CNIGRBRE.js → chunk-QJZUIAHA.js} +43 -19
- package/dist/{chunk-CNIGRBRE.js.map → chunk-QJZUIAHA.js.map} +1 -1
- package/dist/{chunk-HAWJTZCK.js → chunk-RT4O5H2E.js} +5 -7
- package/dist/chunk-RT4O5H2E.js.map +1 -0
- package/dist/{chunk-2NVSXZKQ.js → chunk-TN7QINPK.js} +74 -309
- package/dist/chunk-TN7QINPK.js.map +1 -0
- package/dist/chunk-UBHORKBS.js +215 -0
- package/dist/chunk-UBHORKBS.js.map +1 -0
- package/dist/{chunk-WVF7RUW5.js → chunk-WM25QE7E.js} +3 -3
- package/dist/{chunk-H6365JPC.js → chunk-YUX6RGLZ.js} +3 -3
- package/dist/{chunk-H6365JPC.js.map → chunk-YUX6RGLZ.js.map} +1 -1
- package/dist/{chunk-H3LNH2NT.js → chunk-Z456IHCB.js} +5 -9
- package/dist/{chunk-H3LNH2NT.js.map → chunk-Z456IHCB.js.map} +1 -1
- package/dist/{chunk-JAATANS3.js → chunk-ZCOFRJQD.js} +3 -3
- package/dist/{chunk-JAATANS3.js.map → chunk-ZCOFRJQD.js.map} +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +2 -2
- package/dist/core/index.d.ts +54 -31
- package/dist/{executor-Br27YZvl.d.ts → executor-YJw4m7Q7.d.ts} +9 -1
- package/dist/gen/index.js +1 -1
- package/dist/hooks/index.d.ts +3 -22
- package/dist/hooks/index.js +12 -9
- package/dist/{index-CYFdO0iB.d.ts → index-lveh8qb0.d.ts} +1 -1
- package/dist/index.d.ts +38 -10
- package/dist/index.js +57 -36
- package/dist/index.native.d.ts +19 -13
- package/dist/index.native.js +64 -35
- package/dist/index.web.d.ts +18 -45
- package/dist/index.web.js +58 -49
- package/dist/index.web.js.map +1 -1
- package/dist/mutation/index.d.ts +2 -2
- package/dist/mutation/index.js +5 -5
- package/dist/parser/index.js +4 -4
- package/dist/powersync-bridge/index.d.ts +18 -3
- package/dist/powersync-bridge/index.js +2 -2
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.js +7 -8
- package/dist/realtime/index.js +7 -9
- package/dist/realtime/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +6 -7
- package/dist/{useBatchUpsert-9OYjibLh.d.ts → useBatchUpsert-DAkiCNo3.d.ts} +1 -1
- package/dist/{useDbCount-Dk0yCKlT.d.ts → useDbCount-DWfYB2iu.d.ts} +16 -2
- package/dist/{useResolveFeedback-C1KucfdQ.d.ts → useResolveFeedback-CxLccZKK.d.ts} +197 -93
- package/dist/{useSupabase-DvWVuHHE.d.ts → useSupabase-DSZNeXnF.d.ts} +1 -1
- package/dist/with-auth/index.d.ts +2 -2
- package/dist/with-auth/index.js +46 -33
- package/dist/with-auth/index.js.map +1 -1
- package/package.json +18 -8
- package/dist/UserMetadataContext-DntmpK41.d.ts +0 -33
- package/dist/canvas-C4TBBDUL.node +0 -0
- package/dist/canvas-ZQNCL7JL.js +0 -1541
- package/dist/canvas-ZQNCL7JL.js.map +0 -1
- package/dist/chunk-2NVSXZKQ.js.map +0 -1
- package/dist/chunk-5BLKZUKM.js.map +0 -1
- package/dist/chunk-5EFDS7SR.js.map +0 -1
- package/dist/chunk-HAWJTZCK.js.map +0 -1
- package/dist/chunk-NSIAAYW3.js +0 -1
- package/dist/chunk-O7SETNGD.js +0 -3391
- package/dist/chunk-O7SETNGD.js.map +0 -1
- package/dist/chunk-OQ7U6EQ3.js.map +0 -1
- package/dist/chunk-VGEMLNNM.js.map +0 -1
- package/dist/chunk-WX4ABYIF.js.map +0 -1
- package/dist/dist-NDNRSNOG.js +0 -521
- package/dist/dist-NDNRSNOG.js.map +0 -1
- package/dist/pdf-PHXP7RHD.js +0 -20336
- package/dist/pdf-PHXP7RHD.js.map +0 -1
- /package/dist/{chunk-NSIAAYW3.js.map → chunk-6KN7KLEG.js.map} +0 -0
- /package/dist/{chunk-P4UZ7IXC.js.map → chunk-7D4SUZUM.js.map} +0 -0
- /package/dist/{chunk-3PJTNH2L.js.map → chunk-AKIRHA4Q.js.map} +0 -0
- /package/dist/{chunk-U5UNPBKB.js.map → chunk-FI6JAD5G.js.map} +0 -0
- /package/dist/{chunk-TKWR5AAY.js.map → chunk-JOULSXOI.js.map} +0 -0
- /package/dist/{chunk-WVF7RUW5.js.map → chunk-WM25QE7E.js.map} +0 -0
package/dist/index.web.d.ts
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
export { C as CompositeTypes, c as Constants, D as Database, E as Enums, J as Json, T as Tables, a as TablesInsert, b as TablesUpdate } from './database.types-ChFCG-4M.js';
|
|
2
2
|
export { a as FilterConfig, F as FilterConfigOption, G as Group, P as PropertyType, S as SortConfig, T as TableInfo, V as ValueForPropertyType, W as WhereFilter } from './FilterConfig-Bt2Ek74z.js';
|
|
3
|
-
import { u as useDbAdvanceFilterQuery, Q as QueryState } from './index-
|
|
4
|
-
export { r as BackendSelectionResult, B as BooleanOperator, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, d as FilterConditionType, m as FilterContextType, g as FilterInput, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus, s as normalizeFilter } from './index-
|
|
5
|
-
export {
|
|
3
|
+
import { u as useDbAdvanceFilterQuery, Q as QueryState } from './index-lveh8qb0.js';
|
|
4
|
+
export { r as BackendSelectionResult, B as BooleanOperator, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, d as FilterConditionType, m as FilterContextType, g as FilterInput, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus, s as normalizeFilter } from './index-lveh8qb0.js';
|
|
5
|
+
export { y as AIOptions, z as AIResponse, P as AlertProps, A as AttachmentQueueProvider, I as BUCKETS, J as BucketName, H as CustomPageQueryResult, L as DEFAULT_QUERY_TIMEOUT, a9 as FeedbackListItem, aa as FeedbackListParams, Q as LiveChangeContext, R as LiveChangeContextProvider, C as ServerAvailabilityState, k as StorageQueueContext, m as StorageQueueContextValue, S as StorageQueueProvider, j as StorageQueueProviderProps, ac as SubmitFeedbackParams, v as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, F as UpdateOptions, U as UseAutosaveOptions, d as UseAutosaveResult, af as UseDbPartialQueryResult, N as UseDbRealtimeQueryResult, q as UseMutationSuccessOptions, h as UseStorageSourceOptions, i as UseStorageSourceResult, O as convertFilterToRealtimeQuery, K as createInCondition, w as createSupabaseAdapter, G as executeAdvanceQuery, x as getErrorBody, g as getStorageUrl, p as getSupabaseUrl, M as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, B as useAI, ad as useApplyFeedback, c as useAutosave, b as useAutosaveState, a4 as useChangelogById, a5 as useChangelogBySlug, a6 as useChangelogEntries, a7 as useChangelogMedia, a2 as useChangelogs, ag as useDbPartialQuery, o as useDbRealtimeQuery, W as useDeleteChangelog, Z as useDeleteChangelogEntry, a0 as useDeleteChangelogMedia, a8 as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, _ as useMultiDeleteChangelogEntries, Y as useMultiUpsertChangelogEntries, r as useMutationSuccess, t as useMutationSuccessRN, a3 as usePublishedChangelogs, o as useRealtimeQuery, ae as useResolveFeedback, E as useSearchQuery, D as useServerAvailability, l as useStorageQueueContext, f as useStorageSource, ab as useSubmitFeedback, e as useToastError, a1 as useUploadChangelogMedia, V as useUpsertChangelog, X as useUpsertChangelogEntry, $ as useUpsertChangelogMedia } from './useResolveFeedback-CxLccZKK.js';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseInfiniteQueryOptions, InfiniteData, UseQueryOptions, QueryClient } from '@tanstack/react-query';
|
|
8
|
-
import { D as Database } from './useSupabase-
|
|
9
|
-
export { C as ClientInstanceId, S as SupabaseDatabaseTypes, a as SupabaseProvider, T as TypedSupabaseClient, U as UserSessionId, c as createNewSupabaseClient, u as default, o as onSupabaseInitialized, s as setDefaultOptions, t as typedSupabase, u as useSupabase } from './useSupabase-
|
|
8
|
+
import { D as Database } from './useSupabase-DSZNeXnF.js';
|
|
9
|
+
export { C as ClientInstanceId, S as SupabaseDatabaseTypes, a as SupabaseProvider, T as TypedSupabaseClient, U as UserSessionId, c as createNewSupabaseClient, u as default, o as onSupabaseInitialized, s as setDefaultOptions, t as typedSupabase, u as useSupabase } from './useSupabase-DSZNeXnF.js';
|
|
10
10
|
import { G as GetResult } from './select-query-parser-BwyHum1L.js';
|
|
11
11
|
export { S as SelectQueryError } from './select-query-parser-BwyHum1L.js';
|
|
12
12
|
import { j as GenericSchema, G as GenericTable, h as GenericView } from './types-CYr9JiUE.js';
|
|
13
13
|
export { F as Fetch, i as GenericFunction, g as GenericNonUpdatableView, f as GenericUpdatableView, P as PostgrestError, d as PostgrestMaybeSingleResponse, e as PostgrestResponse, b as PostgrestResponseFailure, a as PostgrestResponseSuccess, c as PostgrestSingleResponse, k as Prettify } from './types-CYr9JiUE.js';
|
|
14
14
|
import { PostgrestSingleResponse, RealtimePostgresChangesPayload, SupabaseClient } from '@supabase/supabase-js';
|
|
15
15
|
import { useInsertMutation, useUpdateMutation } from '@supabase-cache-helpers/postgrest-react-query';
|
|
16
|
-
|
|
17
|
-
export { u as
|
|
18
|
-
import { ItemType as ItemType$5 } from '@pol-studios/utils';
|
|
19
|
-
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, r as UseDbQueryOptions, s as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, t as useDataLayerOptional, d as useDbCount, d as useDbCountV3, e as useDbDeleteV3, f as useDbInfiniteQueryV3, g as useDbInsertV3, i as useDbQueryById, h as useDbQueryV3, j as useDbUpdateV3, k as useDbUpsert, k as useDbUpsertV3, k as useUpsert } from './useDbCount-Dk0yCKlT.js';
|
|
16
|
+
export { U as UseDbQuerySingleReturn, u as useDbQuery } from './useDbQuery-C-TL8jY1.js';
|
|
17
|
+
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, m as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, n as UseAdvanceQueryResult, o as UseDbCountOptions, p as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, q as UseDbInfiniteQueryOptions, r as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, s as UseDbQueryOptions, t as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, c as useDataLayerOptional, e as useDbCount, e as useDbCountV3, f as useDbDeleteV3, g as useDbInfiniteQueryV3, h as useDbInsertV3, j as useDbQueryById, i as useDbQueryV3, k as useDbUpdateV3, l as useDbUpsert, l as useDbUpsertV3, l as useUpsert } from './useDbCount-DWfYB2iu.js';
|
|
20
18
|
import { DataLayerConfig } from './core/index.js';
|
|
21
|
-
export { AdapterRegistry as AdapterRegistryInterface, AutoStrategy, BuiltQuery, CachedStrategy, ColumnInfo, ColumnType, ConnectionConfig, DataAdapter, DataLayerHooks, DatabaseSchema, DeleteMutationResult, ExtractInsert, ExtractRow, ExtractUpdate, HybridStrategy, MutationHookResult, MutationResult, OrderBy, ParsedSelect, PowerSyncStrategy, QueryOptions, QueryResult, QuerySingleResult, RelationshipInfo, RelationshipType, ResolvedRelationship, ScopeDefinition, SelectColumn, SelectRelation, SupabaseStrategy, SyncControl,
|
|
22
|
-
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-
|
|
19
|
+
export { AdapterRegistry as AdapterRegistryInterface, AutoStrategy, BuiltQuery, CachedStrategy, ColumnInfo, ColumnType, ConnectionConfig, DataAdapter, DataLayerHooks, DatabaseSchema, DeleteMutationResult, ExtractInsert, ExtractRow, ExtractUpdate, HybridStrategy, MutationHookResult, MutationResult, OrderBy, ParsedSelect, PowerSyncStrategy, QueryOptions, QueryResult, QuerySingleResult, RelationshipInfo, RelationshipType, ResolvedRelationship, ScopeDefinition, SelectColumn, SelectRelation, SupabaseStrategy, SyncControl, SyncSchedule, SyncScope, SyncStatus, TableNames, TableSchema, TableStrategy, UseDbMutationHook, UseDbQueryByIdHook, UseDbQueryHook, WhereClause, WhereOperators } from './core/index.js';
|
|
20
|
+
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-DAkiCNo3.js';
|
|
23
21
|
export { UsePartialAdvancedQueryResult, UsePartialQueryResult, UseQuerySingleReturn, extractColumnNames, extractRelationNames, getRelationSelect, hasRelation, parseSelect, stringifySelect, tokenizeTopLevel, useAdvancedFilterQuery, useAdvancedQuery, useInfiniteQuery, usePartialAdvancedQuery, usePartialQuery, useQuery } from './query/index.js';
|
|
24
|
-
export { P as PowerSyncDatabase, Q as QueryExecutor, e as RelationJoinData, R as RelationshipResolver, b as ResultJoiner, S as SQLBuilder, f as createQueryExecutor, c as createRelationshipResolver, d as createResultJoiner, a as createSQLBuilder } from './executor-
|
|
25
|
-
import {
|
|
26
|
-
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext,
|
|
22
|
+
export { P as PowerSyncDatabase, Q as QueryExecutor, e as RelationJoinData, R as RelationshipResolver, b as ResultJoiner, S as SQLBuilder, f as createQueryExecutor, c as createRelationshipResolver, d as createResultJoiner, a as createSQLBuilder } from './executor-YJw4m7Q7.js';
|
|
23
|
+
import { r as DataLayerContextValue } from './DataLayerContext-BwMk4VpG.js';
|
|
24
|
+
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext, u as DataLayerStatus, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-BwMk4VpG.js';
|
|
27
25
|
import { ReactNode, JSX } from 'react';
|
|
28
26
|
export { B as BatchAnalysisProgress, E as ExtractedReceipt, P as PendingExpense, a as useReceiptAI, u as useSupabaseFunction } from './useReceiptAI-6HkRpRml.js';
|
|
29
|
-
export { e as UserMetadataContextProvider, c as UserMetadataContextType, a as UserMetadataInsert, U as UserMetadataRow, b as UserMetadataUpdate, u as useLiveChangesIndicator, h as useSetUserMetadata, f as useUserMetadata, i as useUserMetadataState, g as useUserMetadataValue, d as userMetadataContext } from './UserMetadataContext-
|
|
27
|
+
export { e as UserMetadataContextProvider, c as UserMetadataContextType, a as UserMetadataInsert, U as UserMetadataRow, b as UserMetadataUpdate, u as useLiveChangesIndicator, h as useSetUserMetadata, f as useUserMetadata, i as useUserMetadataState, g as useUserMetadataValue, d as userMetadataContext } from './UserMetadataContext-pQb3A8_Q.js';
|
|
30
28
|
export { AnyPostgrestResponse, FilterDefinition, FilterDefinitions, FilterFn, NestedPath, OPERATOR_MAP, OperatorFn, OrderDefinition, Path, PostgrestFilter, PostgrestFilterOperator, PostgrestHasMorePaginationCacheData, PostgrestHasMorePaginationResponse, PostgrestPaginationCacheData, PostgrestPaginationResponse, PostgrestParser, PostgrestQueryParser, PostgrestQueryParserOptions, SUPPORTED_OPERATORS, ValueType, binarySearch, buildSortedComparator, denormalize, encodeObject, extractPathsFromFilters, filterFilterDefinitionsByPaths, findFilters, findIndexOrdered, findLastIndex, get, getTable, groupPathsRecursive, ifDateGetTime, isAndFilter, isAnyPostgrestResponse, isFilterDefinition, isISODateString, isNestedPath, isNotNull, isObject, isOrFilter, isPostgrestBuilder, isPostgrestHasMorePaginationCacheData, isPostgrestHasMorePaginationResponse, isPostgrestPaginationCacheData, isPostgrestPaginationResponse, parseOrderByKey, parseSelectParam, parseValue, removeAliasFromDeclaration, removeFirstPathElement, setFilterValue, sortSearchParams } from './parser/index.js';
|
|
31
29
|
export { Accessory, Address, AdvanceQuery, AdvanceQueryNotificationSetting, AdvancedQueryView, BillableService, BillingDetails, CachedEmbedding, Changelog, ChangelogEntry, ChangelogMedia, ChargeTable, Circuit, Client, Comment, CommentReaction, CommentRead, CommentSection, CommentTag, CommonNote, CommonNoteCategory, CommonNoteSubCategory, ControlComponent, ControlComponentDatasheet, Controller, CoreSavedQuery, CoreSavedQueryAccess, Currency, CurrencyUsdConversion, DataExchangeImport, Datasheet, Dimension, DimmerModule, DimmerRack, Embedding, EquipmentConfigurationGroup, EquipmentFixture, EquipmentFixtureConfiguration, EquipmentFixtureConfigurationAccessoryEntry, EquipmentFixtureConfigurationControlComponentEntry, EquipmentFixtureCost, EquipmentFixtureDatasheet, EquipmentFixtureDimension, EquipmentFixtureDocument, EquipmentFixtureLampConfiguration, EquipmentFixtureListing, EquipmentFixtureMode, EquipmentFixtureModeChannel, EquipmentFixturePreset, EquipmentFixtureUnit, EquipmentFixtureUnitControl, EquipmentFixtureUnitLocation, EquipmentFixtureUnitLocationTag, EquipmentFixtureUnitLocationTagValue, EquipmentFixtureUnitPatternEntry, EquipmentFixtureWeight, EquipmentType, EquipmentUnitMediaContent, Expense, ExpenseLineItem, ExpenseReport, Fixture, FixtureCatalog, FixtureCatalogItem, FixtureCategory, FixtureTag, GlobalExpenseReport, HighlightServer, HighlightServerInstance, HighlightServerInstanceLog, HighlightServerInstanceOptions, HighlightServerInstanceStatus, HighlightServerRequest, Invoice, InvoiceSummaryTable, InvoiceTerm, InvoiceTermCondition, Lamp, LampCategory, LampCurrentListing, LampType, LicenseAssignment, Logo, Manufacturer, ManufacturerTag, ManufacturerToTag, OperationLog, OrderHinted, Organization, OrganizationUser, OrganizationUserAccess, ParameterMappingProfile, ParameterMappingProfileAssignment, Pattern, PaymentCustomer, PaymentInvoice, PaymentPaymentIntents, PaymentPlan, PaymentProduct, PaymentProductFeature, PaymentSubscription, PaymentSubscriptionPlan, PhaseActivityBucket, ProfileConfig as Profile, ProfileConfig, ProfileTimeBank, Project, ProjectDatabase, ProjectDatabaseEquipmentConfigurationGroup, ProjectDatabaseExcelParameterAssignment, ProjectDatabaseGroup, ProjectDatabaseParameterMappingProfile, ProjectDefaultRateByTitle, ProjectDocument, ProjectDocumentLineItem, PunchList, PunchListAccess, PunchListItem, PunchListItemAssignment, PunchListItemAttachedEntity, PunchListItemAttachment, PunchListItemCheckListItem, PunchListPage, PunchListPageAccess, PunchListUserOrderHint, QrCode, RetainageItem, RevitEquipmentUnitChange, RevitImport, RevitValueChangedEvent, Role, Service, ServiceCosts, ServiceStorageHourly, SmartCode, SmartCodeTag, Subtask, SystemBroadcastChannel, SystemBroadcastChannelThrottle, SystemConfiguration, SystemEmailNotification, SystemEvent, SystemEventListener, SystemEventWorker, SystemGlobalVariables, SystemHealthCheck, SystemInAppNotification, SystemLog, SystemMutedTopic, SystemNotification, SystemPushNotification, SystemSubscriber, SystemSupportAccess, SystemSupportTeam, SystemTask, SystemTaskAttempt, SystemTaskAttemptAccess, SystemTemp, SystemTicket, SystemTicketAttachment, SystemTicketComment, SystemTicketCommentAttachment, SystemUserPushTokens, Tag, Task, TaxCategory, Ticket, TicketAttachment, TicketComment, TicketCommentAttachment, TimeActivity, TimeBankTransaction, UserMetadata, UserTimesheet, WeeklyTimesheet, WorkEstimation, WorkEstimationLineItem, WorkingPhase, WorkingPhaseBillingItemDailySummary, WorkingPhaseBillingItemLatestSummary, WorkingPhaseCategory, WorkingPhaseDailySummary, WorkingPhaseRoleRate, WorkingPhaseSummary } from './gen/index.js';
|
|
32
30
|
import 'moment';
|
|
33
31
|
import '@supabase/functions-js';
|
|
34
32
|
import '@supabase/postgrest-js';
|
|
35
|
-
import '@supabase/storage-js';
|
|
36
33
|
import 'react/jsx-runtime';
|
|
34
|
+
import '@supabase/storage-js';
|
|
35
|
+
import '@pol-studios/utils';
|
|
37
36
|
import '@supabase/supabase-js/dist/module/lib/types.js';
|
|
38
37
|
|
|
39
38
|
type ItemType$4<T> = T extends Array<infer U> ? U : T;
|
|
@@ -44,8 +43,8 @@ declare function useDbDelete<TableName extends string & keyof PublicSchema["Tabl
|
|
|
44
43
|
schema: Schema;
|
|
45
44
|
}, primaryKeys?: (keyof ItemType$4<RowResult> & string)[]): _tanstack_react_query.UseMutationResult<RowResult, Error, Partial<RowResult>, unknown>;
|
|
46
45
|
|
|
47
|
-
type DataType
|
|
48
|
-
declare function useDbInfiniteQuery<Relation extends GenericTable | GenericView, Result extends DataType
|
|
46
|
+
type DataType = Record<string, any>;
|
|
47
|
+
declare function useDbInfiniteQuery<Relation extends GenericTable | GenericView, Result extends DataType, Query extends string = "*", RelationName = unknown, Relationships = Relation extends {
|
|
49
48
|
Relationships: infer R;
|
|
50
49
|
} ? R : unknown, Builder = PromiseLike<PostgrestSingleResponse<Result>>>(query: PromiseLike<PostgrestSingleResponse<Result>>, countPerLoad: number, config?: Omit<UseInfiniteQueryOptions<PostgrestSingleResponse<Result>, Error, InfiniteData<PostgrestSingleResponse<Result>, number>>, "queryKey" | "queryFn" | "getNextPageParam" | "initialPageParam"> & {
|
|
51
50
|
crossOrganization?: boolean;
|
|
@@ -338,32 +337,6 @@ declare function useDbRealtime(key: string, query: string, table: string | {
|
|
|
338
337
|
}>) => any;
|
|
339
338
|
}): "SUBSCRIBED" | "TIMED_OUT" | "CLOSED" | "CHANNEL_ERROR";
|
|
340
339
|
|
|
341
|
-
type ConfigurationOptions<T> = {
|
|
342
|
-
crossOrganization?: boolean;
|
|
343
|
-
};
|
|
344
|
-
type FilterOperator = "or" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "ilike" | "is" | "in" | "cs" | "cd" | "fts" | "plfts";
|
|
345
|
-
type ValueType = number | string | boolean | null | Date | object;
|
|
346
|
-
type FilterDefinition = {
|
|
347
|
-
path: string;
|
|
348
|
-
alias?: string;
|
|
349
|
-
operator: FilterOperator;
|
|
350
|
-
negate: boolean;
|
|
351
|
-
value: ValueType;
|
|
352
|
-
};
|
|
353
|
-
type FilterDefinitions = (FilterComposite | FilterDefinition)[];
|
|
354
|
-
type FilterComposite = {
|
|
355
|
-
or?: FilterDefinitions;
|
|
356
|
-
and?: FilterDefinitions;
|
|
357
|
-
};
|
|
358
|
-
type UseDbRealtimeQueryResult<T> = UseDbQuerySingleReturn<T> & {
|
|
359
|
-
realtimeStatus: "SUBSCRIBED" | "TIMED_OUT" | "CLOSED" | "CHANNEL_ERROR" | "Loading...";
|
|
360
|
-
isRealtimeConnected: boolean;
|
|
361
|
-
isRealtimeLoading: boolean;
|
|
362
|
-
};
|
|
363
|
-
type DataType = Record<string, any>;
|
|
364
|
-
declare function convertFilterToRealtimeQuery(filters: FilterDefinitions): string;
|
|
365
|
-
declare function useDbRealtimeQuery<Result extends DataType>(query: PromiseLike<PostgrestSingleResponse<Result>>, config?: Omit<UseQueryOptions<PostgrestSingleResponse<Result>>, "queryKey" | "queryFn"> & ConfigurationOptions<Result>, primaryKeys?: (keyof ItemType$5<Result> & string)[]): UseDbRealtimeQueryResult<Result>;
|
|
366
|
-
|
|
367
340
|
type ItemType<T> = T extends Array<infer U> ? U : T;
|
|
368
341
|
type MutationOption = Parameters<typeof useUpdateMutation>[3];
|
|
369
342
|
declare function useDbUpdate<TableName extends string & keyof PublicSchema["Tables"], Table extends PublicSchema["Tables"][TableName], Schema extends keyof Database = "public", ReturnQuery extends string | undefined = undefined, PublicSchema extends GenericSchema = Database[Extract<keyof Database, Schema>], RelationName = unknown, Relationships = Table extends {
|
|
@@ -435,4 +408,4 @@ interface DataLayerProviderProps {
|
|
|
435
408
|
*/
|
|
436
409
|
declare function DataLayerProvider({ config, children, supabaseClient, queryClient, onInitialized, onError, }: DataLayerProviderProps): JSX.Element;
|
|
437
410
|
|
|
438
|
-
export { DataLayerConfig, DataLayerContextValue, DataLayerProvider, type DataLayerProviderProps, GenericSchema, GenericTable, GenericView, GetResult, type UseDbPartialAdvanceQueryResult,
|
|
411
|
+
export { DataLayerConfig, DataLayerContextValue, DataLayerProvider, type DataLayerProviderProps, GenericSchema, GenericTable, GenericView, GetResult, type UseDbPartialAdvanceQueryResult, useDbAdvanceFilterQuery, useDbAdvanceFilterQuery as useDbAdvanceQuery, useDbDelete, useDbInfiniteQuery, useDbInsert, useDbMultiDelete, useDbMultiUpsert, useDbPartialAdvanceQuery, useDbRealtime, useDbUpdate, useDbDelete as useDelete, useDbInsert as useInsert, useDbRealtime as useRealtime, useDbUpdate as useUpdate };
|
package/dist/index.web.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useReceiptAI_default,
|
|
3
3
|
useSupabaseFunction
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZCOFRJQD.js";
|
|
5
5
|
import {
|
|
6
6
|
ADAPTER_STRATEGIES,
|
|
7
7
|
AdapterAutoDetector,
|
|
8
8
|
AdapterRegistry,
|
|
9
9
|
BUCKETS,
|
|
10
10
|
BackendStatus,
|
|
11
|
+
StorageQueueContext,
|
|
12
|
+
StorageQueueProvider,
|
|
11
13
|
SupabaseAdapter,
|
|
12
14
|
convertFilterToRealtimeQuery,
|
|
13
15
|
createAdapterAutoDetector,
|
|
@@ -16,9 +18,11 @@ import {
|
|
|
16
18
|
createSupabaseAdapter,
|
|
17
19
|
executeAdvanceQuery,
|
|
18
20
|
getErrorBody,
|
|
21
|
+
getStorageUrl,
|
|
19
22
|
newTimeActivity,
|
|
20
23
|
useAI,
|
|
21
24
|
useApplyFeedback,
|
|
25
|
+
useAutosave,
|
|
22
26
|
useAutosaveState,
|
|
23
27
|
useChangelogById,
|
|
24
28
|
useChangelogBySlug,
|
|
@@ -44,15 +48,15 @@ import {
|
|
|
44
48
|
useResolveFeedback,
|
|
45
49
|
useSearchQuery,
|
|
46
50
|
useServerAvailability,
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
useStorageQueueContext,
|
|
52
|
+
useStorageSource,
|
|
49
53
|
useSubmitFeedback,
|
|
50
54
|
useToastError,
|
|
51
55
|
useUploadChangelogMedia,
|
|
52
56
|
useUpsertChangelog,
|
|
53
57
|
useUpsertChangelogEntry,
|
|
54
58
|
useUpsertChangelogMedia
|
|
55
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AML2TLXJ.js";
|
|
56
60
|
import {
|
|
57
61
|
LiveChangeContext,
|
|
58
62
|
LiveChangeContextProvider,
|
|
@@ -63,7 +67,7 @@ import {
|
|
|
63
67
|
useUserMetadataState,
|
|
64
68
|
useUserMetadataValue,
|
|
65
69
|
userMetadataContext
|
|
66
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-FESQS4S5.js";
|
|
67
71
|
import {
|
|
68
72
|
PostgrestFilter,
|
|
69
73
|
binarySearch,
|
|
@@ -91,13 +95,23 @@ import {
|
|
|
91
95
|
removeAliasFromDeclaration,
|
|
92
96
|
removeFirstPathElement,
|
|
93
97
|
setFilterValue
|
|
94
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-FI6JAD5G.js";
|
|
99
|
+
import {
|
|
100
|
+
useAdvanceQuery,
|
|
101
|
+
useDbCount,
|
|
102
|
+
useDbDelete,
|
|
103
|
+
useDbInfiniteQuery,
|
|
104
|
+
useDbInsert,
|
|
105
|
+
useDbQueryById,
|
|
106
|
+
useDbUpdate,
|
|
107
|
+
useDbUpsert
|
|
108
|
+
} from "./chunk-NP34C3O3.js";
|
|
95
109
|
import {
|
|
96
110
|
Constants,
|
|
97
111
|
createCombinedStatus,
|
|
98
112
|
normalizeFilter,
|
|
99
113
|
useDbAdvanceFilterQuery
|
|
100
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-Z456IHCB.js";
|
|
101
115
|
import {
|
|
102
116
|
Accessory,
|
|
103
117
|
Address,
|
|
@@ -285,29 +299,22 @@ import {
|
|
|
285
299
|
import {
|
|
286
300
|
UserMetadata
|
|
287
301
|
} from "./chunk-SM73S2DY.js";
|
|
288
|
-
import "./chunk-
|
|
289
|
-
import "./chunk-
|
|
302
|
+
import "./chunk-6KN7KLEG.js";
|
|
303
|
+
import "./chunk-5HJLTYRA.js";
|
|
304
|
+
import "./chunk-MREERKQU.js";
|
|
290
305
|
import {
|
|
291
306
|
DEFAULT_QUERY_TIMEOUT,
|
|
292
307
|
TIMEOUT_ERROR_MESSAGE,
|
|
293
308
|
isTimeoutError,
|
|
294
309
|
useDbQuery as useDbQuery2
|
|
295
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-67HMVGV7.js";
|
|
296
311
|
import {
|
|
297
312
|
DataLayerContext,
|
|
298
|
-
useAdvanceQuery,
|
|
299
313
|
useDataLayer,
|
|
300
314
|
useDataLayerOptional,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
useDbInsert,
|
|
305
|
-
useDbQuery,
|
|
306
|
-
useDbQueryById,
|
|
307
|
-
useDbUpdate,
|
|
308
|
-
useDbUpsert
|
|
309
|
-
} from "./chunk-VGEMLNNM.js";
|
|
310
|
-
import "./chunk-HAWJTZCK.js";
|
|
315
|
+
useDbQuery
|
|
316
|
+
} from "./chunk-UBHORKBS.js";
|
|
317
|
+
import "./chunk-RT4O5H2E.js";
|
|
311
318
|
import {
|
|
312
319
|
useAdvancedFilterQuery,
|
|
313
320
|
useAdvancedQuery,
|
|
@@ -315,7 +322,7 @@ import {
|
|
|
315
322
|
usePartialAdvancedQuery,
|
|
316
323
|
usePartialQuery,
|
|
317
324
|
useQuery
|
|
318
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-LF3V3ERS.js";
|
|
319
326
|
import {
|
|
320
327
|
QueryExecutor,
|
|
321
328
|
RelationshipResolver,
|
|
@@ -332,7 +339,7 @@ import {
|
|
|
332
339
|
parseSelect,
|
|
333
340
|
stringifySelect,
|
|
334
341
|
tokenizeTopLevel
|
|
335
|
-
} from "./chunk-
|
|
342
|
+
} from "./chunk-QJZUIAHA.js";
|
|
336
343
|
import {
|
|
337
344
|
getSupabaseUrl,
|
|
338
345
|
setSupabaseUrl
|
|
@@ -340,7 +347,7 @@ import {
|
|
|
340
347
|
import {
|
|
341
348
|
useBatchDelete,
|
|
342
349
|
useBatchUpsert
|
|
343
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-WM25QE7E.js";
|
|
344
351
|
import {
|
|
345
352
|
OPERATOR_MAP,
|
|
346
353
|
PostgrestParser,
|
|
@@ -354,18 +361,14 @@ import {
|
|
|
354
361
|
parseSelectParam,
|
|
355
362
|
parseValue,
|
|
356
363
|
sortSearchParams
|
|
357
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-JOULSXOI.js";
|
|
358
365
|
import "./chunk-J4ZVCXZ4.js";
|
|
359
|
-
import {
|
|
360
|
-
isUsable,
|
|
361
|
-
omit
|
|
362
|
-
} from "./chunk-OQ7U6EQ3.js";
|
|
363
366
|
import {
|
|
364
367
|
encode,
|
|
365
368
|
useInsertMutation,
|
|
366
369
|
useUpsertItem
|
|
367
|
-
} from "./chunk-
|
|
368
|
-
import "./chunk-
|
|
370
|
+
} from "./chunk-YUX6RGLZ.js";
|
|
371
|
+
import "./chunk-AKIRHA4Q.js";
|
|
369
372
|
import {
|
|
370
373
|
ClientInstanceId,
|
|
371
374
|
SupabaseProvider,
|
|
@@ -374,8 +377,8 @@ import {
|
|
|
374
377
|
setDefaultOptions,
|
|
375
378
|
typedSupabase,
|
|
376
379
|
useSupabase
|
|
377
|
-
} from "./chunk-
|
|
378
|
-
import "./chunk-
|
|
380
|
+
} from "./chunk-DMVUEJG2.js";
|
|
381
|
+
import "./chunk-7D4SUZUM.js";
|
|
379
382
|
|
|
380
383
|
// src/useDbInfiniteQuery.ts
|
|
381
384
|
import { useInfiniteQuery as useInfiniteQuery2 } from "@tanstack/react-query";
|
|
@@ -441,6 +444,8 @@ function useDbInfiniteQuery2(query, countPerLoad, config) {
|
|
|
441
444
|
// src/useDbInsert.ts
|
|
442
445
|
import { c as _c } from "react/compiler-runtime";
|
|
443
446
|
import { useMutation } from "@tanstack/react-query";
|
|
447
|
+
import { isUsable } from "@pol-studios/utils";
|
|
448
|
+
import { omit } from "@pol-studios/utils";
|
|
444
449
|
function useDbInsert2(relation, t0, query, mutationOption) {
|
|
445
450
|
const $ = _c(11);
|
|
446
451
|
let t1;
|
|
@@ -505,6 +510,7 @@ function _temp(k) {
|
|
|
505
510
|
// src/useDbPartialAdvanceQuery.ts
|
|
506
511
|
import { c as _c2 } from "react/compiler-runtime";
|
|
507
512
|
import { useLayoutEffect, useState } from "react";
|
|
513
|
+
import { omit as omit2 } from "@pol-studios/utils";
|
|
508
514
|
import { useSessionStorageState } from "@pol-studios/hooks/storage";
|
|
509
515
|
function useDbPartialAdvanceQuery(query, itemCountPerPage, config) {
|
|
510
516
|
const $ = _c2(54);
|
|
@@ -552,7 +558,7 @@ function useDbPartialAdvanceQuery(query, itemCountPerPage, config) {
|
|
|
552
558
|
const [baseQuery, filter, setFilters] = useDbAdvanceFilterQuery(rangedQuery, t5);
|
|
553
559
|
let t6;
|
|
554
560
|
if ($[10] !== filter) {
|
|
555
|
-
t6 = JSON.stringify(
|
|
561
|
+
t6 = JSON.stringify(omit2(filter, ["pagination"]));
|
|
556
562
|
$[10] = filter;
|
|
557
563
|
$[11] = t6;
|
|
558
564
|
} else {
|
|
@@ -822,6 +828,7 @@ function toPagedResponse2(results, currentPage, totalCount, itemPerPage) {
|
|
|
822
828
|
// src/useDbUpdate.ts
|
|
823
829
|
import { c as _c4 } from "react/compiler-runtime";
|
|
824
830
|
import { useMutation as useMutation2 } from "@tanstack/react-query";
|
|
831
|
+
import { isUsable as isUsable2, omit as omit3 } from "@pol-studios/utils";
|
|
825
832
|
function useDbUpdate2(relation, t0, query, mutationOption) {
|
|
826
833
|
const $ = _c4(14);
|
|
827
834
|
let t1;
|
|
@@ -866,8 +873,8 @@ function useDbUpdate2(relation, t0, query, mutationOption) {
|
|
|
866
873
|
t6 = {
|
|
867
874
|
mutationFn: async (item) => {
|
|
868
875
|
let response = null;
|
|
869
|
-
if (primaryKeys.every((x_0) => x_0 in item &&
|
|
870
|
-
const query_0 = supabase.schema(schemaName).from(tableName).update(
|
|
876
|
+
if (primaryKeys.every((x_0) => x_0 in item && isUsable2(item[x_0]))) {
|
|
877
|
+
const query_0 = supabase.schema(schemaName).from(tableName).update(omit3(item, primaryKeysAsStrings));
|
|
871
878
|
primaryKeys.forEach((x) => {
|
|
872
879
|
query_0.eq(String(x), item[x]);
|
|
873
880
|
});
|
|
@@ -920,21 +927,19 @@ var defaultSyncControl = {
|
|
|
920
927
|
setScope: async () => {
|
|
921
928
|
console.warn("Scope control not available: PowerSync not initialized");
|
|
922
929
|
},
|
|
923
|
-
//
|
|
924
|
-
retryFailedUploads: async () => {
|
|
925
|
-
console.warn("Retry not available: PowerSync not initialized");
|
|
926
|
-
},
|
|
927
|
-
clearFailedUploads: () => {
|
|
928
|
-
console.warn("Clear failed uploads not available: PowerSync not initialized");
|
|
929
|
-
},
|
|
930
|
-
failedUploads: [],
|
|
930
|
+
// Auto-retry controls
|
|
931
931
|
pauseAutoRetry: () => {
|
|
932
932
|
console.warn("Pause auto-retry not available: PowerSync not initialized");
|
|
933
933
|
},
|
|
934
934
|
resumeAutoRetry: () => {
|
|
935
935
|
console.warn("Resume auto-retry not available: PowerSync not initialized");
|
|
936
936
|
},
|
|
937
|
-
isAutoRetryPaused: false
|
|
937
|
+
isAutoRetryPaused: false,
|
|
938
|
+
// Pending mutations
|
|
939
|
+
addPendingMutation: () => {
|
|
940
|
+
},
|
|
941
|
+
removePendingMutation: () => {
|
|
942
|
+
}
|
|
938
943
|
};
|
|
939
944
|
function DataLayerProvider({
|
|
940
945
|
config,
|
|
@@ -1057,8 +1062,8 @@ function DataLayerProvider({
|
|
|
1057
1062
|
}
|
|
1058
1063
|
}
|
|
1059
1064
|
}, [status.isInitialized, status.error]);
|
|
1060
|
-
const getAdapter = useCallback((table) => {
|
|
1061
|
-
return registry.getAdapter(table);
|
|
1065
|
+
const getAdapter = useCallback((table, operation = "read") => {
|
|
1066
|
+
return registry.getAdapter(table, operation);
|
|
1062
1067
|
}, [registry]);
|
|
1063
1068
|
const buildContextValue = useCallback(() => {
|
|
1064
1069
|
if (!status.isInitialized) return null;
|
|
@@ -1244,6 +1249,8 @@ export {
|
|
|
1244
1249
|
ServiceStorageHourly,
|
|
1245
1250
|
SmartCode,
|
|
1246
1251
|
SmartCodeTag,
|
|
1252
|
+
StorageQueueContext,
|
|
1253
|
+
StorageQueueProvider,
|
|
1247
1254
|
Subtask,
|
|
1248
1255
|
SupabaseAdapter,
|
|
1249
1256
|
SupabaseProvider,
|
|
@@ -1323,6 +1330,7 @@ export {
|
|
|
1323
1330
|
get,
|
|
1324
1331
|
getErrorBody,
|
|
1325
1332
|
getRelationSelect,
|
|
1333
|
+
getStorageUrl,
|
|
1326
1334
|
getSupabaseUrl,
|
|
1327
1335
|
getTable,
|
|
1328
1336
|
groupPathsRecursive,
|
|
@@ -1363,6 +1371,7 @@ export {
|
|
|
1363
1371
|
useAdvancedFilterQuery,
|
|
1364
1372
|
useAdvancedQuery,
|
|
1365
1373
|
useApplyFeedback,
|
|
1374
|
+
useAutosave,
|
|
1366
1375
|
useAutosaveState,
|
|
1367
1376
|
useBatchDelete,
|
|
1368
1377
|
useBatchUpsert,
|
|
@@ -1421,8 +1430,8 @@ export {
|
|
|
1421
1430
|
useSearchQuery,
|
|
1422
1431
|
useServerAvailability,
|
|
1423
1432
|
useSetUserMetadata,
|
|
1424
|
-
|
|
1425
|
-
|
|
1433
|
+
useStorageQueueContext,
|
|
1434
|
+
useStorageSource,
|
|
1426
1435
|
useSubmitFeedback,
|
|
1427
1436
|
useSupabase,
|
|
1428
1437
|
useSupabaseFunction,
|