airtable
Advanced tools
Comparing version 0.11.3 to 0.11.4
@@ -0,1 +1,4 @@ | ||
# v0.11.4 | ||
* Add support for returnFieldsByFieldId param. | ||
# v0.11.3 | ||
@@ -2,0 +5,0 @@ * Adds a UMD build to use for browser-targeted builds. This fixes an issue where other apps that |
@@ -65,2 +65,8 @@ export declare const paramValidators: { | ||
}; | ||
returnFieldsByFieldId: (value: boolean) => { | ||
pass: true; | ||
} | { | ||
pass: false; | ||
error: string; | ||
}; | ||
}; | ||
@@ -82,2 +88,3 @@ export interface SortParameter<TFields> { | ||
userLocale?: string; | ||
returnFieldsByFieldId?: boolean; | ||
} |
@@ -11,2 +11,3 @@ "use strict"; | ||
var isPlainObject_1 = __importDefault(require("lodash/isPlainObject")); | ||
var isBoolean_1 = __importDefault(require("lodash/isBoolean")); | ||
exports.paramValidators = { | ||
@@ -31,3 +32,4 @@ fields: typecheck_1.default(typecheck_1.default.isArrayOf(isString_1.default), 'the value for `fields` should be an array of strings'), | ||
userLocale: typecheck_1.default(isString_1.default, 'the value for `userLocale` should be a string'), | ||
returnFieldsByFieldId: typecheck_1.default(isBoolean_1.default, 'the value for `returnFieldsByFieldId` should be a boolean'), | ||
}; | ||
//# sourceMappingURL=query_params.js.map |
@@ -94,2 +94,8 @@ import Table from './table'; | ||
}; | ||
returnFieldsByFieldId: (value: boolean) => { | ||
pass: true; | ||
} | { | ||
pass: false; | ||
error: string; | ||
}; | ||
}; | ||
@@ -96,0 +102,0 @@ constructor(table: Table<TFields>, params: QueryParams<TFields>); |
{ | ||
"name": "airtable", | ||
"version": "0.11.3", | ||
"version": "0.11.4", | ||
"license": "MIT", | ||
@@ -11,3 +11,3 @@ "homepage": "https://github.com/airtable/airtable.js", | ||
"lint": "eslint '*/**/*.{js,ts,tsx}'", | ||
"format": "prettier --write '**/*.js'", | ||
"format": "prettier --write '**/*.[j|t]s'", | ||
"test": "jest --env node --coverage --no-cache", | ||
@@ -14,0 +14,0 @@ "test-unit": "jest --env node", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
345888
8249