feat(google-drive): list shared drives for updated files trigger
This commit is contained in:
@@ -13,7 +13,7 @@ export default defineTrigger({
|
||||
type: 'dropdown' as const,
|
||||
required: false,
|
||||
description:
|
||||
'The drive to use. If nothing is selected, then your personal Google Drive will be used.',
|
||||
'The Google Drive where your file resides. If nothing is selected, then your personal Google Drive will be used.',
|
||||
variables: false,
|
||||
source: {
|
||||
type: 'query',
|
||||
|
@@ -4,9 +4,9 @@ const newFiles = async ($: IGlobalVariable) => {
|
||||
const params = {
|
||||
pageToken: undefined as unknown as string,
|
||||
orderBy: 'createdTime desc',
|
||||
q: `mimeType!='application/vnd.google-apps.folder'`,
|
||||
fields: '*',
|
||||
pageSize: 1000,
|
||||
q: `mimeType!='application/vnd.google-apps.folder'`,
|
||||
driveId: $.step.parameters.driveId,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user