@coast/core-api-types 1.2.22 → 1.2.23

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.
@@ -0,0 +1,6 @@
1
+ import { FileId } from './FileId';
2
+ import { S3StoredFile } from './S3StoredFile';
3
+ export interface FileDetails {
4
+ id: FileId;
5
+ storage: S3StoredFile;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import { Brand } from '@paradoxical-io/types';
2
+ export type FileId = Brand<string, 'FileId'>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { StoredFileType } from './StoredFileType';
2
+ export interface S3StoredFile {
3
+ type: StoredFileType.S3;
4
+ bucket: string;
5
+ key: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export declare enum StoredFileType {
2
+ S3 = "S3"
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StoredFileType = void 0;
4
+ var StoredFileType;
5
+ (function (StoredFileType) {
6
+ StoredFileType["S3"] = "S3";
7
+ })(StoredFileType || (exports.StoredFileType = StoredFileType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "core-api types package",
5
5
  "main": "./models",
6
6
  "types": "./models",