-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from storyblok/feat/add-typescript-remove-axios
BREAKING CHANGE: Axios is no longer a dependency
- Loading branch information
Showing
19 changed files
with
1,797 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "ESNext", | ||
"target": "ESNext", | ||
"strict": false | ||
}, | ||
"extends": "astro/tsconfigs/base", | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"include": ["./*.astro", "./**/*.ts"], | ||
"exclude": ["node_modules/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
export type { | ||
SbPluginFactory, | ||
SbBlokKeyDataTypes, | ||
SbBlokData, | ||
SbRichTextOptions, | ||
SbSDKOptions, | ||
StoryblokClient, | ||
StoryblokBridgeV2, | ||
StoryblokBridgeConfigV2, | ||
ISbConfig, // previously StoryblokConfig | ||
ISbCache, // previously StoryblokCache | ||
ISbResult, // previously StoryblokResult | ||
ISbResponse, | ||
ISbError, | ||
ISbNode, | ||
ISbSchema, | ||
ThrottleFn, | ||
AsyncFn, | ||
ArrayFn, | ||
ISbContentMangmntAPI, | ||
ISbManagmentApiResult, // previously StoryblokManagmentApiResult | ||
ISbStories, // previously Stories | ||
ISbStory, // previously Story | ||
ISbDimensions, | ||
StoryblokComponentType, | ||
ISbStoryData, // previously StoryData | ||
ISbAlternateObject, // previously AlternateObject | ||
ISbStoriesParams, // previously StoriesParams | ||
ISbStoryParams, // previously StoryParams | ||
ISbRichtext, // previously Richtext | ||
ISbEventPayload, | ||
} from "@storyblok/js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.