rclone-openapi 1.0.1 → 1.0.3
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.
- package/openapi.json +61 -40
- package/package.json +1 -1
- package/types.d.ts +26 -26
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Rclone RC API",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.2",
|
|
6
6
|
"description": "Full OpenAPI specification for the Rclone RC API.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "GitHub Repository",
|
|
@@ -5122,7 +5122,10 @@
|
|
|
5122
5122
|
}
|
|
5123
5123
|
}
|
|
5124
5124
|
},
|
|
5125
|
-
"additionalProperties": true
|
|
5125
|
+
"additionalProperties": true,
|
|
5126
|
+
"required": [
|
|
5127
|
+
"providers"
|
|
5128
|
+
]
|
|
5126
5129
|
}
|
|
5127
5130
|
}
|
|
5128
5131
|
}
|
|
@@ -6771,6 +6774,12 @@
|
|
|
6771
6774
|
"type": "string"
|
|
6772
6775
|
}
|
|
6773
6776
|
},
|
|
6777
|
+
"required": [
|
|
6778
|
+
"Name",
|
|
6779
|
+
"Description",
|
|
6780
|
+
"Options",
|
|
6781
|
+
"Prefix"
|
|
6782
|
+
],
|
|
6774
6783
|
"additionalProperties": true
|
|
6775
6784
|
},
|
|
6776
6785
|
"ConfigProviderCommandHelp": {
|
|
@@ -6834,29 +6843,7 @@
|
|
|
6834
6843
|
"type": "boolean"
|
|
6835
6844
|
},
|
|
6836
6845
|
"Default": {
|
|
6837
|
-
"
|
|
6838
|
-
{
|
|
6839
|
-
"type": "array",
|
|
6840
|
-
"items": {
|
|
6841
|
-
"type": "string"
|
|
6842
|
-
}
|
|
6843
|
-
},
|
|
6844
|
-
{
|
|
6845
|
-
"type": "boolean"
|
|
6846
|
-
},
|
|
6847
|
-
{
|
|
6848
|
-
"type": "number"
|
|
6849
|
-
},
|
|
6850
|
-
{
|
|
6851
|
-
"type": "string"
|
|
6852
|
-
},
|
|
6853
|
-
{
|
|
6854
|
-
"$ref": "#/components/schemas/ConfigProviderOptionDefaultObject"
|
|
6855
|
-
},
|
|
6856
|
-
{
|
|
6857
|
-
"type": "null"
|
|
6858
|
-
}
|
|
6859
|
-
]
|
|
6846
|
+
"$ref": "#/components/schemas/ConfigProviderOptionAny"
|
|
6860
6847
|
},
|
|
6861
6848
|
"DefaultStr": {
|
|
6862
6849
|
"type": "string"
|
|
@@ -6892,7 +6879,7 @@
|
|
|
6892
6879
|
"$ref": "#/components/schemas/ConfigProviderOptionType"
|
|
6893
6880
|
},
|
|
6894
6881
|
"Value": {
|
|
6895
|
-
"
|
|
6882
|
+
"$ref": "#/components/schemas/ConfigProviderOptionAny"
|
|
6896
6883
|
},
|
|
6897
6884
|
"ValueStr": {
|
|
6898
6885
|
"type": "string"
|
|
@@ -6910,19 +6897,24 @@
|
|
|
6910
6897
|
"type": "string"
|
|
6911
6898
|
}
|
|
6912
6899
|
},
|
|
6913
|
-
"additionalProperties": true
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
"
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
"
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6900
|
+
"additionalProperties": true,
|
|
6901
|
+
"required": [
|
|
6902
|
+
"Name",
|
|
6903
|
+
"FieldName",
|
|
6904
|
+
"Help",
|
|
6905
|
+
"Default",
|
|
6906
|
+
"Value",
|
|
6907
|
+
"Hide",
|
|
6908
|
+
"Required",
|
|
6909
|
+
"IsPassword",
|
|
6910
|
+
"NoPrefix",
|
|
6911
|
+
"Advanced",
|
|
6912
|
+
"Exclusive",
|
|
6913
|
+
"Sensitive",
|
|
6914
|
+
"DefaultStr",
|
|
6915
|
+
"ValueStr",
|
|
6916
|
+
"Type"
|
|
6917
|
+
]
|
|
6926
6918
|
},
|
|
6927
6919
|
"ConfigProviderOptionExample": {
|
|
6928
6920
|
"type": "object",
|
|
@@ -6937,7 +6929,36 @@
|
|
|
6937
6929
|
"type": "string"
|
|
6938
6930
|
}
|
|
6939
6931
|
},
|
|
6940
|
-
"additionalProperties": true
|
|
6932
|
+
"additionalProperties": true,
|
|
6933
|
+
"required": [
|
|
6934
|
+
"Help",
|
|
6935
|
+
"Value"
|
|
6936
|
+
]
|
|
6937
|
+
},
|
|
6938
|
+
"ConfigProviderOptionAny": {
|
|
6939
|
+
"description": "Arbitrary JSON value.",
|
|
6940
|
+
"anyOf": [
|
|
6941
|
+
{
|
|
6942
|
+
"type": "string"
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
"type": "number"
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
"type": "boolean"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
"type": "array",
|
|
6952
|
+
"items": {}
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
"type": "object",
|
|
6956
|
+
"additionalProperties": true
|
|
6957
|
+
},
|
|
6958
|
+
{
|
|
6959
|
+
"type": "null"
|
|
6960
|
+
}
|
|
6961
|
+
]
|
|
6941
6962
|
},
|
|
6942
6963
|
"ConfigProviderOptionType": {
|
|
6943
6964
|
"type": "string",
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -4015,12 +4015,12 @@ export interface components {
|
|
|
4015
4015
|
ConfigProvider: {
|
|
4016
4016
|
Aliases?: string[] | null;
|
|
4017
4017
|
CommandHelp?: components["schemas"]["ConfigProviderCommandHelp"][] | null;
|
|
4018
|
-
Description
|
|
4018
|
+
Description: string;
|
|
4019
4019
|
Hide?: boolean;
|
|
4020
4020
|
MetadataInfo?: components["schemas"]["ConfigProviderMetadataInfo"] | null;
|
|
4021
|
-
Name
|
|
4022
|
-
Options
|
|
4023
|
-
Prefix
|
|
4021
|
+
Name: string;
|
|
4022
|
+
Options: components["schemas"]["ConfigProviderOption"][];
|
|
4023
|
+
Prefix: string;
|
|
4024
4024
|
} & {
|
|
4025
4025
|
[key: string]: unknown;
|
|
4026
4026
|
};
|
|
@@ -4051,38 +4051,38 @@ export interface components {
|
|
|
4051
4051
|
[key: string]: unknown;
|
|
4052
4052
|
};
|
|
4053
4053
|
ConfigProviderOption: {
|
|
4054
|
-
Advanced
|
|
4055
|
-
Default
|
|
4056
|
-
DefaultStr
|
|
4057
|
-
Exclusive
|
|
4058
|
-
FieldName
|
|
4059
|
-
Help
|
|
4060
|
-
Hide
|
|
4061
|
-
IsPassword
|
|
4062
|
-
Name
|
|
4063
|
-
NoPrefix
|
|
4064
|
-
Required
|
|
4065
|
-
Sensitive
|
|
4066
|
-
Type
|
|
4067
|
-
Value
|
|
4068
|
-
ValueStr
|
|
4054
|
+
Advanced: boolean;
|
|
4055
|
+
Default: components["schemas"]["ConfigProviderOptionAny"];
|
|
4056
|
+
DefaultStr: string;
|
|
4057
|
+
Exclusive: boolean;
|
|
4058
|
+
FieldName: string;
|
|
4059
|
+
Help: string;
|
|
4060
|
+
Hide: number;
|
|
4061
|
+
IsPassword: boolean;
|
|
4062
|
+
Name: string;
|
|
4063
|
+
NoPrefix: boolean;
|
|
4064
|
+
Required: boolean;
|
|
4065
|
+
Sensitive: boolean;
|
|
4066
|
+
Type: components["schemas"]["ConfigProviderOptionType"];
|
|
4067
|
+
Value: components["schemas"]["ConfigProviderOptionAny"];
|
|
4068
|
+
ValueStr: string;
|
|
4069
4069
|
Examples?: components["schemas"]["ConfigProviderOptionExample"][];
|
|
4070
4070
|
ShortOpt?: string;
|
|
4071
4071
|
Provider?: string;
|
|
4072
4072
|
} & {
|
|
4073
4073
|
[key: string]: unknown;
|
|
4074
4074
|
};
|
|
4075
|
-
ConfigProviderOptionDefaultObject: {
|
|
4076
|
-
Valid?: boolean;
|
|
4077
|
-
Value?: boolean;
|
|
4078
|
-
};
|
|
4079
4075
|
ConfigProviderOptionExample: {
|
|
4080
|
-
Help
|
|
4081
|
-
Value
|
|
4076
|
+
Help: string;
|
|
4077
|
+
Value: string;
|
|
4082
4078
|
Provider?: string;
|
|
4083
4079
|
} & {
|
|
4084
4080
|
[key: string]: unknown;
|
|
4085
4081
|
};
|
|
4082
|
+
/** @description Arbitrary JSON value. */
|
|
4083
|
+
ConfigProviderOptionAny: string | number | boolean | unknown[] | {
|
|
4084
|
+
[key: string]: unknown;
|
|
4085
|
+
} | null;
|
|
4086
4086
|
/** @enum {string} */
|
|
4087
4087
|
ConfigProviderOptionType: "Bits" | "bool" | "CommaSepList" | "Duration" | "Encoding" | "int" | "mtime|atime|btime|ctime" | "SizeSuffix" | "SpaceSepList" | "string" | "stringArray" | "Time" | "Tristate";
|
|
4088
4088
|
};
|
|
@@ -4407,7 +4407,7 @@ export interface components {
|
|
|
4407
4407
|
};
|
|
4408
4408
|
content: {
|
|
4409
4409
|
"application/json": {
|
|
4410
|
-
providers
|
|
4410
|
+
providers: components["schemas"]["ConfigProvider"][];
|
|
4411
4411
|
} & {
|
|
4412
4412
|
[key: string]: unknown;
|
|
4413
4413
|
};
|