@sprucelabs/spruce-file-utils 18.0.13 → 18.0.15
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.
@@ -976,6 +976,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
976
976
|
interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
|
977
977
|
}
|
978
978
|
}
|
979
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
980
|
+
interface SaveSettingsEmitTargetAndPayload {
|
981
|
+
/** Source. */
|
982
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
983
|
+
'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
|
984
|
+
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
985
|
+
}
|
986
|
+
interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
987
|
+
id: 'saveSettingsEmitTargetAndPayload';
|
988
|
+
version: 'v2022_05_13';
|
989
|
+
namespace: 'Files';
|
990
|
+
name: '';
|
991
|
+
fields: {
|
992
|
+
/** Source. */
|
993
|
+
'source': {
|
994
|
+
label: 'Source';
|
995
|
+
type: 'schema';
|
996
|
+
options: {
|
997
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
998
|
+
};
|
999
|
+
};
|
1000
|
+
/** . */
|
1001
|
+
'target': {
|
1002
|
+
type: 'schema';
|
1003
|
+
isRequired: true;
|
1004
|
+
options: {
|
1005
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
|
1006
|
+
};
|
1007
|
+
};
|
1008
|
+
/** . */
|
1009
|
+
'payload': {
|
1010
|
+
type: 'schema';
|
1011
|
+
isRequired: true;
|
1012
|
+
options: {
|
1013
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1014
|
+
};
|
1015
|
+
};
|
1016
|
+
};
|
1017
|
+
}
|
1018
|
+
interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
|
1019
|
+
}
|
1020
|
+
}
|
979
1021
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
980
1022
|
interface SaveSettingsResponsePayload {
|
981
1023
|
'wasSuccessful': boolean;
|
@@ -1018,39 +1060,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1018
1060
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
1019
1061
|
}
|
1020
1062
|
}
|
1021
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1022
|
-
interface GetSettingsStatusEmitTargetAndPayload {
|
1023
|
-
/** Source. */
|
1024
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1025
|
-
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1026
|
-
}
|
1027
|
-
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1028
|
-
id: 'getSettingsStatusEmitTargetAndPayload';
|
1029
|
-
version: 'v2022_05_13';
|
1030
|
-
namespace: 'Files';
|
1031
|
-
name: '';
|
1032
|
-
fields: {
|
1033
|
-
/** Source. */
|
1034
|
-
'source': {
|
1035
|
-
label: 'Source';
|
1036
|
-
type: 'schema';
|
1037
|
-
options: {
|
1038
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
1039
|
-
};
|
1040
|
-
};
|
1041
|
-
/** . */
|
1042
|
-
'target': {
|
1043
|
-
type: 'schema';
|
1044
|
-
isRequired: true;
|
1045
|
-
options: {
|
1046
|
-
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1047
|
-
};
|
1048
|
-
};
|
1049
|
-
};
|
1050
|
-
}
|
1051
|
-
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1052
|
-
}
|
1053
|
-
}
|
1054
1063
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1055
1064
|
interface GetSettingsStatusResponsePayload {
|
1056
1065
|
'didConfigureFileUploads': boolean;
|
@@ -1073,36 +1082,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1073
1082
|
}
|
1074
1083
|
}
|
1075
1084
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1076
|
-
interface
|
1077
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1078
|
-
'restEndpointUrl'?: string | undefined | null;
|
1079
|
-
}
|
1080
|
-
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1081
|
-
id: 'getUploadEndpointResponsePayload';
|
1082
|
-
version: 'v2022_05_13';
|
1083
|
-
namespace: 'Files';
|
1084
|
-
name: '';
|
1085
|
-
fields: {
|
1086
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1087
|
-
'restEndpointUrl': {
|
1088
|
-
type: 'text';
|
1089
|
-
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1090
|
-
options: undefined;
|
1091
|
-
};
|
1092
|
-
};
|
1093
|
-
}
|
1094
|
-
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1095
|
-
}
|
1096
|
-
}
|
1097
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1098
|
-
interface SaveSettingsEmitTargetAndPayload {
|
1085
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
1099
1086
|
/** Source. */
|
1100
1087
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1101
|
-
'target': SpruceSchemas.Files.v2022_05_13.
|
1102
|
-
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
1088
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1103
1089
|
}
|
1104
|
-
interface
|
1105
|
-
id: '
|
1090
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1091
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
1106
1092
|
version: 'v2022_05_13';
|
1107
1093
|
namespace: 'Files';
|
1108
1094
|
name: '';
|
@@ -1120,20 +1106,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1120
1106
|
type: 'schema';
|
1121
1107
|
isRequired: true;
|
1122
1108
|
options: {
|
1123
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1124
|
-
};
|
1125
|
-
};
|
1126
|
-
/** . */
|
1127
|
-
'payload': {
|
1128
|
-
type: 'schema';
|
1129
|
-
isRequired: true;
|
1130
|
-
options: {
|
1131
|
-
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1109
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1132
1110
|
};
|
1133
1111
|
};
|
1134
1112
|
};
|
1135
1113
|
}
|
1136
|
-
interface
|
1114
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1137
1115
|
}
|
1138
1116
|
}
|
1139
1117
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
@@ -1237,6 +1215,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1237
1215
|
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1216
|
}
|
1239
1217
|
}
|
1218
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1219
|
+
interface GetUploadEndpointResponsePayload {
|
1220
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1221
|
+
'restEndpointUrl'?: string | undefined | null;
|
1222
|
+
}
|
1223
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
+
id: 'getUploadEndpointResponsePayload';
|
1225
|
+
version: 'v2022_05_13';
|
1226
|
+
namespace: 'Files';
|
1227
|
+
name: '';
|
1228
|
+
fields: {
|
1229
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1230
|
+
'restEndpointUrl': {
|
1231
|
+
type: 'text';
|
1232
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1233
|
+
options: undefined;
|
1234
|
+
};
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1238
|
+
}
|
1239
|
+
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1241
1241
|
interface UploadedFile {
|
1242
1242
|
'id': string;
|
@@ -976,6 +976,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
976
976
|
interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
|
977
977
|
}
|
978
978
|
}
|
979
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
980
|
+
interface SaveSettingsEmitTargetAndPayload {
|
981
|
+
/** Source. */
|
982
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
983
|
+
'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
|
984
|
+
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
985
|
+
}
|
986
|
+
interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
987
|
+
id: 'saveSettingsEmitTargetAndPayload';
|
988
|
+
version: 'v2022_05_13';
|
989
|
+
namespace: 'Files';
|
990
|
+
name: '';
|
991
|
+
fields: {
|
992
|
+
/** Source. */
|
993
|
+
'source': {
|
994
|
+
label: 'Source';
|
995
|
+
type: 'schema';
|
996
|
+
options: {
|
997
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
998
|
+
};
|
999
|
+
};
|
1000
|
+
/** . */
|
1001
|
+
'target': {
|
1002
|
+
type: 'schema';
|
1003
|
+
isRequired: true;
|
1004
|
+
options: {
|
1005
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
|
1006
|
+
};
|
1007
|
+
};
|
1008
|
+
/** . */
|
1009
|
+
'payload': {
|
1010
|
+
type: 'schema';
|
1011
|
+
isRequired: true;
|
1012
|
+
options: {
|
1013
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1014
|
+
};
|
1015
|
+
};
|
1016
|
+
};
|
1017
|
+
}
|
1018
|
+
interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
|
1019
|
+
}
|
1020
|
+
}
|
979
1021
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
980
1022
|
interface SaveSettingsResponsePayload {
|
981
1023
|
'wasSuccessful': boolean;
|
@@ -1018,39 +1060,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1018
1060
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
1019
1061
|
}
|
1020
1062
|
}
|
1021
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1022
|
-
interface GetSettingsStatusEmitTargetAndPayload {
|
1023
|
-
/** Source. */
|
1024
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1025
|
-
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1026
|
-
}
|
1027
|
-
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1028
|
-
id: 'getSettingsStatusEmitTargetAndPayload';
|
1029
|
-
version: 'v2022_05_13';
|
1030
|
-
namespace: 'Files';
|
1031
|
-
name: '';
|
1032
|
-
fields: {
|
1033
|
-
/** Source. */
|
1034
|
-
'source': {
|
1035
|
-
label: 'Source';
|
1036
|
-
type: 'schema';
|
1037
|
-
options: {
|
1038
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
1039
|
-
};
|
1040
|
-
};
|
1041
|
-
/** . */
|
1042
|
-
'target': {
|
1043
|
-
type: 'schema';
|
1044
|
-
isRequired: true;
|
1045
|
-
options: {
|
1046
|
-
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1047
|
-
};
|
1048
|
-
};
|
1049
|
-
};
|
1050
|
-
}
|
1051
|
-
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1052
|
-
}
|
1053
|
-
}
|
1054
1063
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1055
1064
|
interface GetSettingsStatusResponsePayload {
|
1056
1065
|
'didConfigureFileUploads': boolean;
|
@@ -1073,36 +1082,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1073
1082
|
}
|
1074
1083
|
}
|
1075
1084
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1076
|
-
interface
|
1077
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1078
|
-
'restEndpointUrl'?: string | undefined | null;
|
1079
|
-
}
|
1080
|
-
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1081
|
-
id: 'getUploadEndpointResponsePayload';
|
1082
|
-
version: 'v2022_05_13';
|
1083
|
-
namespace: 'Files';
|
1084
|
-
name: '';
|
1085
|
-
fields: {
|
1086
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1087
|
-
'restEndpointUrl': {
|
1088
|
-
type: 'text';
|
1089
|
-
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1090
|
-
options: undefined;
|
1091
|
-
};
|
1092
|
-
};
|
1093
|
-
}
|
1094
|
-
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1095
|
-
}
|
1096
|
-
}
|
1097
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1098
|
-
interface SaveSettingsEmitTargetAndPayload {
|
1085
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
1099
1086
|
/** Source. */
|
1100
1087
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1101
|
-
'target': SpruceSchemas.Files.v2022_05_13.
|
1102
|
-
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
1088
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1103
1089
|
}
|
1104
|
-
interface
|
1105
|
-
id: '
|
1090
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1091
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
1106
1092
|
version: 'v2022_05_13';
|
1107
1093
|
namespace: 'Files';
|
1108
1094
|
name: '';
|
@@ -1120,20 +1106,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1120
1106
|
type: 'schema';
|
1121
1107
|
isRequired: true;
|
1122
1108
|
options: {
|
1123
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1124
|
-
};
|
1125
|
-
};
|
1126
|
-
/** . */
|
1127
|
-
'payload': {
|
1128
|
-
type: 'schema';
|
1129
|
-
isRequired: true;
|
1130
|
-
options: {
|
1131
|
-
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1109
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1132
1110
|
};
|
1133
1111
|
};
|
1134
1112
|
};
|
1135
1113
|
}
|
1136
|
-
interface
|
1114
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1137
1115
|
}
|
1138
1116
|
}
|
1139
1117
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
@@ -1237,6 +1215,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1237
1215
|
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1216
|
}
|
1239
1217
|
}
|
1218
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1219
|
+
interface GetUploadEndpointResponsePayload {
|
1220
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1221
|
+
'restEndpointUrl'?: string | undefined | null;
|
1222
|
+
}
|
1223
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
+
id: 'getUploadEndpointResponsePayload';
|
1225
|
+
version: 'v2022_05_13';
|
1226
|
+
namespace: 'Files';
|
1227
|
+
name: '';
|
1228
|
+
fields: {
|
1229
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1230
|
+
'restEndpointUrl': {
|
1231
|
+
type: 'text';
|
1232
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1233
|
+
options: undefined;
|
1234
|
+
};
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1238
|
+
}
|
1239
|
+
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1241
1241
|
interface UploadedFile {
|
1242
1242
|
'id': string;
|