angular/aio/scripts/generate-events/apps-script-extension/constants.js
George Kalpakas c9241fdeb0 build(docs-infra): introduce new process for generating data for the events page (#45588)
This commit introduces a new process for generating data for the AIO
[events page](https://angular.io/events), which streamlines the process
and minimizes duplication and manual work. For more details, see
`aio/scripts/generate-events/README.md`.

PR Close #45588
2022-09-12 12:25:44 -07:00

16 lines
512 B
JavaScript

/**
* The base URL for the database.
*
* Used to persist data from the spreadsheet.
*/
// README: Keep in sync with `../index.mjs`.
const DB_BASE_URL = 'https://angular-io.firebaseio.com';
/**
* The regex to match the name of sheets that contain team allocation data, which needs to be stored
* in Firebase.
*
* All "Team Allocation" sheets must have names that match this pattern in order for them to be
* taken into account.
*/
const TEAM_ALLOCATION_SHEET_NAME_RE = /^(\d\d\d\d) team allocation$/i;