Skip to content

Commit

Permalink
chore: API Reference now uses Api Definition V2 (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Oct 10, 2024
1 parent c5ba2aa commit 41de5ab
Show file tree
Hide file tree
Showing 185 changed files with 90,914 additions and 46,179 deletions.
14 changes: 7 additions & 7 deletions fern/apis/fdr/definition/api/latest/type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ types:
- commons.WithAvailability
properties:
key: rootCommons.PropertyKey
valueShape: TypeReference
valueShape: TypeShape

EnumType:
properties:
Expand All @@ -84,7 +84,7 @@ types:
- commons.WithAvailability
properties:
displayName: optional<string>
shape: TypeReference
shape: TypeShape

DiscriminatedUnionType:
properties:
Expand Down Expand Up @@ -138,18 +138,18 @@ types:

OptionalType:
properties:
shape: TypeReference
shape: TypeShape
default: optional<unknown>

ListType:
properties:
itemShape: TypeReference
itemShape: TypeShape

SetType:
properties:
itemShape: TypeReference
itemShape: TypeShape

MapType:
properties:
keyShape: TypeReference
valueShape: TypeReference
keyShape: TypeShape
valueShape: TypeShape
4 changes: 4 additions & 0 deletions packages/fdr-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"types": "./dist/client/types.d.ts",
"default": "./dist/client/types.js"
},
"./traversers": {
"types": "./dist/utils/traversers/index.d.ts",
"default": "./dist/utils/traversers/index.js"
},
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
Expand Down
Loading

0 comments on commit 41de5ab

Please sign in to comment.