Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@mintlify/models

Package Overview
Dependencies
Maintainers
9
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlify/models - npm Package Compare versions

Comparing version
0.0.267
to
0.0.268
+11
-3
dist/types/feedback.d.ts

@@ -1,2 +0,2 @@

export declare const feedbackSources: readonly ["code_snippet", "contextual"];
export declare const feedbackSources: readonly ["code_snippet", "contextual", "thumbs_only"];
export declare const feedbackStates: readonly ["pending", "in_progress", "resolved", "dismissed"];

@@ -41,2 +41,7 @@ export declare const reviewStatuses: readonly ["abuse"];

};
export type ThumbsOnlyFeedbackSubmission = {
path: string;
helpful: boolean;
flag?: FeedbackFlag | null;
};
export type CodeSnippetFeedback = BaseFeedback<'code_snippet'> & {

@@ -48,3 +53,6 @@ data: CodeSnippetFeedbackSubmission;

};
export type UserFeedbackData = CodeSnippetFeedbackSubmission | ContextualFeedbackSubmission;
export type UserFeedback = CodeSnippetFeedback | ContextualFeedback;
export type ThumbsOnlyFeedback = BaseFeedback<'thumbs_only'> & {
data: ThumbsOnlyFeedbackSubmission;
};
export type UserFeedbackData = CodeSnippetFeedbackSubmission | ContextualFeedbackSubmission | ThumbsOnlyFeedbackSubmission;
export type UserFeedback = CodeSnippetFeedback | ContextualFeedback | ThumbsOnlyFeedback;

@@ -1,3 +0,3 @@

export const feedbackSources = ['code_snippet', 'contextual'];
export const feedbackSources = ['code_snippet', 'contextual', 'thumbs_only'];
export const feedbackStates = ['pending', 'in_progress', 'resolved', 'dismissed'];
export const reviewStatuses = ['abuse'];

@@ -13,3 +13,3 @@ import { ApiPlaygroundDisplayType, apiPlaygroundDisplayTypes, ResolvedApiPlaygroundDisplayType } from './apiPlaygroundDisplayType.js';

import { ExportPdfHistory, ExportFormat, ExportOptions, exportFormats } from './exportPdfHistory.js';
import { CodeSnippetFeedback, ContextualFeedback, CodeSnippetFeedbackSubmission, ContextualFeedbackSubmission, UserFeedback, FeedbackSource, FeedbackState, feedbackSources, feedbackStates, UserFeedbackData } from './feedback.js';
import { CodeSnippetFeedback, ContextualFeedback, ThumbsOnlyFeedback, CodeSnippetFeedbackSubmission, ContextualFeedbackSubmission, ThumbsOnlyFeedbackSubmission, UserFeedback, FeedbackSource, FeedbackState, feedbackSources, feedbackStates, UserFeedbackData } from './feedback.js';
import { GitBranchesResponse } from './git.js';

@@ -29,3 +29,3 @@ import { GithubInstallationType } from './githubInstallationType.js';

import { UserMetadata, UserWithMetadata } from './userMetadata.js';
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, ApiPlaygroundDisplayType, ResolvedApiPlaygroundDisplayType, TierId, TierConfig, EditContext, GitBranchesResponse, GithubInstallationType, GitlabInstallationType, DiscordInstallationType, GrowthDataType, InkeepType, OpenApiFile, OpenApiMetadata, PageMetaTags, UsageType, UserMetadata, UserWithMetadata, PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric, ConfigType, EntitlementConfiguration, ExportPdfHistory, ExportFormat, ExportOptions, QueueUpdateStatus, StarterQuestionType, Translation, CodeSnippetFeedbackSubmission, ContextualFeedbackSubmission, CodeSnippetFeedback, ContextualFeedback, UserFeedback, UserFeedbackData, FeedbackSource, FeedbackState, PageType, Role, OrgResource, UserResource, DeploymentResource, Resource, Action, Permission, };
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, ApiPlaygroundDisplayType, ResolvedApiPlaygroundDisplayType, TierId, TierConfig, EditContext, GitBranchesResponse, GithubInstallationType, GitlabInstallationType, DiscordInstallationType, GrowthDataType, InkeepType, OpenApiFile, OpenApiMetadata, PageMetaTags, UsageType, UserMetadata, UserWithMetadata, PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric, ConfigType, EntitlementConfiguration, ExportPdfHistory, ExportFormat, ExportOptions, QueueUpdateStatus, StarterQuestionType, Translation, CodeSnippetFeedbackSubmission, ContextualFeedbackSubmission, ThumbsOnlyFeedbackSubmission, CodeSnippetFeedback, ContextualFeedback, ThumbsOnlyFeedback, UserFeedback, UserFeedbackData, FeedbackSource, FeedbackState, PageType, Role, OrgResource, UserResource, DeploymentResource, Resource, Action, Permission, };
export { apiPlaygroundDisplayTypes, configTypes, queueUpdateStatuses, exportFormats, feedbackSources, feedbackStates, roles, roleIsMintlifyRole, ACTIONS, ORG_RESOURCES, USER_RESOURCES, DEPLOYMENT_RESOURCES, ALL_RESOURCES, ALL_PERMISSIONS, ROLE_PERMISSIONS, validResourceSet, validActionSet, validPermissionSet, isValidPermission, NATIVE_METADATA_TAG_KEYS_SET, TierIds, ASSISTANT_TIERS, ASSISTANT_TIER_OVERAGE_PRICE_PER_CREDIT, };
{
"name": "@mintlify/models",
"version": "0.0.267",
"version": "0.0.268",
"description": "Mintlify models",

@@ -57,3 +57,3 @@ "engines": {

},
"gitHead": "854fdc0eb8d8500777c1daaa9bc21541e70b5bac"
"gitHead": "ed10a99179508004ae0528eaabf86b72fd20d5a1"
}

Sorry, the diff of this file is too big to display