Skip to content

Commit

Permalink
Merge branch 'main' into chdeskur/add-button-cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jun 10, 2024
2 parents 8408aae + 1c06eed commit 8117a19
Show file tree
Hide file tree
Showing 750 changed files with 7,531 additions and 3,944 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy-fdr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,9 @@ jobs:
# which makes steps.has-changed.outputs.RESULT = 'true'
run: npx turbo-ignore ${{ env.PACKAGE_NAME }} || echo "RESULT=true" >> $GITHUB_OUTPUT

- name: 🪴 Generate Fern SDKs
run: |
pnpm fern generate --local --api fdr --group local --log-level debug
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}

- name: 🧪 Build and test
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
pnpm turbo codegen build test --filter=${{ env.PACKAGE_NAME }}
pnpm --filter "@fern-platform/fdr" sentry:sourcemaps
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/deploy-fdr-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
- name: 📥 Install
uses: ./.github/actions/install

- name: 🪴 Generate Code
run: |
pnpm fern generate --local --api fdr --group local --log-level debug
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}

- name: 🧪 Build and test
run: pnpm turbo build test --filter=${{ env.PACKAGE_NAME }}

Expand Down Expand Up @@ -97,4 +91,4 @@ jobs:
healthchecks:
needs: deploy_prod
uses: ./.github/workflows/healthcheck.yml
secrets: inherit
secrets: inherit
8 changes: 6 additions & 2 deletions .github/workflows/deploy-local-preview-bundle-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
- name: Install
uses: ./.github/actions/install
- name: Build local preview bundle
run: pnpm turbo --filter=@fern-ui/local-preview-bundle build
run: |
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Synthesize local preview bundle
run: pnpm --filter=@fern-ui/cdk run synth:dev2

Expand All @@ -44,6 +46,8 @@ jobs:
- name: Install
uses: ./.github/actions/install
- name: Build local preview bundle
run: pnpm turbo --filter=@fern-ui/local-preview-bundle build
run: |
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Synthesize local preview bundle
run: pnpm --filter=@fern-ui/cdk run synth:prod
8 changes: 6 additions & 2 deletions .github/workflows/deploy-local-preview-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- name: Install
uses: ./.github/actions/install
- name: Build local preview bundle
run: ENABLE_SOURCE_MAPS=true pnpm turbo --filter=@fern-ui/local-preview-bundle build
run: |
pnpm compile
ENABLE_SOURCE_MAPS=true pnpm --filter=@fern-ui/local-preview-bundle build
- name: Deploy local preview bundle
run: pnpm --filter=@fern-ui/cdk run deploy:dev2

Expand All @@ -47,6 +49,8 @@ jobs:
- name: Install
uses: ./.github/actions/install
- name: Build local preview bundle
run: pnpm turbo --filter=@fern-ui/local-preview-bundle build
run: |
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Deploy local preview bundle
run: pnpm --filter=@fern-ui/cdk run deploy:prod
4 changes: 1 addition & 3 deletions .github/workflows/fdr-ete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ jobs:
# TODO: re-enable when moving to turbo
# pnpm turbo --filter= docker:local
run: |
cd servers/fdr
pnpm run docker:local
pnpm run test:ete
pnpm --filter=@fern-platform/fdr docker:local test:ete
36 changes: 18 additions & 18 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ env:
WORKOS_CLIENT_ID: ${{ secrets.WORKOS_CLIENT_ID }}
# HUME_API_KEY: ${{ secrets.HUME_API_KEY }}

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
jobs: {}
# test:
# timeout-minutes: 60
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4

- name: Install
uses: ./.github/actions/install
# - name: Install
# uses: ./.github/actions/install

- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
# - name: Install Playwright Browsers
# run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm exec playwright test --debug
# - name: Run Playwright tests
# run: pnpm exec playwright test --debug

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30
2 changes: 1 addition & 1 deletion clis/docs-migrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"clean": "rm -rf ./dist && tsc --build --clean",
"compile": "tsc --build",
"test": "vitest --passWithNoTests --globals",
"test": "vitest --run --passWithNoTests --globals",
"format": "prettier --write --ignore-unknown --ignore-path ../../shared/.prettierignore \"**\"",
"format:check": "prettier --check --ignore-unknown --ignore-path ../../shared/.prettierignore \"**\"",
"lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../.eslintignore",
Expand Down
11 changes: 1 addition & 10 deletions clis/docs-migrator/src/__test__/outputs/bland/fern/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,9 @@ mintlify dev

### 😎 Publishing Changes

Install our Github App to autopropagate changes from youre repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
Install our Github App to autopropagate changes from youre repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.

#### Troubleshooting

- Mintlify dev isn't running - Run `mintlify install` it'll re-install dependencies.
- Page loads as a 404 - Make sure you are running in a folder with `mint.json`









Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,3 @@ slug: _snippets/snippet-example
## My Snippet

<Info>This is an example of a reusable snippet</Info>









Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,24 @@ slug: api-reference/batch-endpoint/batch
<ParamField body="base_prompt" type="string" required>
This is the prompt or task used for all the phone calls in the request. Information can be inserted into it surrounding variable names with \{\{curly braces\}\}.

Example:
```json
"You are calling {{business}} to renew their subscription to {{service}} before it expires on {{date}}."
```
Example:

```json
"You are calling {{business}} to renew their subscription to {{service}} before it expires on {{date}}."
```

</ParamField>

<ParamField body="call_data" type="array" required>
Define a list of calls to make and their properties.

Each call in call_data *must* have a `phone_number` property. Properties are case-sensitive.

Example:
Example:

```json
[
{
{
"phone_number": "1234567890",
"business": "ABC co.",
"service": "Netflix",
Expand All @@ -44,24 +47,29 @@ slug: api-reference/batch-endpoint/batch
}
]
```

</ParamField>

<ParamField body="label" type="string">
Adds a user-friendly label to your batch to keep track of it's original intention. This can help differentiate multiple call batches that are part of the same Campaign. Shown when a batch is retreived.
Adds a user-friendly label to your batch to keep track of it's original intention. This can help differentiate
multiple call batches that are part of the same Campaign. Shown when a batch is retreived.
</ParamField>

<ParamField body="campaign_id" type="string">
Use ```campaign_id``` to organize related batches together. This can be set manually or auto-generated through Campaigns.
Use ```campaign_id``` to organize related batches together. This can be set manually or auto-generated through
Campaigns.
</ParamField>

<ParamField body="test_mode" type="boolean" default="false">
When this is set to ```true```, only the first call of ```call_data``` will be dispatched. A common use case is to set the first ```phone_number``` value to your own to confirm everything's set up properly.

Includes additional information in the response when true so that it's easier to find any issues.
Includes additional information in the response when true so that it's easier to find any issues.

</ParamField>

<ParamField body="*">
All other parameters supported by the [Send Call](../../api-v1/post/calls.mdx) endpoint are supported here as well. They will be applied to each call in the batch.
All other parameters supported by the [Send Call](../../api-v1/post/calls.mdx) endpoint are supported here as well. They will
be applied to each call in the batch.
</ParamField>

### Response
Expand All @@ -78,18 +86,9 @@ slug: api-reference/batch-endpoint/batch

```json Response
{
"message": "success",
"batch_id": "3p$7rQ3p9sT5bzmF-gen-batch"
"message": "success",
"batch_id": "3p$7rQ3p9sT5bzmF-gen-batch"
}
```

</ResponseExample>









Loading

0 comments on commit 8117a19

Please sign in to comment.