From 6e3dc91fadfa222803b773c721cffa5e0c26789c Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Tue, 23 Apr 2024 12:02:04 -0400 Subject: [PATCH] chore: add comments to standalone script --- src/scripts/standalone-script.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scripts/standalone-script.ts b/src/scripts/standalone-script.ts index fbf4a34..5cedfa6 100644 --- a/src/scripts/standalone-script.ts +++ b/src/scripts/standalone-script.ts @@ -1,3 +1,8 @@ +/** + * This is an example of a standalone script that loads in the Payload config + * and uses the Payload Local API to query the database. + */ + import { getPayload } from 'payload' import { importConfig } from 'payload/node' import 'dotenv/config'