@contractspec/lib.files 1.55.0 → 1.56.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema115 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
5
|
declare const FileModel: _contractspec_lib_schema115.SchemaModel<{
|
|
@@ -246,7 +246,7 @@ declare const PresignedUrlModel: _contractspec_lib_schema115.SchemaModel<{
|
|
|
246
246
|
/**
|
|
247
247
|
* Upload a file.
|
|
248
248
|
*/
|
|
249
|
-
declare const UploadFileContract:
|
|
249
|
+
declare const UploadFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
250
250
|
name: {
|
|
251
251
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
@@ -348,7 +348,7 @@ declare const UploadFileContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
348
348
|
/**
|
|
349
349
|
* Update a file.
|
|
350
350
|
*/
|
|
351
|
-
declare const UpdateFileContract:
|
|
351
|
+
declare const UpdateFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
352
352
|
fileId: {
|
|
353
353
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
354
354
|
isOptional: false;
|
|
@@ -438,7 +438,7 @@ declare const UpdateFileContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
438
438
|
/**
|
|
439
439
|
* Delete a file.
|
|
440
440
|
*/
|
|
441
|
-
declare const DeleteFileContract:
|
|
441
|
+
declare const DeleteFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
442
442
|
fileId: {
|
|
443
443
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
444
444
|
isOptional: false;
|
|
@@ -452,7 +452,7 @@ declare const DeleteFileContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
452
452
|
/**
|
|
453
453
|
* Get a file by ID.
|
|
454
454
|
*/
|
|
455
|
-
declare const GetFileContract:
|
|
455
|
+
declare const GetFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
456
456
|
fileId: {
|
|
457
457
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
458
458
|
isOptional: false;
|
|
@@ -526,7 +526,7 @@ declare const GetFileContract: _contractspec_lib_contracts15.OperationSpec<_cont
|
|
|
526
526
|
/**
|
|
527
527
|
* List files.
|
|
528
528
|
*/
|
|
529
|
-
declare const ListFilesContract:
|
|
529
|
+
declare const ListFilesContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
530
530
|
orgId: {
|
|
531
531
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
532
532
|
isOptional: true;
|
|
@@ -634,7 +634,7 @@ declare const ListFilesContract: _contractspec_lib_contracts15.OperationSpec<_co
|
|
|
634
634
|
/**
|
|
635
635
|
* Get download URL.
|
|
636
636
|
*/
|
|
637
|
-
declare const GetDownloadUrlContract:
|
|
637
|
+
declare const GetDownloadUrlContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
638
638
|
fileId: {
|
|
639
639
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
640
640
|
isOptional: false;
|
|
@@ -668,7 +668,7 @@ declare const GetDownloadUrlContract: _contractspec_lib_contracts15.OperationSpe
|
|
|
668
668
|
/**
|
|
669
669
|
* Create a file version.
|
|
670
670
|
*/
|
|
671
|
-
declare const CreateVersionContract:
|
|
671
|
+
declare const CreateVersionContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
672
672
|
fileId: {
|
|
673
673
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
674
674
|
isOptional: false;
|
|
@@ -722,7 +722,7 @@ declare const CreateVersionContract: _contractspec_lib_contracts15.OperationSpec
|
|
|
722
722
|
/**
|
|
723
723
|
* Get file versions.
|
|
724
724
|
*/
|
|
725
|
-
declare const GetVersionsContract:
|
|
725
|
+
declare const GetVersionsContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
726
726
|
fileId: {
|
|
727
727
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
728
728
|
isOptional: false;
|
|
@@ -786,7 +786,7 @@ declare const GetVersionsContract: _contractspec_lib_contracts15.OperationSpec<_
|
|
|
786
786
|
/**
|
|
787
787
|
* Attach a file to an entity.
|
|
788
788
|
*/
|
|
789
|
-
declare const AttachFileContract:
|
|
789
|
+
declare const AttachFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
790
790
|
fileId: {
|
|
791
791
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
792
792
|
isOptional: false;
|
|
@@ -937,7 +937,7 @@ declare const AttachFileContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
937
937
|
/**
|
|
938
938
|
* Detach a file from an entity.
|
|
939
939
|
*/
|
|
940
|
-
declare const DetachFileContract:
|
|
940
|
+
declare const DetachFileContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
941
941
|
attachmentId: {
|
|
942
942
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
943
943
|
isOptional: false;
|
|
@@ -951,7 +951,7 @@ declare const DetachFileContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
951
951
|
/**
|
|
952
952
|
* List attachments for an entity.
|
|
953
953
|
*/
|
|
954
|
-
declare const ListAttachmentsContract:
|
|
954
|
+
declare const ListAttachmentsContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
955
955
|
entityType: {
|
|
956
956
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
957
957
|
isOptional: false;
|
|
@@ -1092,7 +1092,7 @@ declare const ListAttachmentsContract: _contractspec_lib_contracts15.OperationSp
|
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Create a presigned upload URL.
|
|
1094
1094
|
*/
|
|
1095
|
-
declare const CreatePresignedUrlContract:
|
|
1095
|
+
declare const CreatePresignedUrlContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema115.SchemaModel<{
|
|
1096
1096
|
fileName: {
|
|
1097
1097
|
type: _contractspec_lib_schema115.FieldType<string, string>;
|
|
1098
1098
|
isOptional: false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/files.capability.d.ts
|
|
4
|
-
declare const FilesCapability:
|
|
5
|
-
declare const AttachmentsCapability:
|
|
4
|
+
declare const FilesCapability: _contractspec_lib_contracts15.CapabilitySpec;
|
|
5
|
+
declare const AttachmentsCapability: _contractspec_lib_contracts15.CapabilitySpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { AttachmentsCapability, FilesCapability };
|
|
8
8
|
//# sourceMappingURL=files.capability.d.ts.map
|
package/dist/files.feature.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts17 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/files.feature.d.ts
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts29 from "@contractspec/lib.contracts";
|
|
|
6
6
|
* Files feature module that bundles file storage,
|
|
7
7
|
* attachments, and media processing capabilities.
|
|
8
8
|
*/
|
|
9
|
-
declare const FilesFeature:
|
|
9
|
+
declare const FilesFeature: _contractspec_lib_contracts17.FeatureModuleSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { FilesFeature };
|
|
12
12
|
//# sourceMappingURL=files.feature.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.files",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.1",
|
|
4
4
|
"description": "Files, documents and attachments module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"lint:check": "eslint src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@contractspec/lib.schema": "1.
|
|
29
|
-
"@contractspec/lib.contracts": "1.
|
|
28
|
+
"@contractspec/lib.schema": "1.56.1",
|
|
29
|
+
"@contractspec/lib.contracts": "1.56.1",
|
|
30
30
|
"zod": "^4.3.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@contractspec/tool.typescript": "1.
|
|
34
|
-
"@contractspec/tool.tsdown": "1.
|
|
33
|
+
"@contractspec/tool.typescript": "1.56.1",
|
|
34
|
+
"@contractspec/tool.tsdown": "1.56.1",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|