@upstart.gg/sdk 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/cli/api.d.ts +34 -0
- package/dist/node/cli/api.d.ts.map +1 -0
- package/dist/node/cli/api.js +4 -3
- package/dist/node/cli/commands/build/cmd-build.d.ts +3 -0
- package/dist/node/cli/commands/build/cmd-build.d.ts.map +1 -0
- package/dist/node/cli/commands/build/cmd-build.js +2 -1
- package/dist/node/cli/commands/login/cmd-login.d.ts +14 -0
- package/dist/node/cli/commands/login/cmd-login.d.ts.map +1 -0
- package/dist/node/cli/commands/login/cmd-login.js +6 -5
- package/dist/node/cli/commands/logout/cmd-logout.d.ts +3 -0
- package/dist/node/cli/commands/logout/cmd-logout.d.ts.map +1 -0
- package/dist/node/cli/commands/logout/cmd-logout.js +4 -3
- package/dist/node/cli/commands/publish/cmd-publish.d.ts +3 -0
- package/dist/node/cli/commands/publish/cmd-publish.d.ts.map +1 -0
- package/dist/node/cli/commands/publish/cmd-publish.js +22 -21
- package/dist/node/cli/commands/publish/parse-gitignore.d.ts +56 -0
- package/dist/node/cli/commands/publish/parse-gitignore.d.ts.map +1 -0
- package/dist/node/cli/commands/publish/parse-gitignore.js +2 -1
- package/dist/node/cli/commands/publish/uploader.d.ts +20 -0
- package/dist/node/cli/commands/publish/uploader.d.ts.map +1 -0
- package/dist/node/cli/commands/publish/uploader.js +9 -8
- package/dist/node/cli/constants.d.ts +11 -0
- package/dist/node/cli/constants.d.ts.map +1 -0
- package/dist/node/cli/constants.js +2 -1
- package/dist/node/cli/is-logged-in.d.ts +2 -0
- package/dist/node/cli/is-logged-in.d.ts.map +1 -0
- package/dist/node/cli/is-logged-in.js +4 -0
- package/dist/node/cli/program.d.ts +3 -0
- package/dist/node/cli/program.d.ts.map +1 -0
- package/dist/node/cli/program.js +33 -32
- package/dist/node/cli/store.d.ts +9 -0
- package/dist/node/cli/store.d.ts.map +1 -0
- package/dist/node/cli/store.js +3 -3
- package/dist/node/cli/tests/api.test.d.ts +2 -0
- package/dist/node/cli/tests/api.test.d.ts.map +1 -0
- package/dist/node/cli/types.d.ts +30 -0
- package/dist/node/cli/types.d.ts.map +1 -0
- package/dist/node/cli/types.js +2 -1
- package/dist/node/cli/utils.d.ts +6 -0
- package/dist/node/cli/utils.d.ts.map +1 -0
- package/dist/node/cli/utils.js +2 -1
- package/dist/node/metafile-esm.json +1 -1
- package/dist/node/shared/config.d.ts +16 -0
- package/dist/node/shared/config.d.ts.map +1 -0
- package/dist/node/shared/config.js +8 -7
- package/dist/node/shared/logger.d.ts +30 -0
- package/dist/node/shared/logger.d.ts.map +1 -0
- package/dist/node/shared/logger.js +4 -3
- package/dist/shared/ajv.d.ts +4 -6
- package/dist/shared/ajv.d.ts.map +1 -0
- package/dist/shared/analytics/init.d.ts +2 -3
- package/dist/shared/analytics/init.d.ts.map +1 -0
- package/dist/shared/analytics/init.js +2 -1
- package/dist/shared/analytics/track.d.ts +3 -5
- package/dist/shared/analytics/track.d.ts.map +1 -0
- package/dist/shared/analytics/track.js +2 -1
- package/dist/shared/analytics/types.d.ts +3 -3
- package/dist/shared/analytics/types.d.ts.map +1 -0
- package/dist/shared/analytics/types.js +2 -1
- package/dist/shared/attributes.d.ts +33 -37
- package/dist/shared/attributes.d.ts.map +1 -0
- package/dist/shared/attributes.js +3 -2
- package/dist/shared/brick-manifest.d.ts +64 -0
- package/dist/shared/brick-manifest.d.ts.map +1 -0
- package/dist/shared/brick-manifest.js +3 -0
- package/dist/shared/bricks/manifests/all-manifests.d.ts +5 -0
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/all-manifests.js +3 -0
- package/dist/shared/bricks/manifests/button.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/button.manifest.js +3 -0
- package/dist/shared/bricks/manifests/card.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/card.manifest.js +3 -0
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/carousel.manifest.js +3 -0
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/countdown.manifest.js +3 -0
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/footer.manifest.js +3 -0
- package/dist/shared/bricks/manifests/form.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/form.manifest.js +3 -0
- package/dist/shared/bricks/manifests/header.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/header.manifest.js +3 -0
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/hero.manifest.js +3 -0
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/icon.manifest.js +3 -0
- package/dist/shared/bricks/manifests/image.manifest.d.ts +97 -0
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/image.manifest.js +3 -0
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/images-wall.manifest.js +3 -0
- package/dist/shared/bricks/manifests/map.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/map.manifest.js +3 -0
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +99 -0
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/social-links.manifest.js +3 -0
- package/dist/shared/bricks/manifests/text.manifest.d.ts +97 -0
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/text.manifest.js +3 -0
- package/dist/shared/bricks/manifests/video.manifest.d.ts +81 -0
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/video.manifest.js +3 -0
- package/dist/shared/bricks/props/common.d.ts +12 -0
- package/dist/shared/bricks/props/common.d.ts.map +1 -0
- package/dist/shared/bricks/props/common.js +3 -0
- package/dist/shared/bricks/props/style-props.d.ts +20 -0
- package/dist/shared/bricks/props/style-props.d.ts.map +1 -0
- package/dist/shared/bricks/props/style-props.js +3 -0
- package/dist/shared/bricks.d.ts +499 -119
- package/dist/shared/bricks.d.ts.map +1 -0
- package/dist/shared/bricks.js +3 -2
- package/dist/shared/chunk-2MYSBGXT.js +16 -0
- package/dist/shared/chunk-2OS3QYKE.js +20 -0
- package/dist/shared/chunk-A3ACTIE3.js +3 -0
- package/dist/shared/chunk-BND2TMDC.js +13 -0
- package/dist/shared/chunk-CXABUYX7.js +3 -0
- package/dist/shared/chunk-EU3VNNEO.js +7 -0
- package/dist/shared/chunk-FNY3QNEQ.js +11 -0
- package/dist/shared/chunk-J6I3OMQO.js +9 -0
- package/dist/shared/chunk-KGJQ6Z5A.js +32 -0
- package/dist/shared/chunk-NCF46HSZ.js +13 -0
- package/dist/shared/chunk-PXAK7ZJ3.js +3 -0
- package/dist/shared/chunk-QOPZIE3U.js +3 -0
- package/dist/shared/chunk-QXB632SL.js +15 -0
- package/dist/shared/chunk-SL7GGSYB.js +22 -0
- package/dist/shared/chunk-TVKRK6P4.js +14 -0
- package/dist/shared/chunk-V4SJKXET.js +3 -0
- package/dist/shared/chunk-VEXGLSUP.js +9 -0
- package/dist/shared/chunk-W4DP2HKI.js +3 -0
- package/dist/shared/chunk-W6X5NC5M.js +3 -0
- package/dist/shared/chunk-WF7I53QW.js +20 -0
- package/dist/shared/chunk-XBV2Q4OR.js +16 -0
- package/dist/shared/chunk-XGI243DO.js +3 -0
- package/dist/shared/chunk-XL6LPHCI.js +3 -0
- package/dist/shared/chunk-Z4S5CCLQ.js +16 -0
- package/dist/shared/datasources/external/facebook/posts/fetcher.d.ts +7 -16
- package/dist/shared/datasources/external/facebook/posts/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/facebook/posts/sample.d.ts +26 -0
- package/dist/shared/datasources/external/facebook/posts/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/facebook/posts/schema.d.ts +23 -26
- package/dist/shared/datasources/external/facebook/posts/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/facebook/posts/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/facebook/posts/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/fetcher.d.ts +7 -16
- package/dist/shared/datasources/external/instagram/feed/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/sample.d.ts +3 -0
- package/dist/shared/datasources/external/instagram/feed/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/schema.d.ts +16 -19
- package/dist/shared/datasources/external/instagram/feed/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/instagram/feed/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/json/fetcher.d.ts +4 -13
- package/dist/shared/datasources/external/json/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/json/options.d.ts +7 -10
- package/dist/shared/datasources/external/json/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/json/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/json/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/fetcher.d.ts +5 -14
- package/dist/shared/datasources/external/mastodon/account/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/sample.d.ts +30 -0
- package/dist/shared/datasources/external/mastodon/account/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/schema.d.ts +37 -40
- package/dist/shared/datasources/external/mastodon/account/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/mastodon/account/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/options.d.ts +6 -9
- package/dist/shared/datasources/external/mastodon/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/fetcher.d.ts +5 -14
- package/dist/shared/datasources/external/mastodon/status/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.array.d.ts +2 -3
- package/dist/shared/datasources/external/mastodon/status/sample.array.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.single.d.ts +2 -3
- package/dist/shared/datasources/external/mastodon/status/sample.single.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/schema.d.ts +233 -235
- package/dist/shared/datasources/external/mastodon/status/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/mastodon/status/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/meta/oauth/config.d.ts +28 -21
- package/dist/shared/datasources/external/meta/oauth/config.d.ts.map +1 -0
- package/dist/shared/datasources/external/meta/oauth/config.js +3 -1
- package/dist/shared/datasources/external/meta/options.d.ts +6 -9
- package/dist/shared/datasources/external/meta/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/rss/fetcher.d.ts +5 -14
- package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/rss/options.d.ts +6 -9
- package/dist/shared/datasources/external/rss/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/rss/sample.d.ts +3 -0
- package/dist/shared/datasources/external/rss/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/rss/schema.d.ts +14 -17
- package/dist/shared/datasources/external/rss/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts +2 -0
- package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/threads/media/fetcher.d.ts +7 -16
- package/dist/shared/datasources/external/threads/media/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/threads/media/sample.d.ts +40 -0
- package/dist/shared/datasources/external/threads/media/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/threads/media/schema.d.ts +22 -25
- package/dist/shared/datasources/external/threads/media/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/tiktok/oauth/config.d.ts +30 -22
- package/dist/shared/datasources/external/tiktok/oauth/config.d.ts.map +1 -0
- package/dist/shared/datasources/external/tiktok/oauth/config.js +3 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.d.ts +7 -16
- package/dist/shared/datasources/external/tiktok/video/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/options.d.ts +6 -9
- package/dist/shared/datasources/external/tiktok/video/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/sample.d.ts +15 -0
- package/dist/shared/datasources/external/tiktok/video/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/schema.d.ts +18 -21
- package/dist/shared/datasources/external/tiktok/video/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/list/fetcher.d.ts +7 -16
- package/dist/shared/datasources/external/youtube/list/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/list/options.d.ts +10 -13
- package/dist/shared/datasources/external/youtube/list/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/list/sample.d.ts +38 -0
- package/dist/shared/datasources/external/youtube/list/sample.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/list/schema.d.ts +32 -35
- package/dist/shared/datasources/external/youtube/list/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/oauth/config.d.ts +20 -22
- package/dist/shared/datasources/external/youtube/oauth/config.d.ts.map +1 -0
- package/dist/shared/datasources/external/youtube/oauth/config.js +3 -1
- package/dist/shared/datasources/fetcher.d.ts +9 -0
- package/dist/shared/datasources/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/internal/contact-info/schema.d.ts +12 -15
- package/dist/shared/datasources/internal/contact-info/schema.d.ts.map +1 -0
- package/dist/shared/datasources/internal/faq/schema.d.ts +8 -11
- package/dist/shared/datasources/internal/faq/schema.d.ts.map +1 -0
- package/dist/shared/datasources/internal/links/schema.d.ts +8 -11
- package/dist/shared/datasources/internal/links/schema.d.ts.map +1 -0
- package/dist/shared/datasources/provider-options.d.ts +6 -0
- package/dist/shared/datasources/provider-options.d.ts.map +1 -0
- package/dist/shared/datasources/samples.d.ts +4 -13
- package/dist/shared/datasources/samples.d.ts.map +1 -0
- package/dist/shared/datasources/types.d.ts +112 -9
- package/dist/shared/datasources/types.d.ts.map +1 -0
- package/dist/shared/datasources/utils.d.ts +2 -3
- package/dist/shared/datasources/utils.d.ts.map +1 -0
- package/dist/shared/datasources.d.ts +4 -9
- package/dist/shared/datasources.d.ts.map +1 -0
- package/dist/shared/datasources.js +3 -2
- package/dist/shared/env.d.ts +3 -5
- package/dist/shared/env.d.ts.map +1 -0
- package/dist/shared/env.js +2 -1
- package/dist/shared/errors.d.ts +2 -1
- package/dist/shared/errors.d.ts.map +1 -0
- package/dist/shared/errors.js +2 -1
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/layout-constants.d.ts +4 -5
- package/dist/shared/layout-constants.d.ts.map +1 -0
- package/dist/shared/layout-constants.js +3 -2
- package/dist/shared/manifest.d.ts +13 -34
- package/dist/shared/manifest.d.ts.map +1 -0
- package/dist/shared/metafile-esm.json +1 -1
- package/dist/shared/oauth.d.ts +11 -0
- package/dist/shared/oauth.d.ts.map +1 -0
- package/dist/shared/oauth.js +3 -0
- package/dist/shared/page.d.ts +927 -9
- package/dist/shared/page.d.ts.map +1 -0
- package/dist/shared/page.js +3 -2
- package/dist/shared/responsive.d.ts +4 -6
- package/dist/shared/responsive.d.ts.map +1 -0
- package/dist/shared/responsive.js +2 -1
- package/dist/shared/social-icons.d.ts +2 -3
- package/dist/shared/social-icons.d.ts.map +1 -0
- package/dist/shared/tests/attributes.test.d.ts +2 -0
- package/dist/shared/tests/attributes.test.d.ts.map +1 -0
- package/dist/shared/theme.d.ts +52 -31
- package/dist/shared/theme.d.ts.map +1 -0
- package/dist/shared/theme.js +3 -2
- package/dist/shared/themes/all-themes.d.ts +3 -6
- package/dist/shared/themes/all-themes.d.ts.map +1 -0
- package/dist/shared/themes/all-themes.js +2 -1
- package/dist/shared/themes/color-system.d.ts +24 -27
- package/dist/shared/themes/color-system.d.ts.map +1 -0
- package/dist/shared/themes/color-system.js +2 -1
- package/dist/shared/utils/invariant.d.ts +2 -3
- package/dist/shared/utils/invariant.d.ts.map +1 -0
- package/dist/shared/utils/invariant.js +3 -2
- package/dist/shared/utils/json-date.d.ts +5 -0
- package/dist/shared/utils/json-date.d.ts.map +1 -0
- package/package.json +5 -14
- package/custom-attrs.d.ts +0 -63
- package/dist/shared/ajv.js +0 -2
- package/dist/shared/datarecords/types.d.ts +0 -32
- package/dist/shared/datarecords/types.js +0 -2
- package/dist/shared/datasources/external/facebook/posts/fetcher.js +0 -2
- package/dist/shared/datasources/external/facebook/posts/schema.js +0 -2
- package/dist/shared/datasources/external/instagram/feed/fetcher.js +0 -2
- package/dist/shared/datasources/external/instagram/feed/schema.js +0 -2
- package/dist/shared/datasources/external/json/fetcher.js +0 -2
- package/dist/shared/datasources/external/json/options.js +0 -2
- package/dist/shared/datasources/external/mastodon/account/fetcher.js +0 -2
- package/dist/shared/datasources/external/mastodon/account/schema.js +0 -2
- package/dist/shared/datasources/external/mastodon/options.js +0 -2
- package/dist/shared/datasources/external/mastodon/status/fetcher.js +0 -2
- package/dist/shared/datasources/external/mastodon/status/sample.array.js +0 -2
- package/dist/shared/datasources/external/mastodon/status/sample.single.js +0 -2
- package/dist/shared/datasources/external/mastodon/status/schema.js +0 -2
- package/dist/shared/datasources/external/meta/options.js +0 -2
- package/dist/shared/datasources/external/rss/fetcher.js +0 -2
- package/dist/shared/datasources/external/rss/options.js +0 -2
- package/dist/shared/datasources/external/rss/schema.js +0 -2
- package/dist/shared/datasources/external/threads/media/fetcher.js +0 -2
- package/dist/shared/datasources/external/threads/media/schema.js +0 -2
- package/dist/shared/datasources/external/tiktok/video/fetcher.js +0 -2
- package/dist/shared/datasources/external/tiktok/video/options.js +0 -2
- package/dist/shared/datasources/external/tiktok/video/schema.js +0 -2
- package/dist/shared/datasources/external/youtube/list/fetcher.js +0 -2
- package/dist/shared/datasources/external/youtube/list/options.js +0 -2
- package/dist/shared/datasources/external/youtube/list/schema.js +0 -2
- package/dist/shared/datasources/internal/contact-info/schema.js +0 -2
- package/dist/shared/datasources/internal/faq/schema.js +0 -2
- package/dist/shared/datasources/internal/links/schema.js +0 -2
- package/dist/shared/datasources/samples.js +0 -2
- package/dist/shared/datasources/types.js +0 -2
- package/dist/shared/datasources/utils.js +0 -2
- package/dist/shared/datasources-97V9CclE.d.ts +0 -316
- package/dist/shared/index.js +0 -2
- package/dist/shared/manifest.js +0 -2
- package/dist/shared/social-icons.js +0 -2
- package/dist/shared/template-config.d.ts +0 -9
- package/dist/shared/template-config.js +0 -1
- package/dist/shared/utils/layout-utils.d.ts +0 -24
- package/dist/shared/utils/layout-utils.js +0 -2
- package/env.d.ts +0 -24
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
nextRefreshDelay: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
6
|
-
limit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const metaOptions: import("@sinclair/typebox").TObject<{
|
|
3
|
+
refreshInterval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
4
|
+
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
7
5
|
}>;
|
|
8
|
-
type MetaOptions = Static<typeof metaOptions>;
|
|
9
|
-
|
|
10
|
-
export { type MetaOptions, metaOptions };
|
|
6
|
+
export type MetaOptions = Static<typeof metaOptions>;
|
|
7
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/meta/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { RssOptions } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '@sinclair/typebox';
|
|
5
|
-
import 'zod';
|
|
6
|
-
import '../../../attributes.js';
|
|
7
|
-
import '../../../themes/color-system.js';
|
|
8
|
-
import '../../../theme.js';
|
|
9
|
-
import 'chroma-js';
|
|
10
|
-
import '../../../bricks.js';
|
|
11
|
-
import '../../../manifest.js';
|
|
12
|
-
|
|
1
|
+
import type { RssOptions } from "./options";
|
|
2
|
+
import { type RssSchema } from "./schema";
|
|
3
|
+
import type { DatasourceFetcher } from "../../fetcher";
|
|
13
4
|
declare const fetchRss: DatasourceFetcher<RssSchema, null, RssOptions>;
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
export default fetchRss;
|
|
6
|
+
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,QAAA,MAAM,QAAQ,EAAE,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAyB5D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
nextRefreshDelay: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
6
|
-
url: _sinclair_typebox.TString;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const rssOptions: import("@sinclair/typebox").TObject<{
|
|
3
|
+
refreshInterval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
4
|
+
url: import("@sinclair/typebox").TString;
|
|
7
5
|
}>;
|
|
8
|
-
type RssOptions = Static<typeof rssOptions>;
|
|
9
|
-
|
|
10
|
-
export { type RssOptions, rssOptions };
|
|
6
|
+
export type RssOptions = Static<typeof rssOptions>;
|
|
7
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/sample.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,MAAM,EAwBd,SAAS,CAAC"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
content: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
14
|
-
pubDate: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const rssSchema: import("@sinclair/typebox").TObject<{
|
|
3
|
+
title: import("@sinclair/typebox").TString;
|
|
4
|
+
link: import("@sinclair/typebox").TString;
|
|
5
|
+
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
+
updated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
+
items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
8
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
|
+
link: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
|
+
creator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
|
+
content: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
+
pubDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
13
|
}>>;
|
|
16
14
|
}>;
|
|
17
|
-
type RssSchema = Static<typeof rssSchema>;
|
|
18
|
-
|
|
19
|
-
export { type RssSchema, rssSchema };
|
|
15
|
+
export type RssSchema = Static<typeof rssSchema>;
|
|
16
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,SAAS;;;;;;;;;;;;EAuDpB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.test.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/rss/tests/fetcher.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import { ThreadsMediaSchema } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '@sinclair/typebox';
|
|
6
|
-
import 'zod';
|
|
7
|
-
import '../../../../attributes.js';
|
|
8
|
-
import '../../../../themes/color-system.js';
|
|
9
|
-
import '../../../../theme.js';
|
|
10
|
-
import 'chroma-js';
|
|
11
|
-
import '../../../../bricks.js';
|
|
12
|
-
import '../../../../manifest.js';
|
|
13
|
-
|
|
1
|
+
import { type ThreadsMediaSchema } from "./schema";
|
|
2
|
+
import type { MetaFullOAuthConfig } from "~/shared/datasources/external/meta/oauth/config";
|
|
3
|
+
import type { MetaOptions } from "~/shared/datasources/external/meta/options";
|
|
4
|
+
import type { DatasourceFetcher } from "~/shared/datasources/fetcher";
|
|
14
5
|
/**
|
|
15
6
|
* todo: add a way to retrieve media/posts from Threads for a given user other than "me"
|
|
16
7
|
*/
|
|
17
|
-
declare const fetchThreadsMediaDatasource: DatasourceFetcher<ThreadsMediaSchema,
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
declare const fetchThreadsMediaDatasource: DatasourceFetcher<ThreadsMediaSchema, MetaFullOAuthConfig, MetaOptions>;
|
|
9
|
+
export default fetchThreadsMediaDatasource;
|
|
10
|
+
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/threads/media/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAsB,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAG3F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAG9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE;;GAEG;AACH,QAAA,MAAM,2BAA2B,EAAE,iBAAiB,CAClD,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,CA6CZ,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const sample: {
|
|
2
|
+
data: ({
|
|
3
|
+
id: string;
|
|
4
|
+
is_quote_post: false;
|
|
5
|
+
media_product_type: "THREADS";
|
|
6
|
+
media_type: "IMAGE";
|
|
7
|
+
media_url: string;
|
|
8
|
+
owner: {
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
permalink: string;
|
|
12
|
+
shortcode: string;
|
|
13
|
+
text: string;
|
|
14
|
+
thumbnail_url: string;
|
|
15
|
+
timestamp: string;
|
|
16
|
+
username: string;
|
|
17
|
+
} | {
|
|
18
|
+
id: string;
|
|
19
|
+
is_quote_post: false;
|
|
20
|
+
media_product_type: "THREADS";
|
|
21
|
+
media_type: "VIDEO";
|
|
22
|
+
media_url: string;
|
|
23
|
+
owner: {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
permalink: string;
|
|
27
|
+
shortcode: string;
|
|
28
|
+
text: string;
|
|
29
|
+
thumbnail_url: string;
|
|
30
|
+
timestamp: string;
|
|
31
|
+
username: string;
|
|
32
|
+
})[];
|
|
33
|
+
paging: {
|
|
34
|
+
cursors: {
|
|
35
|
+
before: string;
|
|
36
|
+
after: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=sample.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/threads/media/sample.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCW,CAAC"}
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
owner: _sinclair_typebox.TObject<{
|
|
12
|
-
id: _sinclair_typebox.TString;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const threadsMediaSchema: import("@sinclair/typebox").TObject<{
|
|
3
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
4
|
+
id: import("@sinclair/typebox").TString;
|
|
5
|
+
media_product_type: import("@sinclair/typebox").TLiteral<"THREADS">;
|
|
6
|
+
media_type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"TEXT_POST">, import("@sinclair/typebox").TLiteral<"IMAGE">, import("@sinclair/typebox").TLiteral<"VIDEO">, import("@sinclair/typebox").TLiteral<"CAROUSEL_ALBUM">, import("@sinclair/typebox").TLiteral<"AUDIO">, import("@sinclair/typebox").TLiteral<"REPOST_FACADE">]>;
|
|
7
|
+
media_url: import("@sinclair/typebox").TString;
|
|
8
|
+
permalink: import("@sinclair/typebox").TString;
|
|
9
|
+
owner: import("@sinclair/typebox").TObject<{
|
|
10
|
+
id: import("@sinclair/typebox").TString;
|
|
13
11
|
}>;
|
|
14
|
-
username:
|
|
15
|
-
text:
|
|
16
|
-
timestamp:
|
|
17
|
-
thumbnail_url:
|
|
18
|
-
shortcode:
|
|
19
|
-
is_quote_post:
|
|
12
|
+
username: import("@sinclair/typebox").TString;
|
|
13
|
+
text: import("@sinclair/typebox").TString;
|
|
14
|
+
timestamp: import("@sinclair/typebox").TString;
|
|
15
|
+
thumbnail_url: import("@sinclair/typebox").TString;
|
|
16
|
+
shortcode: import("@sinclair/typebox").TString;
|
|
17
|
+
is_quote_post: import("@sinclair/typebox").TBoolean;
|
|
20
18
|
}>>;
|
|
21
|
-
paging:
|
|
22
|
-
cursors:
|
|
23
|
-
before:
|
|
24
|
-
after:
|
|
19
|
+
paging: import("@sinclair/typebox").TObject<{
|
|
20
|
+
cursors: import("@sinclair/typebox").TObject<{
|
|
21
|
+
before: import("@sinclair/typebox").TString;
|
|
22
|
+
after: import("@sinclair/typebox").TString;
|
|
25
23
|
}>;
|
|
26
24
|
}>;
|
|
27
25
|
}>;
|
|
28
|
-
type ThreadsMediaSchema = Static<typeof threadsMediaSchema>;
|
|
29
|
-
|
|
30
|
-
export { type ThreadsMediaSchema, threadsMediaSchema };
|
|
26
|
+
export type ThreadsMediaSchema = Static<typeof threadsMediaSchema>;
|
|
27
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/threads/media/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;EAgC7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { type StaticDecode, type Static } from "@sinclair/typebox";
|
|
2
|
+
declare const tiktokOAuthConfig: import("@sinclair/typebox").TObject<{
|
|
3
|
+
accessToken: import("@sinclair/typebox").TString;
|
|
4
|
+
expiresIn: import("@sinclair/typebox").TNumber;
|
|
5
|
+
openId: import("@sinclair/typebox").TString;
|
|
6
|
+
refreshExpiresIn: import("@sinclair/typebox").TNumber;
|
|
7
|
+
refreshToken: import("@sinclair/typebox").TString;
|
|
8
|
+
scope: import("@sinclair/typebox").TString;
|
|
9
|
+
tokenType: import("@sinclair/typebox").TString;
|
|
10
|
+
}>;
|
|
11
|
+
export type TiktokOAuthConfig = Static<typeof tiktokOAuthConfig>;
|
|
12
|
+
declare const tiktokFullOAuthConfig: import("@sinclair/typebox").TObject<{
|
|
13
|
+
siteId: import("@sinclair/typebox").TString;
|
|
14
|
+
siteDatasourceId: import("@sinclair/typebox").TString;
|
|
15
|
+
config: import("@sinclair/typebox").TObject<{
|
|
16
|
+
accessToken: import("@sinclair/typebox").TString;
|
|
17
|
+
expiresIn: import("@sinclair/typebox").TNumber;
|
|
18
|
+
openId: import("@sinclair/typebox").TString;
|
|
19
|
+
refreshExpiresIn: import("@sinclair/typebox").TNumber;
|
|
20
|
+
refreshToken: import("@sinclair/typebox").TString;
|
|
21
|
+
scope: import("@sinclair/typebox").TString;
|
|
22
|
+
tokenType: import("@sinclair/typebox").TString;
|
|
23
|
+
}>;
|
|
24
|
+
oauthTokenExpireAt: import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TString, Date>;
|
|
25
|
+
oauthRefreshTokenExpireAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TString, Date>>;
|
|
26
|
+
nextRefreshTokenAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TString, Date>>;
|
|
27
|
+
}>;
|
|
28
|
+
export type TiktokFullOAuthConfig = StaticDecode<typeof tiktokFullOAuthConfig>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/tiktok/oauth/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGzE,QAAA,MAAM,iBAAiB;;;;;;;;EAQrB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;EAA4C,CAAC;AACxE,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as e}from"../../../../chunk-A3ACTIE3.js";import{Type as t}from"@sinclair/typebox";var o=t.Object({accessToken:t.String(),expiresIn:t.Number(),openId:t.String(),refreshExpiresIn:t.Number(),refreshToken:t.String(),scope:t.String(),tokenType:t.String()}),r=e(o);
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import { TiktokVideoOptions } from
|
|
2
|
-
import { TiktokVideoResponseSchema } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import '../../../../themes/color-system.js';
|
|
9
|
-
import '../../../../theme.js';
|
|
10
|
-
import 'chroma-js';
|
|
11
|
-
import '../../../../bricks.js';
|
|
12
|
-
import '../../../../manifest.js';
|
|
13
|
-
|
|
14
|
-
declare const fetchTiktokVideoDatasource: DatasourceFetcher<TiktokVideoResponseSchema, TiktokOAuthConfig, TiktokVideoOptions>;
|
|
15
|
-
|
|
16
|
-
export { fetchTiktokVideoDatasource as default };
|
|
1
|
+
import type { TiktokVideoOptions } from "./options";
|
|
2
|
+
import { type TiktokVideoResponseSchema } from "./schema";
|
|
3
|
+
import type { TiktokFullOAuthConfig } from "../oauth/config";
|
|
4
|
+
import type { DatasourceFetcher } from "~/shared/datasources/fetcher";
|
|
5
|
+
declare const fetchTiktokVideoDatasource: DatasourceFetcher<TiktokVideoResponseSchema, TiktokFullOAuthConfig, TiktokVideoOptions>;
|
|
6
|
+
export default fetchTiktokVideoDatasource;
|
|
7
|
+
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/tiktok/video/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,KAAK,yBAAyB,EAA6B,MAAM,UAAU,CAAC;AAGrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,QAAA,MAAM,0BAA0B,EAAE,iBAAiB,CACjD,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,CAoCnB,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
nextRefreshDelay: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
6
|
-
maxCount: _sinclair_typebox.TNumber;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const tiktokVideoOptions: import("@sinclair/typebox").TObject<{
|
|
3
|
+
refreshInterval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNumber]>>;
|
|
4
|
+
maxCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
7
5
|
}>;
|
|
8
|
-
type TiktokVideoOptions = Static<typeof tiktokVideoOptions>;
|
|
9
|
-
|
|
10
|
-
export { type TiktokVideoOptions, tiktokVideoOptions };
|
|
6
|
+
export type TiktokVideoOptions = Static<typeof tiktokVideoOptions>;
|
|
7
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/tiktok/video/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,kBAAkB;;;EAM7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const sample: {
|
|
2
|
+
data: {
|
|
3
|
+
has_more: true;
|
|
4
|
+
cursor: number;
|
|
5
|
+
videos: {
|
|
6
|
+
title: string;
|
|
7
|
+
video_description: string;
|
|
8
|
+
cover_image_url: string;
|
|
9
|
+
duration: number;
|
|
10
|
+
embed_link: string;
|
|
11
|
+
id: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=sample.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/tiktok/video/sample.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAuBkB,CAAC"}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
embed_link: _sinclair_typebox.TString;
|
|
14
|
-
id: _sinclair_typebox.TString;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const tiktokVideoResponseSchema: import("@sinclair/typebox").TObject<{
|
|
3
|
+
data: import("@sinclair/typebox").TObject<{
|
|
4
|
+
has_more: import("@sinclair/typebox").TBoolean;
|
|
5
|
+
cursor: import("@sinclair/typebox").TNumber;
|
|
6
|
+
videos: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
7
|
+
title: import("@sinclair/typebox").TString;
|
|
8
|
+
video_description: import("@sinclair/typebox").TString;
|
|
9
|
+
cover_image_url: import("@sinclair/typebox").TString;
|
|
10
|
+
duration: import("@sinclair/typebox").TNumber;
|
|
11
|
+
embed_link: import("@sinclair/typebox").TString;
|
|
12
|
+
id: import("@sinclair/typebox").TString;
|
|
15
13
|
}>>;
|
|
16
14
|
}>;
|
|
17
|
-
error:
|
|
18
|
-
code:
|
|
19
|
-
message:
|
|
20
|
-
log_id:
|
|
15
|
+
error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
16
|
+
code: import("@sinclair/typebox").TString;
|
|
17
|
+
message: import("@sinclair/typebox").TString;
|
|
18
|
+
log_id: import("@sinclair/typebox").TString;
|
|
21
19
|
}>>;
|
|
22
20
|
}>;
|
|
23
|
-
type TiktokVideoResponseSchema = Static<typeof tiktokVideoResponseSchema>;
|
|
24
|
-
|
|
25
|
-
export { type TiktokVideoResponseSchema, tiktokVideoResponseSchema };
|
|
21
|
+
export type TiktokVideoResponseSchema = Static<typeof tiktokVideoResponseSchema>;
|
|
22
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/tiktok/video/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAsBpC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import { YoutubeListOptions } from
|
|
2
|
-
import { YoutubeListSchema } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import '../../../../themes/color-system.js';
|
|
9
|
-
import '../../../../theme.js';
|
|
10
|
-
import 'chroma-js';
|
|
11
|
-
import '../../../../bricks.js';
|
|
12
|
-
import '../../../../manifest.js';
|
|
13
|
-
|
|
14
|
-
declare const fetchYoutubeList: DatasourceFetcher<YoutubeListSchema, YoutubeOAuthConfig, YoutubeListOptions>;
|
|
15
|
-
|
|
16
|
-
export { fetchYoutubeList as default };
|
|
1
|
+
import type { YoutubeListOptions } from "./options";
|
|
2
|
+
import { type YoutubeListSchema } from "./schema";
|
|
3
|
+
import type { YoutubeFullOAuthConfig } from "../oauth/config";
|
|
4
|
+
import type { DatasourceFetcher } from "~/shared/datasources/fetcher";
|
|
5
|
+
declare const fetchYoutubeList: DatasourceFetcher<YoutubeListSchema, YoutubeFullOAuthConfig, YoutubeListOptions>;
|
|
6
|
+
export default fetchYoutubeList;
|
|
7
|
+
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/youtube/list/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,KAAK,iBAAiB,EAAqB,MAAM,UAAU,CAAC;AAIrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,QAAA,MAAM,gBAAgB,EAAE,iBAAiB,CACvC,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,CAgCnB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
regionCode:
|
|
8
|
-
|
|
9
|
-
maxResults: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
10
|
-
relevanceLanguage: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare const youtubeListOptions: import("@sinclair/typebox").TObject<{
|
|
3
|
+
refreshInterval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
4
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
channelId: import("@sinclair/typebox").TString;
|
|
6
|
+
maxResults: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
7
|
+
regionCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
|
+
relevanceLanguage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
9
|
}>;
|
|
12
|
-
type YoutubeListOptions = Static<typeof youtubeListOptions>;
|
|
13
|
-
|
|
14
|
-
export { type YoutubeListOptions, youtubeListOptions };
|
|
10
|
+
export type YoutubeListOptions = Static<typeof youtubeListOptions>;
|
|
11
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/youtube/list/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,kBAAkB;;;;;;;EAS7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const sample: {
|
|
2
|
+
etag: string;
|
|
3
|
+
nextPageToken: string;
|
|
4
|
+
regionCode: string;
|
|
5
|
+
pageInfo: {
|
|
6
|
+
totalResults: number;
|
|
7
|
+
resultsPerPage: number;
|
|
8
|
+
};
|
|
9
|
+
items: {
|
|
10
|
+
etag: string;
|
|
11
|
+
id: {
|
|
12
|
+
videoId: string;
|
|
13
|
+
channelId: string;
|
|
14
|
+
playlistId: string;
|
|
15
|
+
};
|
|
16
|
+
snippet: {
|
|
17
|
+
channelId: string;
|
|
18
|
+
channelTitle: string;
|
|
19
|
+
description: string;
|
|
20
|
+
liveBroadcastContent: string;
|
|
21
|
+
publishedAt: string;
|
|
22
|
+
thumbnails: {
|
|
23
|
+
default: {
|
|
24
|
+
height: number;
|
|
25
|
+
url: string;
|
|
26
|
+
width: number;
|
|
27
|
+
};
|
|
28
|
+
standard: {
|
|
29
|
+
height: number;
|
|
30
|
+
url: string;
|
|
31
|
+
width: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
title: string;
|
|
35
|
+
};
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=sample.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datasources/external/youtube/list/sample.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCU,CAAC"}
|