@jbrowse/plugin-authentication 5.0.0-beta.7 → 5.0.0-beta.9
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/esm/DropboxOAuthModel/configSchema.d.ts +164 -86
- package/esm/DropboxOAuthModel/model.d.ts +286 -146
- package/esm/ExternalTokenModel/configSchema.d.ts +65 -23
- package/esm/ExternalTokenModel/model.d.ts +26 -16
- package/esm/GoogleDriveOAuthModel/configSchema.d.ts +164 -86
- package/esm/GoogleDriveOAuthModel/model.d.ts +286 -146
- package/esm/HTTPBasicModel/configSchema.d.ts +64 -30
- package/esm/HTTPBasicModel/model.d.ts +26 -16
- package/esm/OAuthModel/configSchema.d.ts +95 -79
- package/esm/OAuthModel/model.d.ts +115 -65
- package/esm/index.d.ts +0 -334
- package/esm/index.js +0 -17
- package/esm/tokenEntryModelFactory.d.ts +26 -16
- package/package.json +3 -3
|
@@ -12,31 +12,41 @@ declare const stateModelFactory: (configSchema: HTTPBasicInternetAccountConfigMo
|
|
|
12
12
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
13
13
|
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
14
14
|
readonly name: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
type: "string";
|
|
16
|
+
} & {
|
|
17
|
+
defaultValue: string;
|
|
18
18
|
};
|
|
19
19
|
readonly description: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
type: "string";
|
|
21
|
+
} & {
|
|
22
|
+
defaultValue: string;
|
|
23
23
|
};
|
|
24
24
|
readonly authHeader: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
type: "string";
|
|
26
|
+
} & {
|
|
27
|
+
defaultValue: string;
|
|
28
28
|
};
|
|
29
29
|
readonly tokenType: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
type: "string";
|
|
31
|
+
} & {
|
|
32
|
+
defaultValue: string;
|
|
33
33
|
};
|
|
34
34
|
readonly domains: {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
type: "stringArray";
|
|
36
|
+
} & {
|
|
37
|
+
defaultValue: unknown;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
type: {
|
|
40
|
+
type: "string";
|
|
41
|
+
} & {
|
|
42
|
+
defaultValue: string;
|
|
43
|
+
};
|
|
44
|
+
internetAccountId: {
|
|
45
|
+
type: "string";
|
|
46
|
+
} & {
|
|
47
|
+
defaultValue: string;
|
|
48
|
+
};
|
|
49
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId", true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>;
|
|
40
50
|
}, "configuration" | "type"> & {
|
|
41
51
|
type: import("@jbrowse/mobx-state-tree").ILiteralType<"HTTPBasicInternetAccount">;
|
|
42
52
|
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
|
|
@@ -3,97 +3,113 @@ import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
|
3
3
|
* #config OAuthInternetAccount
|
|
4
4
|
*/
|
|
5
5
|
declare const OAuthConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
6
|
+
authEndpoint: {
|
|
7
|
+
type: "string";
|
|
8
|
+
} & {
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
};
|
|
11
|
+
authHeader: {
|
|
12
|
+
type: "string";
|
|
13
|
+
} & {
|
|
14
|
+
defaultValue: string;
|
|
15
|
+
};
|
|
16
|
+
clientId: {
|
|
17
|
+
type: "string";
|
|
18
|
+
} & {
|
|
19
|
+
defaultValue: string;
|
|
20
|
+
};
|
|
21
|
+
description: {
|
|
22
|
+
type: "string";
|
|
23
|
+
} & {
|
|
24
|
+
defaultValue: string;
|
|
25
|
+
};
|
|
26
|
+
domains: {
|
|
27
|
+
type: "stringArray";
|
|
28
|
+
} & {
|
|
29
|
+
defaultValue: unknown;
|
|
30
|
+
};
|
|
31
|
+
internetAccountId: {
|
|
32
|
+
type: "string";
|
|
33
|
+
} & {
|
|
34
|
+
defaultValue: string;
|
|
35
|
+
};
|
|
36
|
+
name: {
|
|
37
|
+
type: "string";
|
|
38
|
+
} & {
|
|
39
|
+
defaultValue: string;
|
|
40
|
+
};
|
|
41
|
+
needsPKCE: {
|
|
42
|
+
type: "boolean";
|
|
43
|
+
} & {
|
|
44
|
+
defaultValue: boolean;
|
|
45
|
+
};
|
|
46
|
+
responseType: {
|
|
47
|
+
type: "string";
|
|
48
|
+
} & {
|
|
49
|
+
defaultValue: string;
|
|
50
|
+
};
|
|
51
|
+
scopes: {
|
|
52
|
+
type: "string";
|
|
53
|
+
} & {
|
|
54
|
+
defaultValue: string;
|
|
55
|
+
};
|
|
56
|
+
state: {
|
|
57
|
+
type: "string";
|
|
58
|
+
} & {
|
|
59
|
+
defaultValue: string;
|
|
60
|
+
};
|
|
61
|
+
tokenEndpoint: {
|
|
62
|
+
type: "string";
|
|
63
|
+
} & {
|
|
64
|
+
defaultValue: string;
|
|
65
|
+
};
|
|
66
|
+
tokenType: {
|
|
67
|
+
type: "string";
|
|
68
|
+
} & {
|
|
69
|
+
defaultValue: string;
|
|
70
|
+
};
|
|
71
|
+
type: {
|
|
72
|
+
type: "string";
|
|
73
|
+
} & {
|
|
74
|
+
defaultValue: string;
|
|
69
75
|
};
|
|
70
76
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
71
77
|
readonly name: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
type: "string";
|
|
79
|
+
} & {
|
|
80
|
+
defaultValue: string;
|
|
75
81
|
};
|
|
76
82
|
readonly description: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
83
|
+
type: "string";
|
|
84
|
+
} & {
|
|
85
|
+
defaultValue: string;
|
|
80
86
|
};
|
|
81
87
|
readonly authHeader: {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
88
|
+
type: "string";
|
|
89
|
+
} & {
|
|
90
|
+
defaultValue: string;
|
|
85
91
|
};
|
|
86
92
|
readonly tokenType: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
type: "string";
|
|
94
|
+
} & {
|
|
95
|
+
defaultValue: string;
|
|
90
96
|
};
|
|
91
97
|
readonly domains: {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
type: "stringArray";
|
|
99
|
+
} & {
|
|
100
|
+
defaultValue: unknown;
|
|
101
|
+
};
|
|
102
|
+
type: {
|
|
103
|
+
type: "string";
|
|
104
|
+
} & {
|
|
105
|
+
defaultValue: string;
|
|
106
|
+
};
|
|
107
|
+
internetAccountId: {
|
|
108
|
+
type: "string";
|
|
109
|
+
} & {
|
|
110
|
+
defaultValue: string;
|
|
95
111
|
};
|
|
96
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined
|
|
112
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId", true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>, undefined, true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
97
113
|
export type OAuthInternetAccountConfigModel = typeof OAuthConfigSchema;
|
|
98
114
|
export type OAuthInternetAccountConfig = Instance<OAuthInternetAccountConfigModel>;
|
|
99
115
|
export default OAuthConfigSchema;
|
|
@@ -9,31 +9,41 @@ declare const stateModelFactory: (configSchema: OAuthInternetAccountConfigModel)
|
|
|
9
9
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
10
10
|
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
11
11
|
readonly name: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
type: "string";
|
|
13
|
+
} & {
|
|
14
|
+
defaultValue: string;
|
|
15
15
|
};
|
|
16
16
|
readonly description: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
type: "string";
|
|
18
|
+
} & {
|
|
19
|
+
defaultValue: string;
|
|
20
20
|
};
|
|
21
21
|
readonly authHeader: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
type: "string";
|
|
23
|
+
} & {
|
|
24
|
+
defaultValue: string;
|
|
25
25
|
};
|
|
26
26
|
readonly tokenType: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
type: "string";
|
|
28
|
+
} & {
|
|
29
|
+
defaultValue: string;
|
|
30
30
|
};
|
|
31
31
|
readonly domains: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
type: "stringArray";
|
|
33
|
+
} & {
|
|
34
|
+
defaultValue: unknown;
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
type: {
|
|
37
|
+
type: "string";
|
|
38
|
+
} & {
|
|
39
|
+
defaultValue: string;
|
|
40
|
+
};
|
|
41
|
+
internetAccountId: {
|
|
42
|
+
type: "string";
|
|
43
|
+
} & {
|
|
44
|
+
defaultValue: string;
|
|
45
|
+
};
|
|
46
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId", true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>;
|
|
37
47
|
}, "configuration" | "type"> & {
|
|
38
48
|
/**
|
|
39
49
|
* #property
|
|
@@ -43,73 +53,113 @@ declare const stateModelFactory: (configSchema: OAuthInternetAccountConfigModel)
|
|
|
43
53
|
* #property
|
|
44
54
|
*/
|
|
45
55
|
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
56
|
+
authEndpoint: {
|
|
57
|
+
type: "string";
|
|
58
|
+
} & {
|
|
59
|
+
defaultValue: string;
|
|
60
|
+
};
|
|
61
|
+
authHeader: {
|
|
62
|
+
type: "string";
|
|
63
|
+
} & {
|
|
64
|
+
defaultValue: string;
|
|
65
|
+
};
|
|
66
|
+
clientId: {
|
|
67
|
+
type: "string";
|
|
68
|
+
} & {
|
|
69
|
+
defaultValue: string;
|
|
70
|
+
};
|
|
71
|
+
description: {
|
|
72
|
+
type: "string";
|
|
73
|
+
} & {
|
|
74
|
+
defaultValue: string;
|
|
50
75
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
76
|
+
domains: {
|
|
77
|
+
type: "stringArray";
|
|
78
|
+
} & {
|
|
79
|
+
defaultValue: unknown;
|
|
55
80
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
81
|
+
internetAccountId: {
|
|
82
|
+
type: "string";
|
|
83
|
+
} & {
|
|
84
|
+
defaultValue: string;
|
|
60
85
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
86
|
+
name: {
|
|
87
|
+
type: "string";
|
|
88
|
+
} & {
|
|
89
|
+
defaultValue: string;
|
|
65
90
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
91
|
+
needsPKCE: {
|
|
92
|
+
type: "boolean";
|
|
93
|
+
} & {
|
|
94
|
+
defaultValue: boolean;
|
|
70
95
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
96
|
+
responseType: {
|
|
97
|
+
type: "string";
|
|
98
|
+
} & {
|
|
99
|
+
defaultValue: string;
|
|
75
100
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
101
|
+
scopes: {
|
|
102
|
+
type: "string";
|
|
103
|
+
} & {
|
|
104
|
+
defaultValue: string;
|
|
80
105
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
106
|
+
state: {
|
|
107
|
+
type: "string";
|
|
108
|
+
} & {
|
|
109
|
+
defaultValue: string;
|
|
110
|
+
};
|
|
111
|
+
tokenEndpoint: {
|
|
112
|
+
type: "string";
|
|
113
|
+
} & {
|
|
114
|
+
defaultValue: string;
|
|
115
|
+
};
|
|
116
|
+
tokenType: {
|
|
117
|
+
type: "string";
|
|
118
|
+
} & {
|
|
119
|
+
defaultValue: string;
|
|
120
|
+
};
|
|
121
|
+
type: {
|
|
122
|
+
type: "string";
|
|
123
|
+
} & {
|
|
124
|
+
defaultValue: string;
|
|
85
125
|
};
|
|
86
126
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
87
127
|
readonly name: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
128
|
+
type: "string";
|
|
129
|
+
} & {
|
|
130
|
+
defaultValue: string;
|
|
91
131
|
};
|
|
92
132
|
readonly description: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
133
|
+
type: "string";
|
|
134
|
+
} & {
|
|
135
|
+
defaultValue: string;
|
|
96
136
|
};
|
|
97
137
|
readonly authHeader: {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
138
|
+
type: "string";
|
|
139
|
+
} & {
|
|
140
|
+
defaultValue: string;
|
|
101
141
|
};
|
|
102
142
|
readonly tokenType: {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
143
|
+
type: "string";
|
|
144
|
+
} & {
|
|
145
|
+
defaultValue: string;
|
|
106
146
|
};
|
|
107
147
|
readonly domains: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
148
|
+
type: "stringArray";
|
|
149
|
+
} & {
|
|
150
|
+
defaultValue: unknown;
|
|
151
|
+
};
|
|
152
|
+
type: {
|
|
153
|
+
type: "string";
|
|
154
|
+
} & {
|
|
155
|
+
defaultValue: string;
|
|
156
|
+
};
|
|
157
|
+
internetAccountId: {
|
|
158
|
+
type: "string";
|
|
159
|
+
} & {
|
|
160
|
+
defaultValue: string;
|
|
111
161
|
};
|
|
112
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined
|
|
162
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId", true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>, undefined, true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>;
|
|
113
163
|
}, {
|
|
114
164
|
readonly name: string;
|
|
115
165
|
readonly description: string;
|
|
@@ -201,7 +251,7 @@ declare const stateModelFactory: (configSchema: OAuthInternetAccountConfigModel)
|
|
|
201
251
|
/**
|
|
202
252
|
* #getter
|
|
203
253
|
*/
|
|
204
|
-
readonly responseType:
|
|
254
|
+
readonly responseType: string;
|
|
205
255
|
/**
|
|
206
256
|
* #getter
|
|
207
257
|
*/
|