@serve.zone/appstore 1.2.0 → 1.4.0

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.
@@ -10,6 +10,44 @@ export type TAppStoreDockerImageSource = interfaces.appstore.IAppStoreDockerImag
10
10
  export type TAppStoreRepoManifestSource = interfaces.appstore.IAppStoreRepoManifestSource;
11
11
  export type TAppStoreResolvedSource = interfaces.appstore.IAppStoreResolvedSource;
12
12
  export type TServezoneAppStoreManifest = interfaces.appstore.IServezoneAppStoreManifest;
13
+ export type TAppStoreStorageRequest = interfaces.appstore.TAppStoreStorageRequest;
14
+ export type TAppStoreStorageClass = interfaces.appstore.IAppStoreStorageClass;
15
+ export type TAppStoreStorageFeatureId = interfaces.appstore.TAppStoreStorageFeatureId;
16
+
17
+ export type TAppStoreStorageRequestOrigin =
18
+ | 'explicit'
19
+ | 'legacyVolume'
20
+ | 'legacyS3';
21
+
22
+ export interface IAppStoreStorageLegacyCompatibility {
23
+ /**
24
+ * Downstream adapters preserve the existing S3/AWS environment aliases for
25
+ * this request. New named bindings use their explicit delivery declaration.
26
+ */
27
+ objectStorage?: {
28
+ requestId: 'legacy-s3';
29
+ deliveryProfile: 'servezone-platform-s3-v1';
30
+ /** Legacy binding values replace same-key template env values. */
31
+ environmentOwnership: 'bindingOverridesTemplate';
32
+ };
33
+ }
34
+
35
+ export interface INormalizedAppStoreStorageConfig {
36
+ schemaVersion: 1;
37
+ storageClasses: Record<string, TAppStoreStorageClass>;
38
+ storageRequests: TAppStoreStorageRequest[];
39
+ requestOrigins: Record<string, TAppStoreStorageRequestOrigin>;
40
+ requiredFeatureIds: TAppStoreStorageFeatureId[];
41
+ legacyCompatibility?: IAppStoreStorageLegacyCompatibility;
42
+ }
43
+
44
+ export interface IAppStoreStorageNormalizationOptions {
45
+ /**
46
+ * Portable storage features advertised by the fulfillment adapter.
47
+ * Explicit storage requests fail closed when any required feature is absent.
48
+ */
49
+ supportedFeatures: Iterable<string>;
50
+ }
13
51
 
14
52
  export interface IAppStoreResolverOptions {
15
53
  source?: TAppStoreSourceMode;