anilink-api-wrapper 1.17.5 → 1.18.1
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/README.md +0 -2
- package/dist/apis/anilist/mutation/UpdateUser.js +29 -2
- package/dist/apis/anilist/types/DisabledListActivity.js +11 -0
- package/dist/apis/anilist/types/MediaListOptions.js +16 -0
- package/dist/apis/anilist/types/NotificationOptions.js +29 -0
- package/dist/apis/anilist/types/ScoreFormat.js +12 -0
- package/dist/apis/anilist/types/UserStaffNameLanguage.js +13 -0
- package/dist/apis/anilist/types/UserTitleLanguage.js +13 -0
- package/dist/base/ValidateVariables.js +118 -0
- package/package.json +1 -1
- package/docs/.nojekyll +0 -1
- package/docs/assets/26e93147f10415a0ed4a.svg +0 -6
- package/docs/assets/75c9471662e97ee24f29.svg +0 -7
- package/docs/assets/db90e4df2373980c497d.svg +0 -9
- package/docs/assets/hierarchy.css +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -85
- package/docs/assets/icons.js +0 -15
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -59
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1412
- package/docs/classes/AniLink.AniLink.html +0 -105
- package/docs/classes/apis_anilist_mutation_SaveMediaListEntry.SaveMediaListEntryMutation.html +0 -10
- package/docs/classes/apis_anilist_mutation_UpdateMediaListEntries.UpdateMediaListEntriesMutation.html +0 -10
- package/docs/classes/apis_anilist_mutation_UpdateUser.UpdateUserMutation.html +0 -10
- package/docs/classes/apis_anilist_query_Activity.ActivityQuery.html +0 -10
- package/docs/classes/apis_anilist_query_ActivityReply.ActivityReplyQuery.html +0 -10
- package/docs/classes/apis_anilist_query_AiringSchedule.AiringScheduleQuery.html +0 -10
- package/docs/classes/apis_anilist_query_AniChartUser.AniChartUserQuery.html +0 -9
- package/docs/classes/apis_anilist_query_Character.CharacterQuery.html +0 -10
- package/docs/classes/apis_anilist_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Follower.FollowerQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Following.FollowingQuery.html +0 -10
- package/docs/classes/apis_anilist_query_GenreCollection.GenreCollectionQuery.html +0 -9
- package/docs/classes/apis_anilist_query_Markdown.MarkdownQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Media.MediaQuery.html +0 -10
- package/docs/classes/apis_anilist_query_MediaList.MediaListQuery.html +0 -10
- package/docs/classes/apis_anilist_query_MediaListCollection.MediaListCollectionQuery.html +0 -10
- package/docs/classes/apis_anilist_query_MediaTagCollection.MediaTagCollectionQuery.html +0 -10
- package/docs/classes/apis_anilist_query_MediaTrend.MediaTrendQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Notification.NotificationQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Recommendation.RecommendationQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Review.ReviewQuery.html +0 -10
- package/docs/classes/apis_anilist_query_SiteStatistics.SiteStatisticsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Staff.StaffQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Studio.StudioQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Thread.ThreadQuery.html +0 -10
- package/docs/classes/apis_anilist_query_ThreadComment.ThreadCommentQuery.html +0 -10
- package/docs/classes/apis_anilist_query_User.UserQuery.html +0 -10
- package/docs/classes/apis_anilist_query_Viewer.ViewerQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Activities.ActivitiesQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_ActivityReplies.ActivityRepliesQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_AiringSchedules.AiringSchedulesQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Characters.CharactersQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Followers.FollowersQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Followings.FollowingsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Likes.LikesQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_MediaLists.MediaListsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_MediaTrends.MediaTrendsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Medias.MediasQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Notifications.NotificationsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Recommendations.RecommendationsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Reviews.ReviewsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Staffs.StaffsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Studios.StudiosQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_ThreadCommments.ThreadCommentsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Threads.ThreadsQuery.html +0 -10
- package/docs/classes/apis_anilist_query_page_Users.UsersQuery.html +0 -10
- package/docs/classes/base_APIWrapper.APIWrapper.html +0 -6
- package/docs/functions/base_RequestHandler.sendRequest.html +0 -8
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -78
- package/docs/interfaces/apis_anilist_interfaces_Activity.Activity.html +0 -67
- package/docs/interfaces/apis_anilist_interfaces_ActivityHistory.ActivityHistory.html +0 -12
- package/docs/interfaces/apis_anilist_interfaces_ActivityNotification.ActivityNotification.html +0 -19
- package/docs/interfaces/apis_anilist_interfaces_ActivityReply.ActivityReply.html +0 -21
- package/docs/interfaces/apis_anilist_interfaces_BasicComment.BasicComment.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_BasicThread.BasicThread.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_BasicUser.BasicUser.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_CoverImage.CoverImage.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_Distribution.Distribution.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_ExternalLink.ExternalLink.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_Favoured.Favoured.html +0 -21
- package/docs/interfaces/apis_anilist_interfaces_FuzzyDate.FuzzyDate.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_FuzzyDate.FuzzyDateInput.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_Image.Image.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_ListScores.ListScores.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_Media.Media.html +0 -93
- package/docs/interfaces/apis_anilist_interfaces_MediaListEntry.MediaListEntry.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_MediaListEntry.MediaListOptionsInput.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_MediaStatistics.MediaStatistics.html +0 -41
- package/docs/interfaces/apis_anilist_interfaces_MediaStats.MediaStats.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_Name.Name.html +0 -15
- package/docs/interfaces/apis_anilist_interfaces_NextAiringEpisode.NextAiringEpisode.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_Notification.NotificationOptionInput.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_Ranking.Ranking.html +0 -19
- package/docs/interfaces/apis_anilist_interfaces_ScoreDistribution.ScoreDistribution.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_SiteTrend.SiteTrend.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_SiteTrendConnection.SiteTrendConnection.html +0 -12
- package/docs/interfaces/apis_anilist_interfaces_Staff.Staff.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_Stat.Stat.html +0 -39
- package/docs/interfaces/apis_anilist_interfaces_Statistics.Statistics.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_StatusDistribution.StatusDistribution.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_StreamingEpisode.StreamingEpisode.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_Studio.Studio.html +0 -7
- package/docs/interfaces/apis_anilist_interfaces_Tag.Tag.html +0 -21
- package/docs/interfaces/apis_anilist_interfaces_ThreadNotification.ThreadNotification.html +0 -21
- package/docs/interfaces/apis_anilist_interfaces_Title.Title.html +0 -11
- package/docs/interfaces/apis_anilist_interfaces_Trailer.Trailer.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_UserStats.UserStats.html +0 -37
- package/docs/interfaces/apis_anilist_interfaces_responses_query_AiringSchedule.AiringScheduleResponse.html +0 -15
- package/docs/interfaces/apis_anilist_interfaces_responses_query_AniChartUser.AniChartUserResponse.html +0 -9
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Character.CharacterResponse.html +0 -32
- package/docs/interfaces/apis_anilist_interfaces_responses_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionResponse.html +0 -23
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Media.MediaResponse.html +0 -101
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaList.MediaListResponse.html +0 -43
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.MediaListCollectionResponse.html +0 -8
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaTagCollection.MediaTagCollectionResponse.html +0 -5
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaTrend.MediaTrendResponse.html +0 -21
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Notification.NotificationResponse.html +0 -132
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Recommendation.RecommendationResponse.html +0 -15
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Review.ReviewResponse.html +0 -33
- package/docs/interfaces/apis_anilist_interfaces_responses_query_SiteStatistics.SiteStatisticsResponse.html +0 -17
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Staff.StaffResponse.html +0 -62
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Studio.StudioResponse.html +0 -18
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Thread.ThreadResponse.html +0 -50
- package/docs/interfaces/apis_anilist_interfaces_responses_query_ThreadComment.ThreadCommentResponse.html +0 -31
- package/docs/interfaces/apis_anilist_interfaces_responses_query_User.UserResponse.html +0 -79
- package/docs/interfaces/apis_anilist_mutation_SaveMediaListEntry.SaveMediaListEntryVariables.html +0 -35
- package/docs/interfaces/apis_anilist_mutation_UpdateMediaListEntries.UpdateMediaListEntriesVariables.html +0 -31
- package/docs/interfaces/apis_anilist_mutation_UpdateUser.UpdateUserResponse.html +0 -62
- package/docs/interfaces/apis_anilist_mutation_UpdateUser.UpdateUserVariables.html +0 -35
- package/docs/interfaces/apis_anilist_query_Activity.ActivityVariables.html +0 -57
- package/docs/interfaces/apis_anilist_query_ActivityReply.ActivityReplyVariables.html +0 -9
- package/docs/interfaces/apis_anilist_query_AiringSchedule.AiringScheduleVariables.html +0 -43
- package/docs/interfaces/apis_anilist_query_Character.CharacterVariables.html +0 -27
- package/docs/interfaces/apis_anilist_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionVariables.html +0 -9
- package/docs/interfaces/apis_anilist_query_Follower.FollowerVariables.html +0 -15
- package/docs/interfaces/apis_anilist_query_Following.FollowingVariables.html +0 -15
- package/docs/interfaces/apis_anilist_query_Markdown.MarkdownVariables.html +0 -5
- package/docs/interfaces/apis_anilist_query_Media.MediaVariables.html +0 -143
- package/docs/interfaces/apis_anilist_query_MediaList.MediaListVariables.html +0 -59
- package/docs/interfaces/apis_anilist_query_MediaListCollection.MediaListCollectionVariables.html +0 -51
- package/docs/interfaces/apis_anilist_query_MediaTagCollection.MediaTagCollectionVariables.html +0 -5
- package/docs/interfaces/apis_anilist_query_MediaTrend.MediaTrendVariables.html +0 -55
- package/docs/interfaces/apis_anilist_query_Notification.NotificationVariables.html +0 -11
- package/docs/interfaces/apis_anilist_query_Recommendation.RecommendationVariables.html +0 -23
- package/docs/interfaces/apis_anilist_query_Review.ReviewVariables.html +0 -15
- package/docs/interfaces/apis_anilist_query_SiteStatistics.SiteStatisticsVariables.html +0 -45
- package/docs/interfaces/apis_anilist_query_Staff.StaffVariables.html +0 -43
- package/docs/interfaces/apis_anilist_query_Studio.StudioVariables.html +0 -51
- package/docs/interfaces/apis_anilist_query_Thread.ThreadVariables.html +0 -23
- package/docs/interfaces/apis_anilist_query_ThreadComment.ThreadCommentVariables.html +0 -13
- package/docs/interfaces/apis_anilist_query_User.UserVariables.html +0 -23
- package/docs/interfaces/apis_anilist_query_Viewer.ViewerVariables.html +0 -13
- package/docs/interfaces/apis_anilist_query_page_Activities.ActivitiesVariables.html +0 -61
- package/docs/interfaces/apis_anilist_query_page_ActivityReplies.ActivityRepliesVariables.html +0 -13
- package/docs/interfaces/apis_anilist_query_page_AiringSchedules.AiringSchedulesVariables.html +0 -47
- package/docs/interfaces/apis_anilist_query_page_Characters.CharactersVariables.html +0 -31
- package/docs/interfaces/apis_anilist_query_page_Followers.FollowersVariables.html +0 -19
- package/docs/interfaces/apis_anilist_query_page_Followings.FollowingsVariables.html +0 -19
- package/docs/interfaces/apis_anilist_query_page_Likes.LikesVariables.html +0 -11
- package/docs/interfaces/apis_anilist_query_page_MediaLists.MediaListsVariables.html +0 -63
- package/docs/interfaces/apis_anilist_query_page_MediaTrends.MediaTrendsVariables.html +0 -59
- package/docs/interfaces/apis_anilist_query_page_Medias.MediasVariables.html +0 -147
- package/docs/interfaces/apis_anilist_query_page_Notifications.NotificationsVariables.html +0 -15
- package/docs/interfaces/apis_anilist_query_page_Recommendations.RecommendationsVariables.html +0 -27
- package/docs/interfaces/apis_anilist_query_page_Reviews.ReviewsVariables.html +0 -15
- package/docs/interfaces/apis_anilist_query_page_Staffs.StaffsVariables.html +0 -47
- package/docs/interfaces/apis_anilist_query_page_Studios.StudiosVariables.html +0 -55
- package/docs/interfaces/apis_anilist_query_page_ThreadCommments.ThreadCommentsVariables.html +0 -17
- package/docs/interfaces/apis_anilist_query_page_Threads.ThreadsVariables.html +0 -27
- package/docs/interfaces/apis_anilist_query_page_Users.UsersVariables.html +0 -27
- package/docs/modules/AniLink.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Activity.html +0 -5
- package/docs/modules/apis_anilist_interfaces_ActivityHistory.html +0 -2
- package/docs/modules/apis_anilist_interfaces_ActivityNotification.html +0 -3
- package/docs/modules/apis_anilist_interfaces_ActivityReply.html +0 -3
- package/docs/modules/apis_anilist_interfaces_BasicComment.html +0 -3
- package/docs/modules/apis_anilist_interfaces_BasicThread.html +0 -3
- package/docs/modules/apis_anilist_interfaces_BasicUser.html +0 -3
- package/docs/modules/apis_anilist_interfaces_CoverImage.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Distribution.html +0 -2
- package/docs/modules/apis_anilist_interfaces_ExternalLink.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Favoured.html +0 -2
- package/docs/modules/apis_anilist_interfaces_FuzzyDate.html +0 -4
- package/docs/modules/apis_anilist_interfaces_Image.html +0 -3
- package/docs/modules/apis_anilist_interfaces_ListScores.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Media.html +0 -2
- package/docs/modules/apis_anilist_interfaces_MediaListEntry.html +0 -5
- package/docs/modules/apis_anilist_interfaces_MediaStatistics.html +0 -2
- package/docs/modules/apis_anilist_interfaces_MediaStats.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Name.html +0 -3
- package/docs/modules/apis_anilist_interfaces_NextAiringEpisode.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Notification.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Ranking.html +0 -3
- package/docs/modules/apis_anilist_interfaces_ScoreDistribution.html +0 -3
- package/docs/modules/apis_anilist_interfaces_SiteTrend.html +0 -3
- package/docs/modules/apis_anilist_interfaces_SiteTrendConnection.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Staff.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Stat.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Statistics.html +0 -2
- package/docs/modules/apis_anilist_interfaces_StatusDistribution.html +0 -3
- package/docs/modules/apis_anilist_interfaces_StreamingEpisode.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Studio.html +0 -2
- package/docs/modules/apis_anilist_interfaces_Tag.html +0 -3
- package/docs/modules/apis_anilist_interfaces_ThreadNotification.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Title.html +0 -3
- package/docs/modules/apis_anilist_interfaces_Trailer.html +0 -3
- package/docs/modules/apis_anilist_interfaces_UserStats.html +0 -4
- package/docs/modules/apis_anilist_interfaces_responses_query_AiringSchedule.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_AniChartUser.html +0 -2
- package/docs/modules/apis_anilist_interfaces_responses_query_Character.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_ExternalLinkSourceCollection.html +0 -2
- package/docs/modules/apis_anilist_interfaces_responses_query_Media.html +0 -4
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaList.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaTagCollection.html +0 -2
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaTrend.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Notification.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Recommendation.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Review.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_SiteStatistics.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Staff.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Studio.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_Thread.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_ThreadComment.html +0 -3
- package/docs/modules/apis_anilist_interfaces_responses_query_User.html +0 -3
- package/docs/modules/apis_anilist_mutation_SaveMediaListEntry.html +0 -3
- package/docs/modules/apis_anilist_mutation_UpdateMediaListEntries.html +0 -3
- package/docs/modules/apis_anilist_mutation_UpdateUser.html +0 -4
- package/docs/modules/apis_anilist_query_Activity.html +0 -3
- package/docs/modules/apis_anilist_query_ActivityReply.html +0 -3
- package/docs/modules/apis_anilist_query_AiringSchedule.html +0 -3
- package/docs/modules/apis_anilist_query_AniChartUser.html +0 -2
- package/docs/modules/apis_anilist_query_Character.html +0 -3
- package/docs/modules/apis_anilist_query_ExternalLinkSourceCollection.html +0 -3
- package/docs/modules/apis_anilist_query_Follower.html +0 -3
- package/docs/modules/apis_anilist_query_Following.html +0 -3
- package/docs/modules/apis_anilist_query_GenreCollection.html +0 -2
- package/docs/modules/apis_anilist_query_Markdown.html +0 -3
- package/docs/modules/apis_anilist_query_Media.html +0 -3
- package/docs/modules/apis_anilist_query_MediaList.html +0 -3
- package/docs/modules/apis_anilist_query_MediaListCollection.html +0 -3
- package/docs/modules/apis_anilist_query_MediaTagCollection.html +0 -3
- package/docs/modules/apis_anilist_query_MediaTrend.html +0 -3
- package/docs/modules/apis_anilist_query_Notification.html +0 -3
- package/docs/modules/apis_anilist_query_Recommendation.html +0 -3
- package/docs/modules/apis_anilist_query_Review.html +0 -3
- package/docs/modules/apis_anilist_query_SiteStatistics.html +0 -3
- package/docs/modules/apis_anilist_query_Staff.html +0 -3
- package/docs/modules/apis_anilist_query_Studio.html +0 -3
- package/docs/modules/apis_anilist_query_Thread.html +0 -3
- package/docs/modules/apis_anilist_query_ThreadComment.html +0 -3
- package/docs/modules/apis_anilist_query_User.html +0 -3
- package/docs/modules/apis_anilist_query_Viewer.html +0 -3
- package/docs/modules/apis_anilist_query_page_Activities.html +0 -3
- package/docs/modules/apis_anilist_query_page_ActivityReplies.html +0 -3
- package/docs/modules/apis_anilist_query_page_AiringSchedules.html +0 -3
- package/docs/modules/apis_anilist_query_page_Characters.html +0 -3
- package/docs/modules/apis_anilist_query_page_Followers.html +0 -3
- package/docs/modules/apis_anilist_query_page_Followings.html +0 -3
- package/docs/modules/apis_anilist_query_page_Likes.html +0 -3
- package/docs/modules/apis_anilist_query_page_MediaLists.html +0 -3
- package/docs/modules/apis_anilist_query_page_MediaTrends.html +0 -3
- package/docs/modules/apis_anilist_query_page_Medias.html +0 -3
- package/docs/modules/apis_anilist_query_page_Notifications.html +0 -3
- package/docs/modules/apis_anilist_query_page_Recommendations.html +0 -3
- package/docs/modules/apis_anilist_query_page_Reviews.html +0 -3
- package/docs/modules/apis_anilist_query_page_Staffs.html +0 -3
- package/docs/modules/apis_anilist_query_page_Studios.html +0 -3
- package/docs/modules/apis_anilist_query_page_ThreadCommments.html +0 -3
- package/docs/modules/apis_anilist_query_page_Threads.html +0 -3
- package/docs/modules/apis_anilist_query_page_Users.html +0 -3
- package/docs/modules/apis_anilist_types_MediaListStatus.html +0 -2
- package/docs/modules/apis_anilist_types_ScoreFormat.html +0 -2
- package/docs/modules/apis_anilist_types_UserStaffNameLanguage.html +0 -2
- package/docs/modules/apis_anilist_types_UserTitleLanguage.html +0 -2
- package/docs/modules/base_APIWrapper.html +0 -2
- package/docs/modules/base_RequestHandler.html +0 -2
- package/docs/types/apis_anilist_interfaces_Activity.ListActivityOptionInput.html +0 -3
- package/docs/types/apis_anilist_interfaces_MediaListEntry.MediaListStatus.html +0 -3
- package/docs/types/apis_anilist_types_MediaListStatus.MediaListStatus.html +0 -3
- package/docs/types/apis_anilist_types_ScoreFormat.ScoreFormat.html +0 -3
- package/docs/types/apis_anilist_types_UserStaffNameLanguage.UserStaffNameLanguage.html +0 -3
- package/docs/types/apis_anilist_types_UserTitleLanguage.UserTitleLanguage.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Activity.ActivitySchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Activity.ActivityWithRepliesSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_ActivityNotification.ActivityNotificationSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_ActivityReply.ActivityReplySchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_BasicComment.BasicCommentSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_BasicThread.BasicThreadSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_BasicUser.BasicUserSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_CoverImage.CoverImageSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_ExternalLink.ExternalLinkSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_FuzzyDate.FuzzyDateSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Image.ImageSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_MediaListEntry.MediaListEntrySchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Name.NameSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_NextAiringEpisode.NextAiringEpisodeSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Ranking.RankingSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_ScoreDistribution.ScoreDistributionSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_SiteTrend.SiteTrendSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_SiteTrendConnection.SiteTrendConnectionSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_StatusDistribution.StatusDistributionSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_StreamingEpisode.StreamingEpisodeSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Tag.TagSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_ThreadNotification.ThreadNotificationSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Title.TitleSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_Trailer.TrailerSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_UserStats.UserAnimeStatsSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_UserStats.UserMangaStatsSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_AiringSchedule.AiringScheduleSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Character.CharacterSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Media.MediaSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Media.MediaWithRelationsSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaList.MediaListSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.MediaListCollectionQuerySchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaTrend.MediaTrendSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Notification.NotificationSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Recommendation.RecommendationSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Review.ReviewSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_SiteStatistics.SiteStatisticsSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Staff.StaffSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Studio.StudioSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_Thread.ThreadSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_ThreadComment.ThreadCommentSchema.html +0 -3
- package/docs/variables/apis_anilist_interfaces_responses_query_User.UserSchema.html +0 -3
- package/typedoc.json +0 -15
package/README.md
CHANGED
|
@@ -4,8 +4,6 @@ For full documentation on methods and parameters, please refer to the [AniLink d
|
|
|
4
4
|
|
|
5
5
|
AniLink is a TypeScript library for interacting with the AniList API. It provides methods for querying and mutating data, making it easier to integrate AniList's features into your own applications.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
7
|
## Installation
|
|
10
8
|
|
|
11
9
|
To install AniLink, you can use npm:
|
|
@@ -12,6 +12,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateUserMutation = void 0;
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
|
+
const ScoreFormat_1 = require("../types/ScoreFormat");
|
|
16
|
+
const UserStaffNameLanguage_1 = require("../types/UserStaffNameLanguage");
|
|
17
|
+
const UserTitleLanguage_1 = require("../types/UserTitleLanguage");
|
|
18
|
+
const ValidateVariables_1 = require("../../../base/ValidateVariables");
|
|
19
|
+
const NotificationOptions_1 = require("../types/NotificationOptions");
|
|
20
|
+
const MediaListOptions_1 = require("../types/MediaListOptions");
|
|
21
|
+
const DisabledListActivity_1 = require("../types/DisabledListActivity");
|
|
15
22
|
/**
|
|
16
23
|
* `UpdateUserMutation` is a class representing a mutation to update a user.
|
|
17
24
|
* It includes a method to update a user.
|
|
@@ -29,11 +36,31 @@ class UpdateUserMutation extends APIWrapper_1.APIWrapper {
|
|
|
29
36
|
/**
|
|
30
37
|
* `updateUser` is a method that sends a mutation request to update a user.
|
|
31
38
|
*
|
|
32
|
-
* @param variables -
|
|
33
|
-
* @returns
|
|
39
|
+
* @param variables - An object of type `UpdateUserVariables` representing the variables for the mutation.
|
|
40
|
+
* @returns A Promise that resolves to an object of type `UpdateUserResponse`. This object includes the updated user details
|
|
41
|
+
* @throws Will throw an error if the mutation request fails or if the provided variables do not pass the validation checks.
|
|
34
42
|
*/
|
|
35
43
|
updateUser(variables) {
|
|
36
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
const variableTypeMappings = {
|
|
46
|
+
about: 'string',
|
|
47
|
+
titleLanguage: UserTitleLanguage_1.UserTitleLanguageMapping,
|
|
48
|
+
displayAdultContent: 'boolean',
|
|
49
|
+
airingNotifications: 'boolean',
|
|
50
|
+
scoreFormat: ScoreFormat_1.ScoreFormatMapping,
|
|
51
|
+
rowOrder: 'string',
|
|
52
|
+
profileColor: 'string',
|
|
53
|
+
donatorBadge: 'string',
|
|
54
|
+
notificationOptions: NotificationOptions_1.NotificationOptionsMapping,
|
|
55
|
+
timezone: 'string',
|
|
56
|
+
activityMergeTime: 'number',
|
|
57
|
+
animeListOptions: MediaListOptions_1.MediaListOptionsMapping,
|
|
58
|
+
mangaListOptions: MediaListOptions_1.MediaListOptionsMapping,
|
|
59
|
+
staffNameLanguage: UserStaffNameLanguage_1.UserStaffNameLanguageMapping,
|
|
60
|
+
restrictMessagesToFollowing: 'boolean',
|
|
61
|
+
disabledListActivity: DisabledListActivity_1.DisabledListActivityMapping
|
|
62
|
+
};
|
|
63
|
+
(0, ValidateVariables_1.validateVariables)(variables, variableTypeMappings);
|
|
37
64
|
const mutation = `
|
|
38
65
|
mutation ($about: String, $titleLanguage: UserTitleLanguage, $displayAdultContent: Boolean, $airingNotifications: Boolean, $scoreFormat: ScoreFormat, $rowOrder: String, $profileColor: String, $donatorBadge: String, $notificationOptions: [NotificationOptionInput], $timezone: String, $activityMergeTime: Int, $animeListOptions: MediaListOptionsInput, $mangaListOptions: MediaListOptionsInput, $staffNameLanguage: UserStaffNameLanguage, $restrictMessagesToFollowing: Boolean, $disabledListActivity: [ListActivityOptionInput]) {
|
|
39
66
|
UpdateUser(about: $about, titleLanguage: $titleLanguage, displayAdultContent: $displayAdultContent, airingNotifications: $airingNotifications, scoreFormat: $scoreFormat, rowOrder: $rowOrder, profileColor: $profileColor, donatorBadge: $donatorBadge, notificationOptions: $notificationOptions, timezone: $timezone, activityMergeTime: $activityMergeTime, animeListOptions: $animeListOptions, mangaListOptions: $mangaListOptions, staffNameLanguage: $staffNameLanguage, restrictMessagesToFollowing: $restrictMessagesToFollowing, disabledListActivity: $disabledListActivity) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisabledListActivityMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `DisabledListActivityMapping` is a constant that maps the `DisabledListActivity` fields to their expected types.
|
|
6
|
+
* The `disabled` field is mapped to 'boolean', and the `type` field is mapped to an array of possible values.
|
|
7
|
+
*/
|
|
8
|
+
exports.DisabledListActivityMapping = {
|
|
9
|
+
disabled: 'boolean',
|
|
10
|
+
type: ['CURRENT', 'PLANNING', 'COMPLETED', 'DROPPED', 'PAUSED', 'REPEATING']
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaListOptionsMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `MediaListOptionsMapping` is a constant that maps the `MediaListOptions` fields to their expected types.
|
|
6
|
+
* The `sectionOrder`, `customLists`, `advancedScoring`, and `theme` fields are mapped to 'string',
|
|
7
|
+
* and the `splitCompletedSectionByFormat` and `advancedScoringEnabled` fields are mapped to 'boolean'.
|
|
8
|
+
*/
|
|
9
|
+
exports.MediaListOptionsMapping = {
|
|
10
|
+
sectionOrder: 'string',
|
|
11
|
+
splitCompletedSectionByFormat: 'boolean',
|
|
12
|
+
customLists: 'string',
|
|
13
|
+
advancedScoring: 'string',
|
|
14
|
+
advancedScoringEnabled: 'boolean',
|
|
15
|
+
theme: 'string'
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationOptionsMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `NotificationOptionsMapping` is a constant that maps the `NotificationOptions` fields to their expected types.
|
|
6
|
+
* The `type` field is mapped to an array of possible values, and the `enabled` field is mapped to 'boolean'.
|
|
7
|
+
*/
|
|
8
|
+
exports.NotificationOptionsMapping = {
|
|
9
|
+
type: [
|
|
10
|
+
'ACTIVITY_MESSAGE',
|
|
11
|
+
'ACTIVITY_REPLY',
|
|
12
|
+
'FOLLOWING',
|
|
13
|
+
'ACTIVITY_MENTION',
|
|
14
|
+
'THREAD_COMMENT_MENTION',
|
|
15
|
+
'THREAD_SUBSCRIBED',
|
|
16
|
+
'THREAD_COMMENT_REPLY',
|
|
17
|
+
'AIRING',
|
|
18
|
+
'ACTIVITY_LIKE',
|
|
19
|
+
'ACTIVITY_REPLY_LIKE',
|
|
20
|
+
'THREAD_LIKE',
|
|
21
|
+
'THREAD_COMMENT_LIKE',
|
|
22
|
+
'ACTIVITY_REPLY_SUBSCRIBED',
|
|
23
|
+
'RELATED_MEDIA_ADDITION',
|
|
24
|
+
'MEDIA_DATA_CHANGE',
|
|
25
|
+
'MEDIA_MERGE',
|
|
26
|
+
'MEDIA_DELETION'
|
|
27
|
+
],
|
|
28
|
+
enabled: 'boolean'
|
|
29
|
+
};
|
|
@@ -1,2 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScoreFormatMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `ScoreFormatMapping` is a mapping of `ScoreFormat` values to their string representations.
|
|
6
|
+
* It can be one of the following: 'POINT_100', 'POINT_10_DECIMAL', 'POINT_10', 'POINT_5', 'POINT_3'.
|
|
7
|
+
*/
|
|
8
|
+
exports.ScoreFormatMapping = [
|
|
9
|
+
'POINT_100',
|
|
10
|
+
'POINT_10_DECIMAL',
|
|
11
|
+
'POINT_10',
|
|
12
|
+
'POINT_5',
|
|
13
|
+
'POINT_3'
|
|
14
|
+
];
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserStaffNameLanguageMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `UserStaffNameLanguageMapping` is a mapping of `UserStaffNameLanguage` enum values to their corresponding string values.
|
|
6
|
+
* It can be one of the following: 'ROMAJI', 'ENGLISH', 'NATIVE', 'ROMAJI_STYLISED', 'ENGLISH_STYLISED', 'NATIVE_STYLISED'.
|
|
7
|
+
*/
|
|
8
|
+
exports.UserStaffNameLanguageMapping = [
|
|
9
|
+
'ROMAJI',
|
|
10
|
+
'ENGLISH',
|
|
11
|
+
'NATIVE',
|
|
12
|
+
'ROMAJI_STYLISED',
|
|
13
|
+
'ENGLISH_STYLISED',
|
|
14
|
+
'NATIVE_STYLISED'
|
|
15
|
+
];
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserTitleLanguageMapping = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* `UserTitleLanguageMapping` is an object that maps each `UserTitleLanguage` to its corresponding string value.
|
|
6
|
+
* It can be one of the following: 'ROMAJI', 'ENGLISH', 'NATIVE', 'ROMAJI_STYLISED', 'ENGLISH_STYLISED', 'NATIVE_STYLISED'.
|
|
7
|
+
*/
|
|
8
|
+
exports.UserTitleLanguageMapping = [
|
|
9
|
+
'ROMAJI',
|
|
10
|
+
'ENGLISH',
|
|
11
|
+
'NATIVE',
|
|
12
|
+
'ROMAJI_STYLISED',
|
|
13
|
+
'ENGLISH_STYLISED',
|
|
14
|
+
'NATIVE_STYLISED'
|
|
15
|
+
];
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateVariables = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Validates the provided variables against the expected types.
|
|
6
|
+
*
|
|
7
|
+
* @param variables - The variables to validate. This is an object where each key is the name of a variable and the value is the value of the variable.
|
|
8
|
+
* @param variableTypeMappings - An object that maps variable names to their expected types. The expected type can be a string representing a primitive type, an array of possible values, or an object mapping property names to their expected types.
|
|
9
|
+
*
|
|
10
|
+
* @throws Will throw an error if any of the variables do not match their expected types. The error message will include the names of the invalid variables and their expected types.
|
|
11
|
+
*/
|
|
12
|
+
function validateVariables(variables, variableTypeMappings) {
|
|
13
|
+
const errors = [];
|
|
14
|
+
for (const [variable, value] of Object.entries(variables)) {
|
|
15
|
+
const expectedType = variableTypeMappings[variable];
|
|
16
|
+
if (expectedType) {
|
|
17
|
+
if (Array.isArray(expectedType)) {
|
|
18
|
+
// If the value is an object, validate its properties
|
|
19
|
+
if (typeof value === 'object' && value !== null) {
|
|
20
|
+
for (const [prop, propValue] of Object.entries(value)) {
|
|
21
|
+
const expectedPropType = expectedType[prop];
|
|
22
|
+
if (expectedPropType && !expectedPropType.includes(propValue)) {
|
|
23
|
+
errors.push(`Invalid ${variable}.${prop}: ${propValue}. Expected one of: ${expectedPropType.join(', ')}`);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else if (!expectedType.includes(value)) {
|
|
28
|
+
// If the value is not an object, check if it is one of the array values
|
|
29
|
+
errors.push(`Invalid ${variable}: ${value}. Expected one of: ${expectedType.join(', ')}`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
else if (typeof expectedType === 'object') {
|
|
33
|
+
// If the expected type is an object, validate its properties
|
|
34
|
+
if (Array.isArray(value)) {
|
|
35
|
+
// If the value is an array, validate each object in the array
|
|
36
|
+
value.forEach((item, index) => {
|
|
37
|
+
for (const [prop, propValue] of Object.entries(item)) {
|
|
38
|
+
const expectedPropType = expectedType[prop];
|
|
39
|
+
if (expectedPropType) {
|
|
40
|
+
if (expectedPropType === 'boolean' && typeof propValue === 'boolean') {
|
|
41
|
+
// If the expected type is 'boolean' and the value is a boolean, the validation passes
|
|
42
|
+
}
|
|
43
|
+
else if (!expectedPropType.includes(propValue)) {
|
|
44
|
+
let expectedPropTypeString;
|
|
45
|
+
if (Array.isArray(expectedPropType)) {
|
|
46
|
+
expectedPropTypeString = expectedPropType.join(', ');
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
expectedPropTypeString = expectedPropType.toString();
|
|
50
|
+
}
|
|
51
|
+
errors.push(`Invalid ${variable}[${index}].${prop}: ${propValue}. Expected one of: ${expectedPropTypeString}`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
// If the value is not an array, validate its properties
|
|
59
|
+
for (const [prop, propValue] of Object.entries(value)) {
|
|
60
|
+
const expectedPropType = expectedType[prop];
|
|
61
|
+
if (expectedPropType) {
|
|
62
|
+
if (Array.isArray(propValue) && propValue.length === 1) {
|
|
63
|
+
// If the expected type is a string and the value is an array with a single string, treat it as a single string
|
|
64
|
+
if (typeof propValue[0] === 'string' && expectedPropType.includes(propValue[0])) {
|
|
65
|
+
// If the expected type is a string and the value is a string, check if the string is in the array
|
|
66
|
+
}
|
|
67
|
+
else if (typeof propValue[0] !== expectedPropType) {
|
|
68
|
+
errors.push(`Invalid ${variable}.${prop}: ${propValue[0]}. Expected type: ${expectedPropType}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
else if (Array.isArray(propValue)) {
|
|
72
|
+
// If the expected type is an array and the value is an array, check if all elements in the array are of the expected type
|
|
73
|
+
if (!propValue.every(item => expectedPropType.includes(item))) {
|
|
74
|
+
let expectedPropTypeString;
|
|
75
|
+
if (Array.isArray(expectedPropType)) {
|
|
76
|
+
expectedPropTypeString = expectedPropType.join(', ');
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
expectedPropTypeString = expectedPropType;
|
|
80
|
+
}
|
|
81
|
+
errors.push(`Invalid ${variable}.${prop}: ${propValue}. Expected type: ${expectedPropTypeString}`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
else if (typeof propValue === 'string' && expectedPropType.includes(propValue)) {
|
|
85
|
+
// If the expected type is an array and the value is a string, check if the string is in the array
|
|
86
|
+
}
|
|
87
|
+
else if (typeof propValue !== expectedPropType) {
|
|
88
|
+
let expectedPropTypeString;
|
|
89
|
+
if (Array.isArray(expectedPropType)) {
|
|
90
|
+
expectedPropTypeString = expectedPropType.join(', ');
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
expectedPropTypeString = expectedPropType;
|
|
94
|
+
}
|
|
95
|
+
errors.push(`Invalid ${variable}.${prop}: ${propValue}. Expected type: ${expectedPropTypeString}`);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
else if (Array.isArray(value)) {
|
|
102
|
+
// If the value is an array, validate each item in the array
|
|
103
|
+
value.forEach((item, index) => {
|
|
104
|
+
if (typeof item !== expectedType) {
|
|
105
|
+
errors.push(`Invalid ${variable}[${index}]: ${item}. Expected type: ${expectedType}`);
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
else if (typeof value !== expectedType) {
|
|
110
|
+
errors.push(`Invalid ${variable}: ${value}. Expected type: ${expectedType}`);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
if (errors.length > 0) {
|
|
115
|
+
throw new Error(errors.join('\n'));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.validateVariables = validateVariables;
|
package/package.json
CHANGED
package/docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg fill="none" version="1.1" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<title>TypeScript logo</title>
|
|
4
|
-
<rect width="512" height="512" rx="50" fill="#3178c6"/>
|
|
5
|
-
<path d="m317 407v50c8.1 4.2 18 7.3 29 9.4s23 3.1 35 3.1c12 0 23-1.1 34-3.4 11-2.3 20-6.1 28-11 8.1-5.3 15-12 19-21s7.1-19 7.1-32c0-9.1-1.4-17-4.1-24s-6.6-13-12-18c-5.1-5.3-11-10-18-14s-15-8.2-24-12c-6.6-2.7-12-5.3-18-7.9-5.2-2.6-9.7-5.2-13-7.8-3.7-2.7-6.5-5.5-8.5-8.4-2-3-3-6.3-3-10 0-3.4 0.89-6.5 2.7-9.3s4.3-5.1 7.5-7.1c3.2-2 7.2-3.5 12-4.6 4.7-1.1 9.9-1.6 16-1.6 4.2 0 8.6 0.31 13 0.94 4.6 0.63 9.3 1.6 14 2.9 4.7 1.3 9.3 2.9 14 4.9 4.4 2 8.5 4.3 12 6.9v-47c-7.6-2.9-16-5.1-25-6.5s-19-2.1-31-2.1c-12 0-23 1.3-34 3.8s-20 6.5-28 12c-8.1 5.4-14 12-19 21-4.7 8.4-7 18-7 30 0 15 4.3 28 13 38 8.6 11 22 19 39 27 6.9 2.8 13 5.6 19 8.3s11 5.5 15 8.4c4.3 2.9 7.7 6.1 10 9.5 2.5 3.4 3.8 7.4 3.8 12 0 3.2-0.78 6.2-2.3 9s-3.9 5.2-7.1 7.2-7.1 3.6-12 4.8c-4.7 1.1-10 1.7-17 1.7-11 0-22-1.9-32-5.7-11-3.8-21-9.5-30-17zm-84-123h64v-41h-179v41h64v183h51z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd" style="fill:#fff"/>
|
|
6
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<svg viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g id="#007bffff">
|
|
4
|
-
<path fill="#007bff" opacity="1.00"
|
|
5
|
-
d=" M 9.84 70.86 C 18.37 59.93 32.07 53.35 45.93 53.48 C 99.29 53.43 152.64 53.50 206.00 53.45 C 209.00 53.53 212.11 53.12 215.03 53.98 C 218.18 55.70 220.05 58.98 222.42 61.57 C 234.68 76.00 246.64 90.69 259.08 104.97 C 328.06 105.05 397.05 104.97 466.04 105.01 C 475.98 104.92 485.90 108.15 493.81 114.18 C 504.16 121.79 510.49 133.96 512.00 146.61 L 512.00 403.41 C 510.94 415.48 505.32 427.15 496.01 435.00 C 489.04 441.00 480.20 444.79 471.05 445.68 C 466.04 446.17 461.01 445.97 456.00 446.00 C 323.00 446.00 190.00 446.00 57.00 446.00 C 50.54 445.94 44.03 446.33 37.64 445.23 C 24.25 442.94 12.17 434.24 5.68 422.33 C 2.40 416.54 0.74 410.00 0.00 403.44 L 0.00 95.59 C 1.03 86.67 4.14 77.89 9.84 70.86 Z"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<svg viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g id="#007bffff">
|
|
4
|
-
<path fill="#007bff" opacity="1.00"
|
|
5
|
-
d=" M 0.00 80.69 C 0.22 64.54 15.05 50.95 30.99 51.04 C 71.66 50.97 112.33 51.00 153.00 51.02 C 163.06 50.98 173.05 55.84 178.96 64.04 C 190.23 79.65 201.34 95.39 212.61 111.00 C 275.09 111.02 337.57 110.96 400.05 111.03 C 415.75 110.89 430.55 124.04 431.08 139.96 C 431.29 154.12 431.11 168.29 431.16 182.46 C 324.50 182.48 217.83 182.44 111.17 182.48 C 95.16 182.41 79.32 191.83 72.51 206.44 C 48.34 257.13 24.13 307.80 0.00 358.51 L 0.00 80.69 Z"/>
|
|
6
|
-
<path fill="#007bff" opacity="1.00"
|
|
7
|
-
d=" M 91.02 234.95 C 97.86 220.76 113.28 211.54 128.94 211.48 C 241.97 211.45 355.00 211.49 468.03 211.46 C 474.47 211.32 480.96 212.47 486.89 215.04 C 501.07 220.92 511.34 235.20 512.00 250.60 L 512.00 254.16 C 511.61 259.88 510.10 265.50 507.48 270.60 C 482.86 319.94 458.24 369.28 433.63 418.62 C 431.10 423.61 428.85 428.84 425.20 433.15 C 417.67 442.38 405.95 447.99 394.03 447.99 C 274.35 448.02 154.68 447.98 35.01 448.01 C 19.82 449.24 4.46 438.96 0.84 423.98 C 30.92 360.98 60.93 297.95 91.02 234.95 Z"/>
|
|
8
|
-
</g>
|
|
9
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tree{background:var(--color-panel);margin-top:20px}.tree-config{display:flex;gap:8px;justify-content:end;padding:8px}.tree-config__button{align-items:center;background-color:transparent;border:0;color:var(--color-toolbar-text);cursor:pointer;display:flex;height:20px;justify-content:center;opacity:.8;padding:0;width:20px}.tree-config__button:hover{opacity:.9}.tree-content{color:var(--color-text);font-size:.85rem;font-weight:400;line-height:1.5;padding:0 20px 20px;position:relative}.tree-content span{font-size:13px;letter-spacing:.4px}.tree-content ul{list-style:none;margin:0;padding-left:5px}.tree-content ul li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-bottom:5px;padding-left:15px;padding-top:5px;position:relative}.tree-content ul li:before{height:1px;margin:auto;top:15px;width:10px}.tree-content ul li:after,.tree-content ul li:before{background-color:#666;content:"";left:0;position:absolute}.tree-content ul li:after{bottom:0;height:100%;top:0;width:1px}.tree-content ul li:last-child:after{height:15px}.tree-content ul a{cursor:pointer}.category:not([data-id=root]){display:none}.category:not([data-id=root])._open{display:block}.category__title{color:var(--color-text-aside);cursor:pointer}.category__link,.category__title{align-items:center;display:flex;flex-shrink:0;text-decoration:none}a.category__link:hover,a.category__title:hover{text-decoration:underline}.category__title._open .category__folder{background:url(db90e4df2373980c497d.svg)}.category__folder{background:url(75c9471662e97ee24f29.svg);display:inline-block;flex-shrink:0;height:15px;margin-right:6px;width:15px}.category__link._active{color:inherit}.category__link--ts:before{background-image:url(26e93147f10415a0ed4a.svg);content:"";display:inline-block;flex-shrink:0;height:15px;margin:0 7px 2px 0;vertical-align:middle;width:15px}
|
package/docs/assets/hierarchy.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e={893:(e,t,s)=>{s.r(t)},393:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HierarchyManager=void 0;const a=s(98);t.HierarchyManager=class{constructor(){this.stateManager=new a.StateManager,this.titleSelector=".js-category-title",this.listSelector=".js-category-list"}init(){this.addListeners(),this.initSaved(),this.openCurrentPath()}openPathAndSave(e){this.openPath(e),this.stateManager.addOpenedPath(e)}openPath(e){const t=document.querySelector(`${this.listSelector}[data-id="${e}"]`);t&&(t.classList.add("_open"),t.parentNode?.querySelector(this.titleSelector)?.classList.add("_open"))}closePath(e){const t=document.querySelector(`${this.listSelector}[data-id="${e}"]`);t&&(t.classList.remove("_open"),t.parentNode?.querySelector(this.titleSelector)?.classList.remove("_open"),this.stateManager.removeOpenedPath(e))}closePathWithChildren(e){this.closePath(e);const t=document.querySelector(`${this.listSelector}[data-id="${e}"]`);if(!t)return;const s=t.querySelectorAll(this.listSelector);for(const e of s)this.closePath(e.dataset.id||"")}togglePath(e){const t=document.querySelector(`${this.listSelector}[data-id="${e}"]`);t&&(t.classList.contains("_open")?this.closePathWithChildren(e):this.openPathAndSave(e))}addListeners(){const e=document.querySelectorAll('.js-category-title:not([data-id="root"])');for(const t of e)t.addEventListener("click",(()=>{const e=t.dataset.id||"";this.togglePath(e)}));this.addExpandListener(),this.addCollapseListener(),this.addTargetListener()}addExpandListener(){document.querySelector(".js-tree-expand")?.addEventListener("click",(()=>{const e=document.querySelectorAll(this.listSelector);for(const t of e){const e=t.dataset.id||"";this.openPathAndSave(e)}}))}addCollapseListener(){document.querySelector(".js-tree-collapse")?.addEventListener("click",(()=>{const e=document.querySelectorAll(this.listSelector);for(const t of e){const e=t.dataset.id||"";this.closePath(e)}}))}addTargetListener(){document.querySelector(".js-tree-target")?.addEventListener("click",(()=>{this.openCurrentPath()?.scrollIntoView()}))}initSaved(){const e=this.stateManager.getOpenedPaths();for(const t of e)this.openPath(t)}openCurrentPath(){const e=window.location.pathname.split("/"),t=`/${e[e.length-2]||""}/${e[e.length-1]||""}`,s=document.querySelector(`.js-category-link[data-id="${t}"]`);if(!s)return null;s.classList.add("_active");let a=s.closest(this.listSelector);for(;a;){const e=a.dataset.id||"";this.openPath(e),a=a.parentNode.closest(this.listSelector)}return s}}},98:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StateManager=void 0;t.StateManager=class{constructor(){this.openedPathLsKey="opened-path-state",this.openedPaths=[];const e=localStorage.getItem("opened-path-state");this.openedPaths=e?JSON.parse(e):[]}addOpenedPath(e){this.openedPaths.push(e),this.updateState()}removeOpenedPath(e){this.openedPaths=this.openedPaths.filter((t=>t!==e)),this.updateState()}getOpenedPaths(){return this.openedPaths}updateState(){localStorage.setItem(this.openedPathLsKey,JSON.stringify(this.openedPaths))}}}},t={};function s(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,s),r.exports}s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};(()=>{s(893);(new(s(393).HierarchyManager)).init()})()})();
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #795E26;
|
|
3
|
-
--dark-hl-0: #DCDCAA;
|
|
4
|
-
--light-hl-1: #000000;
|
|
5
|
-
--dark-hl-1: #D4D4D4;
|
|
6
|
-
--light-hl-2: #A31515;
|
|
7
|
-
--dark-hl-2: #CE9178;
|
|
8
|
-
--light-hl-3: #AF00DB;
|
|
9
|
-
--dark-hl-3: #C586C0;
|
|
10
|
-
--light-hl-4: #001080;
|
|
11
|
-
--dark-hl-4: #9CDCFE;
|
|
12
|
-
--light-hl-5: #0000FF;
|
|
13
|
-
--dark-hl-5: #569CD6;
|
|
14
|
-
--light-hl-6: #0070C1;
|
|
15
|
-
--dark-hl-6: #4FC1FF;
|
|
16
|
-
--light-hl-7: #008000;
|
|
17
|
-
--dark-hl-7: #6A9955;
|
|
18
|
-
--light-hl-8: #098658;
|
|
19
|
-
--dark-hl-8: #B5CEA8;
|
|
20
|
-
--light-code-background: #FFFFFF;
|
|
21
|
-
--dark-code-background: #1E1E1E;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (prefers-color-scheme: light) { :root {
|
|
25
|
-
--hl-0: var(--light-hl-0);
|
|
26
|
-
--hl-1: var(--light-hl-1);
|
|
27
|
-
--hl-2: var(--light-hl-2);
|
|
28
|
-
--hl-3: var(--light-hl-3);
|
|
29
|
-
--hl-4: var(--light-hl-4);
|
|
30
|
-
--hl-5: var(--light-hl-5);
|
|
31
|
-
--hl-6: var(--light-hl-6);
|
|
32
|
-
--hl-7: var(--light-hl-7);
|
|
33
|
-
--hl-8: var(--light-hl-8);
|
|
34
|
-
--code-background: var(--light-code-background);
|
|
35
|
-
} }
|
|
36
|
-
|
|
37
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
38
|
-
--hl-0: var(--dark-hl-0);
|
|
39
|
-
--hl-1: var(--dark-hl-1);
|
|
40
|
-
--hl-2: var(--dark-hl-2);
|
|
41
|
-
--hl-3: var(--dark-hl-3);
|
|
42
|
-
--hl-4: var(--dark-hl-4);
|
|
43
|
-
--hl-5: var(--dark-hl-5);
|
|
44
|
-
--hl-6: var(--dark-hl-6);
|
|
45
|
-
--hl-7: var(--dark-hl-7);
|
|
46
|
-
--hl-8: var(--dark-hl-8);
|
|
47
|
-
--code-background: var(--dark-code-background);
|
|
48
|
-
} }
|
|
49
|
-
|
|
50
|
-
:root[data-theme='light'] {
|
|
51
|
-
--hl-0: var(--light-hl-0);
|
|
52
|
-
--hl-1: var(--light-hl-1);
|
|
53
|
-
--hl-2: var(--light-hl-2);
|
|
54
|
-
--hl-3: var(--light-hl-3);
|
|
55
|
-
--hl-4: var(--light-hl-4);
|
|
56
|
-
--hl-5: var(--light-hl-5);
|
|
57
|
-
--hl-6: var(--light-hl-6);
|
|
58
|
-
--hl-7: var(--light-hl-7);
|
|
59
|
-
--hl-8: var(--light-hl-8);
|
|
60
|
-
--code-background: var(--light-code-background);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:root[data-theme='dark'] {
|
|
64
|
-
--hl-0: var(--dark-hl-0);
|
|
65
|
-
--hl-1: var(--dark-hl-1);
|
|
66
|
-
--hl-2: var(--dark-hl-2);
|
|
67
|
-
--hl-3: var(--dark-hl-3);
|
|
68
|
-
--hl-4: var(--dark-hl-4);
|
|
69
|
-
--hl-5: var(--dark-hl-5);
|
|
70
|
-
--hl-6: var(--dark-hl-6);
|
|
71
|
-
--hl-7: var(--dark-hl-7);
|
|
72
|
-
--hl-8: var(--dark-hl-8);
|
|
73
|
-
--code-background: var(--dark-code-background);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.hl-0 { color: var(--hl-0); }
|
|
77
|
-
.hl-1 { color: var(--hl-1); }
|
|
78
|
-
.hl-2 { color: var(--hl-2); }
|
|
79
|
-
.hl-3 { color: var(--hl-3); }
|
|
80
|
-
.hl-4 { color: var(--hl-4); }
|
|
81
|
-
.hl-5 { color: var(--hl-5); }
|
|
82
|
-
.hl-6 { color: var(--hl-6); }
|
|
83
|
-
.hl-7 { color: var(--hl-7); }
|
|
84
|
-
.hl-8 { color: var(--hl-8); }
|
|
85
|
-
pre, code { background: var(--code-background); }
|
package/docs/assets/icons.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
(function(svg) {
|
|
2
|
-
svg.innerHTML = `<g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-checkbox"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g>`;
|
|
3
|
-
svg.style.display = 'none';
|
|
4
|
-
if (location.protocol === 'file:') {
|
|
5
|
-
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', updateUseElements);
|
|
6
|
-
else updateUseElements()
|
|
7
|
-
function updateUseElements() {
|
|
8
|
-
document.querySelectorAll('use').forEach(el => {
|
|
9
|
-
if (el.getAttribute('href').includes('#icon-')) {
|
|
10
|
-
el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#'));
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
})(document.body.appendChild(document.createElementNS('http://www.w3.org/2000/svg', 'svg')))
|
package/docs/assets/icons.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-checkbox"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g></svg>
|