feat(core): rebrand to @lossless.zone/objectstorage
- 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
This commit is contained in:
22
ts_interfaces/data/policy.ts
Normal file
22
ts_interfaces/data/policy.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
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[]>;
|
||||
}
|
||||
Reference in New Issue
Block a user