1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.ContainerOptions = exports.ContainerItemType = exports.ContainerItemStatus = exports.BlobCompressionType = void 0;
|
13 |
|
14 |
|
15 |
|
16 | var BlobCompressionType;
|
17 | (function (BlobCompressionType) {
|
18 | BlobCompressionType[BlobCompressionType["None"] = 0] = "None";
|
19 | BlobCompressionType[BlobCompressionType["GZip"] = 1] = "GZip";
|
20 | })(BlobCompressionType = exports.BlobCompressionType || (exports.BlobCompressionType = {}));
|
21 |
|
22 |
|
23 |
|
24 | var ContainerItemStatus;
|
25 | (function (ContainerItemStatus) {
|
26 | |
27 |
|
28 |
|
29 | ContainerItemStatus[ContainerItemStatus["Created"] = 1] = "Created";
|
30 | |
31 |
|
32 |
|
33 | ContainerItemStatus[ContainerItemStatus["PendingUpload"] = 2] = "PendingUpload";
|
34 | })(ContainerItemStatus = exports.ContainerItemStatus || (exports.ContainerItemStatus = {}));
|
35 |
|
36 |
|
37 |
|
38 | var ContainerItemType;
|
39 | (function (ContainerItemType) {
|
40 | |
41 |
|
42 |
|
43 | ContainerItemType[ContainerItemType["Any"] = 0] = "Any";
|
44 | |
45 |
|
46 |
|
47 | ContainerItemType[ContainerItemType["Folder"] = 1] = "Folder";
|
48 | |
49 |
|
50 |
|
51 | ContainerItemType[ContainerItemType["File"] = 2] = "File";
|
52 | })(ContainerItemType = exports.ContainerItemType || (exports.ContainerItemType = {}));
|
53 |
|
54 |
|
55 |
|
56 | var ContainerOptions;
|
57 | (function (ContainerOptions) {
|
58 | |
59 |
|
60 |
|
61 | ContainerOptions[ContainerOptions["None"] = 0] = "None";
|
62 | })(ContainerOptions = exports.ContainerOptions || (exports.ContainerOptions = {}));
|
63 | exports.TypeInfo = {
|
64 | BlobCompressionType: {
|
65 | enumValues: {
|
66 | "none": 0,
|
67 | "gZip": 1
|
68 | }
|
69 | },
|
70 | ContainerItemBlobReference: {},
|
71 | ContainerItemStatus: {
|
72 | enumValues: {
|
73 | "created": 1,
|
74 | "pendingUpload": 2
|
75 | }
|
76 | },
|
77 | ContainerItemType: {
|
78 | enumValues: {
|
79 | "any": 0,
|
80 | "folder": 1,
|
81 | "file": 2
|
82 | }
|
83 | },
|
84 | ContainerOptions: {
|
85 | enumValues: {
|
86 | "none": 0
|
87 | }
|
88 | },
|
89 | FileContainer: {},
|
90 | FileContainerItem: {},
|
91 | };
|
92 | exports.TypeInfo.ContainerItemBlobReference.fields = {
|
93 | compressionType: {
|
94 | enumType: exports.TypeInfo.BlobCompressionType
|
95 | }
|
96 | };
|
97 | exports.TypeInfo.FileContainer.fields = {
|
98 | dateCreated: {
|
99 | isDate: true,
|
100 | },
|
101 | options: {
|
102 | enumType: exports.TypeInfo.ContainerOptions
|
103 | }
|
104 | };
|
105 | exports.TypeInfo.FileContainerItem.fields = {
|
106 | blobMetadata: {
|
107 | typeInfo: exports.TypeInfo.ContainerItemBlobReference
|
108 | },
|
109 | dateCreated: {
|
110 | isDate: true,
|
111 | },
|
112 | dateLastModified: {
|
113 | isDate: true,
|
114 | },
|
115 | itemType: {
|
116 | enumType: exports.TypeInfo.ContainerItemType
|
117 | },
|
118 | status: {
|
119 | enumType: exports.TypeInfo.ContainerItemStatus
|
120 | }
|
121 | };
|