From 839469cf489427536e63fd0e50aa8b02cbe445e7 Mon Sep 17 00:00:00 2001 From: fern <126544928+fern-bot@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:34:44 -0500 Subject: [PATCH] update fern definition (#100) Co-authored-by: dsinghvi --- .github/workflows/typescript-sdk.yml | 8 +++++++- .gitignore | 1 + fern/definition/copilots.yml | 6 +++--- fern/generators.yml | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/typescript-sdk.yml b/.github/workflows/typescript-sdk.yml index f8ad72c..d5ffb3c 100644 --- a/.github/workflows/typescript-sdk.yml +++ b/.github/workflows/typescript-sdk.yml @@ -23,4 +23,10 @@ jobs: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - fern generate --group typescript-sdk --version ${{ inputs.version }} --log-level debug \ No newline at end of file + fern generate --group typescript-sdk --version ${{ inputs.version }} --log-level debug + + - name: Regenerate Docs + env: + FERN_TOKEN: ${{ secrets.FERN_TOKEN }} + run: | + fern generate --docs \ No newline at end of file diff --git a/.gitignore b/.gitignore index 82f769e..ebb2cf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ generated/ .DS_Store +**/.preview/** \ No newline at end of file diff --git a/fern/definition/copilots.yml b/fern/definition/copilots.yml index f4a2b0a..972c5cf 100644 --- a/fern/definition/copilots.yml +++ b/fern/definition/copilots.yml @@ -272,7 +272,7 @@ service: chunk: Credal is SOC 2 compliant. - event: final_chunk data: - referencedSources: + sources: [ { id: "1", @@ -556,7 +556,7 @@ types: DataFilter: properties: semanticSearchTerms: list - webSearchResults: list + webSearchTerm: list filteredDataSourcesPerCollection: list InitialChunk: @@ -572,7 +572,7 @@ types: FinalChunk: properties: - referencedSources: list + sources: list BlockedChunk: properties: diff --git a/fern/generators.yml b/fern/generators.yml index 085fdaa..1197094 100644 --- a/fern/generators.yml +++ b/fern/generators.yml @@ -3,7 +3,7 @@ groups: typescript-sdk: generators: - name: fernapi/fern-typescript-node-sdk - version: 0.20.8 + version: 0.41.1 output: location: npm package-name: "@credal/sdk" @@ -18,7 +18,7 @@ groups: python-sdk: generators: - name: fernapi/fern-python-sdk - version: 2.16.0 + version: 4.2.7 output: location: pypi package-name: "credal"