Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): Add dynamic audience to snippet request/response #5065

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ir-sdk/fern/apis/ir-types-latest/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
53.16.0
53.17.0
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ types:
- dynamic
docs: |
This represents the IR required to generate dynamic snippets.

This IR minimizes the space required to generate snippets in a variety
of environments (e.g. web, offline, etc).
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ imports:

types:
Values:
audiences:
- dynamic
docs: |
Snippet values are represented as arbitrary key, value
pairs (i.e. JSON objects). The keys are expected to be
Expand All @@ -12,6 +14,8 @@ types:
type: map<string, unknown>

EndpointSnippetRequest:
audiences:
- dynamic
docs: |
The user-facing request type used to generate a dynamic snippet.
properties:
Expand All @@ -23,6 +27,8 @@ types:
requestBody: optional<unknown>

EndpointSnippetResponse:
audiences:
- dynamic
docs: |
The user-facing response type containing the generated snippet.
properties:
Expand Down
Loading