diff --git a/.github/workflows/pull-request-checks.yaml b/.github/workflows/pull-request-checks.yaml index dda29171e205a..6880268f16705 100644 --- a/.github/workflows/pull-request-checks.yaml +++ b/.github/workflows/pull-request-checks.yaml @@ -70,3 +70,5 @@ jobs: - name: Check component keys run: node scripts/findBadKeys.js + + diff --git a/.wordlist.txt b/.wordlist.txt index 624eae502cb57..028edfcf63c30 100644 --- a/.wordlist.txt +++ b/.wordlist.txt @@ -24,6 +24,7 @@ Alchemer Algolia Algorithmia alJx +allSettled AMQP amzn analytics @@ -93,6 +94,7 @@ bRX bSjnoAaoji BuildKite BunnyCDN +Bulbasaur BVuN bWRNj bzIwsJqzXfINt @@ -103,6 +105,7 @@ CAsCBBYCAwECHgECF cellId Chargebee Chargify +charizard ChartMogul Chatbot chufqzeKwns @@ -158,6 +161,7 @@ Datadog Datanews Datarobot DataSF +datasets Datawaves DateTime dbBPTj @@ -166,10 +170,12 @@ DDL DdQXz decrypted dedupe +deduplicate deduped dedupes deduping deduplication +defineComponent deleteHook Dest destructure @@ -228,6 +234,7 @@ emAF eniqtww Enum env +environ EO EPS EQWbalbBWT @@ -428,6 +435,7 @@ Jotform Jotform JpE JpNwkGVm +jq js json json @@ -483,6 +491,7 @@ Linkish Linode linter ListBucketMultipartUploads +listdir LjzlNGteD lkjsdflkjsdflkjsdflk lNRgB @@ -632,6 +641,7 @@ PFArbqde pfhzl pGSldJ PHXXvx +Pikachu Pinboard Pipedream Pipedream's @@ -651,6 +661,8 @@ png Poco Podio Podio +pokemon +pokeapi poqQLPQn postId postMessage @@ -680,6 +692,7 @@ Pushshift PutObject PutObjectAcl pVSKEBCqSqmOhveKjgV +PyPi PySpelling QARAQAB QFR @@ -924,11 +937,14 @@ VyaXR Waboxapp walkthrough Wavecell +wb wBd WCVnZ WebClient Webex Webflow +webpages +webpage webhook Webhook Webhook @@ -959,6 +975,7 @@ writeFileSync WSL wSXV wttPB +wttr wUC WVgKCnalELY wzKOm @@ -1022,3 +1039,34 @@ ZwcIMql zxmO zync ZZIVlvRF +fmt +func +ioutil +Fatalln +ReadAll +Println +NewBuffer +payloadBuf +NewWriter +CreateFormFile +fw +svg +fw +NewReader +NewRequest +req +Fatalln +FormDataContentType +req +ioutil +Unmarshal +structs +Getenv +PrintLn +NewRequest +payloadBuf +golangcode +Sprintf +apiKey +fileUrl + diff --git a/docs/docs/.vuepress/config.js b/docs/docs/.vuepress/config.js index 1e9f2f236e3f6..43a2abc574e62 100644 --- a/docs/docs/.vuepress/config.js +++ b/docs/docs/.vuepress/config.js @@ -5,7 +5,7 @@ module.exports = { title: "", head: [["link", { rel: "icon", href: "/favicon.ico" }]], description: "Pipedream Documentation - Connect APIs, remarkably fast", - base: "/docs/", + base: "/docs/v2/", plugins: [ [ "vuepress-plugin-canonical", @@ -25,17 +25,25 @@ module.exports = { repo: "PipedreamHQ/pipedream", nav: [ { - text: "v1", + text: "v2", + className: "docs-version", ariaLabel: "Docs Version Menu", items: [ - { text: "v1", link: "/" }, - { text: "v2", link: "/v2/" }, + { + text: "v2", + link: "https://pipedream.com/docs-v2", + internal: true, + badge: "New", + badgeVariation: "primary", + }, + { + text: "v1", + internal: true, + link: "https://pipedream.com/docs", + }, ], }, ], - - // Optional options for generating "Edit this page" link - // if your docs are not at the root of the repo: docsDir: "docs/docs", editLinks: true, @@ -43,156 +51,100 @@ module.exports = { editLinkText: "Help us improve this page! Submit an edit on Github", sidebar: [ "/", - { - title: "Quickstart", - collapsable: false, - children: [ - "/quickstart/", - "/quickstart/hello-world/", - "/quickstart/hello-name/", - "/quickstart/make-http-request/", - "/quickstart/using-npm-packages/", - "/quickstart/add-data-to-google-sheets/", - "/quickstart/end-workflow-early/", - "/quickstart/use-managed-auth-in-code/", - "/quickstart/run-workflow-on-a-schedule/", - "/quickstart/email-yourself/", - "/quickstart/real-world-example/", - "/quickstart/next-steps/", - ], - }, + "/quickstart/", { title: "Workflows", - collapsable: false, - children: [ + children: + [ "/workflows/", "/workflows/steps/", "/workflows/steps/triggers/", - "/components/actions/", - "/workflows/steps/code/", - "/workflows/steps/params/", - "/workflows/steps/code/state/", - "/workflows/steps/code/nodejs/http-requests/", - "/workflows/steps/code/nodejs/working-with-files/", - "/workflows/networking/", - "/workflows/steps/code/nodejs/sharing-code/", - "/workflows/steps/code/async/", - ], - }, - { - title: "Connecting Apps", - collapsable: false, - children: [ - "/apps/all-apps/", - "/connected-accounts/", - "/workflows/steps/code/auth/", - ], - }, - { - title: "Workflow Events", - collapsable: false, - children: [ "/workflows/events/", - "/workflows/events/inspect/", - "/workflows/events/replay/", - "/workflows/events/test/", - "/workflows/events/concurrency-and-throttling/", - "/workflows/events/cold-starts/", - ], - }, - { - title: "Managing Workflows", - collapsable: false, - children: [ - "/workflows/copy/", - "/workflows/managing/", - "/workflows/settings/", - "/public-workflows/", - "/environment-variables/", - ], - }, - { - title: "Managing Errors", - collapsable: false, - children: [ - "/errors/", - "/workflows/error-handling/global-error-workflow/", - ], - }, - { - title: "Components", - collapsable: false, - children: [ - "/components/", - "/event-sources/", "/components/actions/", - "/components/quickstart/nodejs/actions/", - "/components/quickstart/nodejs/sources/", - "/components/api/", - "/components/guidelines/", - "/pipedream-axios/", - "/components/migrating/", - ], + "/workflows/concurrency-and-throttling/", + "/environment-variables/", + "/workflows/settings/", + "/workflows/networking/", + ] }, + "/sources/", + "/connected-accounts/", "/user-settings/", { - title: "Examples", - collapsable: false, - children: [ - "/examples/adding-rows-to-google-sheets/", - "/examples/waiting-to-execute-next-step-of-workflow/", - ], - }, - { - title: "CLI", - collapsable: false, - children: ["/cli/install/", "/cli/login/", "/cli/reference/"], - }, - { - title: "APIs", - collapsable: false, - children: [ - "/api/overview/", - "/api/auth/", - "/api/rest/", - "/api/rest/webhooks/", - "/api/rest/rss/", - "/api/rest/workflow-errors/", - "/api/sse/", - ], - }, - { - title: "Destinations", - collapsable: false, + title: "Reference: Code, APIs + CLI", children: [ - "/destinations/", - "/destinations/http/", - "/destinations/s3/", - "/destinations/email/", - "/destinations/sql/", - "/destinations/emit/", - "/destinations/sse/", + { + title: "Writing Code in Workflows", + type: "group", + initialOpenGroupIndex: 1, + children: [ + "/code/", + { + title: "Node.js", + type: "group", + children: [ + "/code/nodejs/", + "/code/nodejs/auth/", + "/code/nodejs/http-requests/", + "/code/nodejs/working-with-files/", + "/code/nodejs/async/", + ], + }, + "/code/python/", + "/code/go/", + "/code/bash/", + "/destinations/", + ], + }, + { + title: "Authoring Components", + type: "group", + children: [ + "/components/", + "/components/quickstart/nodejs/actions/", + "/components/quickstart/nodejs/sources/", + "/components/api/", + "/components/guidelines/", + "/pipedream-axios/", + ], + }, + { + title: "CLI", + type: "group", + children: ["/cli/install/", "/cli/login/", "/cli/reference/"], + }, + { + title: "APIs", + type: "group", + children: [ + "/api/overview/", + "/api/auth/", + "/api/rest/", + "/api/rest/webhooks/", + "/api/rest/rss/", + "/api/rest/workflow-errors/", + "/api/sse/", + ], + }, + { + title: "Integrations", + type: "group", + children: [ + "/apps/all-apps/", + "/apps/discord/", + "/apps/hubspot/", + "/apps/servicenow/", + "/apps/slack/", + "/apps/strava/", + "/apps/twitter/", + "/apps/zoom/", + ], + }, ], }, - { - title: "Integrations", - collapsable: false, - children: [ - "/apps/all-apps/", - "/apps/discord/", - "/apps/hubspot/", - "/apps/servicenow/", - "/apps/slack/", - "/apps/strava/", - "/apps/twitter/", - "/apps/zoom/", - ], - }, - "/limits/", - "/new-feature-or-bug/", + "/troubleshooting/", { title: "Privacy & Security", - collapsable: false, children: [ "/privacy-and-security/", "/privacy-and-security/best-practices/", @@ -201,15 +153,22 @@ module.exports = { "/subprocessors/", ], }, - ["https://pipedream.com/support", "Support and Community"], - "/troubleshooting/", + { + title: "Pricing & Limits", + collapsable: true, + children: [ + "/limits/", + "/pricing/", + "/workflows/events/cold-starts/", + ] + }, { title: "Organizations", collapsable: false, children: ["/orgs/", "/orgs/sso/okta/"], }, - "/pricing/", "/status/", + ["https://pipedream.com/support", "Need more help?"], ], PIPEDREAM_BASE_URL: "https://pipedream.com", API_BASE_URL: "https://api.pipedream.com/v1", @@ -217,7 +176,7 @@ module.exports = { PAYLOAD_SIZE_LIMIT: "512KB", MEMORY_LIMIT: "256MB", MEMORY_ABSOLUTE_LIMIT: "10GB", - EMAIL_PAYLOAD_SIZE_LIMIT: "150KB", + EMAIL_PAYLOAD_SIZE_LIMIT: "30MB", INSPECTOR_EVENT_LIMIT: "100", FUNCTION_PAYLOAD_LIMIT: "6MB", INSPECTOR_EVENT_EXPIRY_DAYS: "30", @@ -234,6 +193,10 @@ module.exports = { DEFAULT_WORKFLOW_QUEUE_SIZE: "100", MAX_WORKFLOW_QUEUE_SIZE: "10,000", NODE_VERSION: "14", + PYTHON_VERSION: "3.8", CONFIGURED_PROPS_SIZE_LIMIT: "64KB", + SERVICE_DB_SIZE_LIMIT: "60KB", + GO_LANG_VERSION: '1.17.1', + TMP_SIZE_LIMIT: '512MB', }, }; diff --git a/docs/docs/.vuepress/enhanceApp.js b/docs/docs/.vuepress/enhanceApp.js index c62e3fde9df3f..ca17fe48b286a 100644 --- a/docs/docs/.vuepress/enhanceApp.js +++ b/docs/docs/.vuepress/enhanceApp.js @@ -43,5 +43,7 @@ export default ({ path: "/docs/apps/all-apps", redirect: "https://pipedream.com/apps", }, + { path: "/workflows/steps/code/", redirect: '/code/nodejs/'} + ]); }; diff --git a/docs/docs/.vuepress/styles/index.styl b/docs/docs/.vuepress/styles/index.styl index 58ef5f4116686..5f7c51eac5e13 100644 --- a/docs/docs/.vuepress/styles/index.styl +++ b/docs/docs/.vuepress/styles/index.styl @@ -7,6 +7,7 @@ $bgColor = #fff $sidebarColor = #000 $headerColor = #343c56 $textColor = rgba(0,0,0,.84) +$primaryColor = green; html, body, @@ -42,4 +43,4 @@ div .sidebar-button svg .navbar .site-name color $sidebarColor margin-left: -25px - margin-top: 1px \ No newline at end of file + margin-top: 1px diff --git a/docs/docs/.vuepress/theme/components/NavLink.vue b/docs/docs/.vuepress/theme/components/NavLink.vue index f7e65a4451595..dc98bb0242e4b 100644 --- a/docs/docs/.vuepress/theme/components/NavLink.vue +++ b/docs/docs/.vuepress/theme/components/NavLink.vue @@ -6,7 +6,8 @@ :exact="exact" @focusout.native="focusoutAction" > - {{ item.text }} + {{ item.text }} + {{ item.badge }} {{ item.text }} - + {{ item.badge }} + diff --git a/docs/docs/.vuepress/theme/components/NavLinks.vue b/docs/docs/.vuepress/theme/components/NavLinks.vue index 3de201c51b9b4..c64d7986572b8 100644 --- a/docs/docs/.vuepress/theme/components/NavLinks.vue +++ b/docs/docs/.vuepress/theme/components/NavLinks.vue @@ -1,7 +1,7 @@