@luvio/command-aura-resource-cache-control
Advanced tools
Comparing version 5.27.1 to 5.28.0
import { CacheControlCommand } from '@luvio/command-cache-control/v1'; | ||
import { type Result, type SyncOrAsync } from '@luvio/utils'; | ||
import { type Result, type SyncOrAsync, type SubscribableResult } from '@luvio/utils'; | ||
import { type NamedPubSubService } from '@luvio/service-pubsub/v1'; | ||
import type { Cache, CacheControlMetadata } from '@luvio/service-cache/v1'; | ||
@@ -15,3 +16,3 @@ import type { NamedCacheControllerService } from '@luvio/service-cache-control/v1'; | ||
export declare abstract class AuraResourceCacheControlCommand<Data, ExtraServices extends object = object, NetworkResult = Data> extends CacheControlCommand<Data, NetworkResult, ExtraServices> { | ||
protected services: NamedCacheControllerService & NamedAuraNetworkService & ExtraServices; | ||
protected services: NamedCacheControllerService & Partial<NamedPubSubService> & NamedAuraNetworkService & ExtraServices; | ||
protected abstract readonly endpoint: string; | ||
@@ -26,4 +27,4 @@ protected abstract readonly auraParams: Record<string, unknown>; | ||
abstract buildCacheControlMetadata(networkResult: NetworkResult): CacheControlMetadata; | ||
constructor(services: NamedCacheControllerService & NamedAuraNetworkService & ExtraServices); | ||
execute(): SyncOrAsync<Result<Data, Error>>; | ||
constructor(services: NamedCacheControllerService & Partial<NamedPubSubService> & NamedAuraNetworkService & ExtraServices); | ||
execute(): SyncOrAsync<SubscribableResult<Data, Error>>; | ||
readFromCache(cache: Cache): SyncOrAsync<Result<Data | undefined, Error>>; | ||
@@ -30,0 +31,0 @@ requestFromNetwork(): SyncOrAsync<Result<NetworkResult, Error>>; |
import { CacheControlCommand } from '@luvio/command-cache-control/v1'; | ||
import { type Result, type SyncOrAsync } from '@luvio/utils'; | ||
import { type Result, type SyncOrAsync, type SubscribableResult } from '@luvio/utils'; | ||
import { type NamedPubSubService } from '@luvio/service-pubsub/v1'; | ||
import type { Cache, CacheControlMetadata } from '@luvio/service-cache/v1'; | ||
@@ -15,3 +16,3 @@ import type { NamedCacheControllerService } from '@luvio/service-cache-control/v1'; | ||
export declare abstract class AuraResourceCacheControlCommand<Data, ExtraServices extends object = object, NetworkResult = Data> extends CacheControlCommand<Data, NetworkResult, ExtraServices> { | ||
protected services: NamedCacheControllerService & NamedAuraNetworkService & ExtraServices; | ||
protected services: NamedCacheControllerService & Partial<NamedPubSubService> & NamedAuraNetworkService & ExtraServices; | ||
protected abstract readonly endpoint: string; | ||
@@ -26,4 +27,4 @@ protected abstract readonly auraParams: Record<string, unknown>; | ||
abstract buildCacheControlMetadata(networkResult: NetworkResult): CacheControlMetadata; | ||
constructor(services: NamedCacheControllerService & NamedAuraNetworkService & ExtraServices); | ||
execute(): SyncOrAsync<Result<Data, Error>>; | ||
constructor(services: NamedCacheControllerService & Partial<NamedPubSubService> & NamedAuraNetworkService & ExtraServices); | ||
execute(): SyncOrAsync<SubscribableResult<Data, Error>>; | ||
readFromCache(cache: Cache): SyncOrAsync<Result<Data | undefined, Error>>; | ||
@@ -30,0 +31,0 @@ requestFromNetwork(): SyncOrAsync<Result<NetworkResult, Error>>; |
{ | ||
"name": "@luvio/command-aura-resource-cache-control", | ||
"version": "5.27.1", | ||
"version": "5.28.0", | ||
"private": false, | ||
@@ -33,7 +33,7 @@ "description": "Luvio Aura Resource Cache Control Command", | ||
"dependencies": { | ||
"@luvio/command-base": "5.27.1", | ||
"@luvio/command-cache-control": "5.27.1", | ||
"@luvio/service-aura-network": "5.27.1", | ||
"@luvio/service-cache-control": "5.27.1", | ||
"@luvio/utils": "5.27.1" | ||
"@luvio/command-base": "5.28.0", | ||
"@luvio/command-cache-control": "5.28.0", | ||
"@luvio/service-aura-network": "5.28.0", | ||
"@luvio/service-cache-control": "5.28.0", | ||
"@luvio/utils": "5.28.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "volta": { |
Sorry, the diff of this file is not supported yet
24862
164
+ Added@luvio/command-base@5.28.0(transitive)
+ Added@luvio/command-cache-control@5.28.0(transitive)
+ Added@luvio/service-aura-network@5.28.0(transitive)
+ Added@luvio/service-cache@5.28.0(transitive)
+ Added@luvio/service-cache-control@5.28.0(transitive)
+ Added@luvio/utils@5.28.0(transitive)
- Removed@luvio/command-base@5.27.1(transitive)
- Removed@luvio/command-cache-control@5.27.1(transitive)
- Removed@luvio/service-aura-network@5.27.1(transitive)
- Removed@luvio/service-cache@5.27.1(transitive)
- Removed@luvio/service-cache-control@5.27.1(transitive)
- Removed@luvio/utils@5.27.1(transitive)
Updated@luvio/command-base@5.28.0
Updated@luvio/utils@5.28.0