-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add version info lib, logs and docs
- Loading branch information
1 parent
ee0031d
commit 5470741
Showing
8 changed files
with
52 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,9 @@ These placeholder are valid globally and can also be used for internal purposes | |
| <a id="placeholder.date.now">`date.now`</a> | Current Timestamp | The current timestamp. Use `"${<key>:date::<format>}"` to format the date/time using a custom [date-fns format strings](https://date-fns.org/docs/format) (default: `"yyyy-MM-dd HH:mm:ss"`). | `2023-06-26 09:00:00` | | ||
| <a id="placeholder.env.runMode">`env.runMode`</a> | Runmode | The runMode used for processing. | `safe-mode` | | ||
| <a id="placeholder.env.timezone">`env.timezone`</a> | Timezone | The timezone used for processing. | `UTC` | | ||
| <a id="placeholder.lib.description">`lib.description`</a> | Library Description | The description of the Gmail Processor library. | | | ||
| <a id="placeholder.lib.name">`lib.name`</a> | Library Name | The name of the Gmail Processor library. | `gmail-processor` | | ||
| <a id="placeholder.lib.version">`lib.version`</a> | Library Version | The version of the Gmail Processor library. | `0.0.0` | | ||
| <a id="placeholder.user.email">`user.email`</a> | User Email | The email address of the active user. | `[email protected]` | | ||
|
||
## Processing Placeholder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
declare const __PACKAGE_JSON__: { | ||
description: string | ||
name: string | ||
version: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,4 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"baseUrl": "src/", | ||
"declaration": true, | ||
"emitDecoratorMetadata": true, | ||
"esModuleInterop": true, | ||
"experimentalDecorators": true, | ||
"inlineSourceMap": true, | ||
"lib": ["ES2020"], | ||
"module": "commonjs", | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"outDir": "build", | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
// ES2019 for V8 support: https://github.com/google/clasp/blob/master/docs/typescript.md#v8-engine-support | ||
"target": "ES2019", | ||
"types": ["google-apps-script", "jest", "node"] | ||
}, | ||
"include": ["src/examples/**/*", "src/lib/**/*"] | ||
"extends": "./tsconfig.json", | ||
"include": ["src/lib/**/*", "src/examples/**/*", "./global.d.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters