rclone-openapi 1.0.2 → 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.
Files changed (3) hide show
  1. package/openapi.json +50 -38
  2. package/package.json +1 -1
  3. package/types.d.ts +21 -21
package/openapi.json CHANGED
@@ -6843,29 +6843,7 @@
6843
6843
  "type": "boolean"
6844
6844
  },
6845
6845
  "Default": {
6846
- "oneOf": [
6847
- {
6848
- "type": "array",
6849
- "items": {
6850
- "type": "string"
6851
- }
6852
- },
6853
- {
6854
- "type": "boolean"
6855
- },
6856
- {
6857
- "type": "number"
6858
- },
6859
- {
6860
- "type": "string"
6861
- },
6862
- {
6863
- "$ref": "#/components/schemas/ConfigProviderOptionDefaultObject"
6864
- },
6865
- {
6866
- "type": "null"
6867
- }
6868
- ]
6846
+ "$ref": "#/components/schemas/ConfigProviderOptionAny"
6869
6847
  },
6870
6848
  "DefaultStr": {
6871
6849
  "type": "string"
@@ -6901,7 +6879,7 @@
6901
6879
  "$ref": "#/components/schemas/ConfigProviderOptionType"
6902
6880
  },
6903
6881
  "Value": {
6904
- "type": "null"
6882
+ "$ref": "#/components/schemas/ConfigProviderOptionAny"
6905
6883
  },
6906
6884
  "ValueStr": {
6907
6885
  "type": "string"
@@ -6919,19 +6897,24 @@
6919
6897
  "type": "string"
6920
6898
  }
6921
6899
  },
6922
- "additionalProperties": true
6923
- },
6924
- "ConfigProviderOptionDefaultObject": {
6925
- "type": "object",
6926
- "properties": {
6927
- "Valid": {
6928
- "type": "boolean"
6929
- },
6930
- "Value": {
6931
- "type": "boolean"
6932
- }
6933
- },
6934
- "additionalProperties": false
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
+ ]
6935
6918
  },
6936
6919
  "ConfigProviderOptionExample": {
6937
6920
  "type": "object",
@@ -6946,7 +6929,36 @@
6946
6929
  "type": "string"
6947
6930
  }
6948
6931
  },
6949
- "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
+ ]
6950
6962
  },
6951
6963
  "ConfigProviderOptionType": {
6952
6964
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclone-openapi",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "keywords": [
5
5
  "rclone",
6
6
  "openapi",
package/types.d.ts CHANGED
@@ -4051,38 +4051,38 @@ export interface components {
4051
4051
  [key: string]: unknown;
4052
4052
  };
4053
4053
  ConfigProviderOption: {
4054
- Advanced?: boolean;
4055
- Default?: string[] | boolean | number | string | components["schemas"]["ConfigProviderOptionDefaultObject"] | null;
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?: null;
4068
- ValueStr?: string;
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?: string;
4081
- Value?: string;
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
  };