Skip to content

Commit

Permalink
Gmail client constants, compile ts (#13953)
Browse files Browse the repository at this point in the history
* update ts

* package.json version

* truncate client id
  • Loading branch information
michelle0927 authored Sep 16, 2024
1 parent 3dc0120 commit 8f91060
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions platform/dist/constants.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export declare const DEFAULT_POLLING_SOURCE_TIMER_INTERVAL: number;
export declare const PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID = "fnd4m13k1mjb6djallp1m9kr7o8kslcu";
3 changes: 2 additions & 1 deletion platform/dist/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_POLLING_SOURCE_TIMER_INTERVAL = void 0;
exports.PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID = exports.DEFAULT_POLLING_SOURCE_TIMER_INTERVAL = void 0;
exports.DEFAULT_POLLING_SOURCE_TIMER_INTERVAL = 60 * 15;
exports.PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID = "fnd4m13k1mjb6djallp1m9kr7o8kslcu";
2 changes: 1 addition & 1 deletion platform/dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export { ConfigurationError, } from "./errors";
export { default as sqlProp, } from "./sql-prop";
export type { ColumnSchema, DbInfo, TableInfo, TableMetadata, TableSchema, } from "./sql-prop";
export { default as sqlProxy, } from "./sql-proxy";
export { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, } from "./constants";
export { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID, } from "./constants";
export declare const SendConfigEmail: t.PartialC<{
html: t.StringC;
subject: t.StringC;
Expand Down
1 change: 1 addition & 0 deletions platform/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var sql_proxy_1 = require("./sql-proxy");
Object.defineProperty(exports, "sqlProxy", { enumerable: true, get: function () { return sql_proxy_1.default; } });
var constants_1 = require("./constants");
Object.defineProperty(exports, "DEFAULT_POLLING_SOURCE_TIMER_INTERVAL", { enumerable: true, get: function () { return constants_1.DEFAULT_POLLING_SOURCE_TIMER_INTERVAL; } });
Object.defineProperty(exports, "PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID", { enumerable: true, get: function () { return constants_1.PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID; } });
const SendPayload = t.union([
t.string,
t.object,
Expand Down
2 changes: 1 addition & 1 deletion platform/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const DEFAULT_POLLING_SOURCE_TIMER_INTERVAL = 60 * 15;
export const PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID = "38931588176-fnd4m13k1mjb6djallp1m9kr7o8kslcu.apps.googleusercontent.com";
export const PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID = "fnd4m13k1mjb6djallp1m9kr7o8kslcu";
1 change: 1 addition & 0 deletions platform/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export {

export {
DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID,
} from "./constants";

const SendPayload = t.union([
Expand Down
2 changes: 1 addition & 1 deletion platform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/platform",
"version": "3.0.2",
"version": "3.0.3",
"description": "Pipedream platform globals (typing and runtime type checking)",
"homepage": "https://pipedream.com",
"main": "dist/index.js",
Expand Down

0 comments on commit 8f91060

Please sign in to comment.