- Rename from @lossless.zone/s3container to @lossless.zone/objectstorage - Replace @push.rocks/smarts3 with @push.rocks/smartstorage - Change env var prefix from S3_ to OBJST_ - Rename S3Container class to ObjectStorageContainer - Update web component prefix from s3c- to objst- - Update UI labels, CLI flags, documentation, and Docker config
23 lines
562 B
TypeScript
23 lines
562 B
TypeScript
export interface IObjstStatement {
|
|
Sid?: string;
|
|
Effect: 'Allow' | 'Deny';
|
|
Principal: string | Record<string, string | string[]>;
|
|
Action: string | string[];
|
|
Resource: string | string[];
|
|
Condition?: Record<string, Record<string, string | string[]>>;
|
|
}
|
|
|
|
export interface INamedPolicy {
|
|
id: string;
|
|
name: string;
|
|
description: string;
|
|
statements: IObjstStatement[];
|
|
createdAt: number;
|
|
updatedAt: number;
|
|
}
|
|
|
|
export interface IPoliciesData {
|
|
namedPolicies: Record<string, INamedPolicy>;
|
|
bucketPolicyAttachments: Record<string, string[]>;
|
|
}
|