mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 06:42:14 +00:00
this required the following: - downgrading nx react (19 -> 18.2) - .npmrc credentials for fontawesome - installing a lot of nx plugins from the vanilla config - removing kalidokit vendored code and all references to it
11 lines
415 B
TypeScript
11 lines
415 B
TypeScript
export const apiHost = "https://api.storyteller.ai";
|
|
|
|
// Upload File
|
|
export const uploadMedia = `${apiHost}/v1/media_files/upload`;
|
|
|
|
// Scenes
|
|
export const uploadNewScene = `${apiHost}/v1/media_files/upload/new_scene`;
|
|
export const uploadThumbnail = `${apiHost}/v1/media_files/cover_image/`;
|
|
export const updateExistingScene = (sceneToken: string) =>
|
|
`${apiHost}/v1/media_files/upload/saved_scene/${sceneToken}`;
|