/** * Google Cloud Firestore Node - Version 1.1 * Discriminator: resource=document, operation=getAll */ interface Credentials { googleFirebaseCloudFirestoreOAuth2Api: CredentialReference; googleApi: CredentialReference; } /** Get many documents from a collection */ export type GoogleFirebaseCloudFirestoreV11DocumentGetAllParams = { resource: 'document'; operation: 'getAll'; authentication?: 'googleFirebaseCloudFirestoreOAuth2Api' | 'serviceAccount' | Expression; /** * As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ projectId?: string | Expression; /** * Usually the provided default value will work * @default (default) */ database?: string | Expression | PlaceholderValue; /** * Collection name */ collection?: string | Expression | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Whether to return a simplified version of the response instead of the raw data * @default true */ simple?: boolean | Expression; }; export type GoogleFirebaseCloudFirestoreV11DocumentGetAllOutput = { _createTime?: string; _id?: string; _name?: string; _updateTime?: string; createTime?: string; id?: string; updateTime?: string; }; export type GoogleFirebaseCloudFirestoreV11DocumentGetAllNode = { type: 'n8n-nodes-base.googleFirebaseCloudFirestore'; version: 1.1; credentials?: Credentials; config: NodeConfig; output?: Items; };