@budibase/types 3.13.15 → 3.13.17
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.
|
@@ -34,23 +34,23 @@ export declare enum DatasourceFieldType {
|
|
|
34
34
|
SELECT = "select"
|
|
35
35
|
}
|
|
36
36
|
export declare enum SourceName {
|
|
37
|
-
|
|
37
|
+
AIRTABLE = "AIRTABLE",
|
|
38
|
+
ARANGODB = "ARANGODB",
|
|
39
|
+
BUDIBASE = "BUDIBASE",
|
|
40
|
+
COUCHDB = "COUCHDB",
|
|
38
41
|
DYNAMODB = "DYNAMODB",
|
|
39
|
-
MONGODB = "MONGODB",
|
|
40
42
|
ELASTICSEARCH = "ELASTICSEARCH",
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
AIRTABLE = "AIRTABLE",
|
|
43
|
+
FIRESTORE = "FIRESTORE",
|
|
44
|
+
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
45
|
+
MONGODB = "MONGODB",
|
|
45
46
|
MYSQL = "MYSQL",
|
|
46
|
-
ARANGODB = "ARANGODB",
|
|
47
|
-
REST = "REST",
|
|
48
47
|
ORACLE = "ORACLE",
|
|
49
|
-
|
|
50
|
-
FIRESTORE = "FIRESTORE",
|
|
48
|
+
POSTGRES = "POSTGRES",
|
|
51
49
|
REDIS = "REDIS",
|
|
50
|
+
REST = "REST",
|
|
51
|
+
S3 = "S3",
|
|
52
52
|
SNOWFLAKE = "SNOWFLAKE",
|
|
53
|
-
|
|
53
|
+
SQL_SERVER = "SQL_SERVER"
|
|
54
54
|
}
|
|
55
55
|
export declare enum IncludeRelationship {
|
|
56
56
|
INCLUDE = 1,
|
package/dist/sdk/koa.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export interface BBRequest<RequestBody> extends Request {
|
|
|
30
30
|
/**
|
|
31
31
|
* Basic context with no user.
|
|
32
32
|
*/
|
|
33
|
-
export interface Ctx<RequestBody = any, ResponseBody = any> extends Context {
|
|
33
|
+
export interface Ctx<RequestBody = any, ResponseBody = any, Params extends Record<string, any> = any> extends Context {
|
|
34
|
+
params: Params;
|
|
34
35
|
request: BBRequest<RequestBody>;
|
|
35
36
|
body: ResponseBody;
|
|
36
37
|
userAgent: UserAgentContext["userAgent"];
|
|
@@ -41,7 +42,7 @@ export interface Ctx<RequestBody = any, ResponseBody = any> extends Context {
|
|
|
41
42
|
/**
|
|
42
43
|
* Authenticated context.
|
|
43
44
|
*/
|
|
44
|
-
export interface UserCtx<RequestBody = any, ResponseBody = any> extends Ctx<RequestBody, ResponseBody> {
|
|
45
|
+
export interface UserCtx<RequestBody = any, ResponseBody = any, Params extends Record<string, any> = any> extends Ctx<RequestBody, ResponseBody, Params> {
|
|
45
46
|
user: ContextUser;
|
|
46
47
|
state: {
|
|
47
48
|
nonce?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.17",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"scim-patch": "^0.8.1"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "821506ad7f72794b15f8c119c0a99ad118d4bc37"
|
|
31
31
|
}
|