Skip to content

Commit

Permalink
fix: adding notes
Browse files Browse the repository at this point in the history
  • Loading branch information
drobnikj committed Nov 23, 2024
1 parent 74b14e6 commit 68bf29c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/output_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { APIFY_API_ENDPOINTS } = require('./consts');
const { convertPlainObjectToFieldSchema } = require('./zapier_helpers');

/**
* Transforms object items to output fields.
* Download items from dataset and create FieldSchema out of them.
* @param {string} datasetId
* @returns {Promise<*[]>}
*/
Expand Down
3 changes: 2 additions & 1 deletion src/zapier_helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const _ = require('lodash');
const dayjs = require('dayjs');
/**
* Converts a plain object to an array of field schema objects.
* Converts a plain object to an array of FieldSchema objects.
* https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#fieldschema
* @param object
* @param keyPrefix
* @returns {*[]}
Expand Down

0 comments on commit 68bf29c

Please sign in to comment.