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

@mintlify/models

Package Overview
Dependencies
Maintainers
9
Versions
280
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.281
to
0.0.282
+12
dist/types/chat-attachment.d.ts
export declare const IMAGE_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/svg+xml"];
export declare const DOCUMENT_MIME_TYPES: readonly ["application/pdf"];
export declare const SUPPORTED_ATTACHMENT_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/svg+xml", "application/pdf"];
export type SupportedAttachmentMimeType = (typeof SUPPORTED_ATTACHMENT_MIME_TYPES)[number];
export declare const SUPPORTED_CODE_EXTENSIONS: readonly ["js", "jsx", "ts", "tsx", "mjs", "cjs", "md", "mdx", "json", "html", "css", "py", "csv", "txt", "yaml", "yml", "xml", "sql", "sh", "bash", "graphql", "gql", "toml", "env", "go", "rs", "rb", "java", "kt", "swift", "c", "cpp", "h", "hpp", "cs", "php", "lua", "r", "scala"];
export type SupportedCodeExtension = (typeof SUPPORTED_CODE_EXTENSIONS)[number];
export declare const IMAGE_EXTENSIONS: readonly ["jpg", "jpeg", "png", "gif", "webp", "svg"];
export declare const DOCUMENT_EXTENSIONS: readonly ["pdf"];
export declare const SUPPORTED_ATTACHMENT_EXTENSIONS: readonly ["js", "jsx", "ts", "tsx", "mjs", "cjs", "md", "mdx", "json", "html", "css", "py", "csv", "txt", "yaml", "yml", "xml", "sql", "sh", "bash", "graphql", "gql", "toml", "env", "go", "rs", "rb", "java", "kt", "swift", "c", "cpp", "h", "hpp", "cs", "php", "lua", "r", "scala", "jpg", "jpeg", "png", "gif", "webp", "svg", "pdf"];
export type SupportedAttachmentExtension = (typeof SUPPORTED_ATTACHMENT_EXTENSIONS)[number];
export declare const MAX_ATTACHMENT_SIZE_BYTES: number;
export declare const MAX_ATTACHMENTS_PER_MESSAGE = 10;
export const IMAGE_MIME_TYPES = [
'image/jpeg',
'image/png',
'image/gif',
'image/webp',
'image/svg+xml',
];
export const DOCUMENT_MIME_TYPES = ['application/pdf'];
export const SUPPORTED_ATTACHMENT_MIME_TYPES = [
...IMAGE_MIME_TYPES,
...DOCUMENT_MIME_TYPES,
];
export const SUPPORTED_CODE_EXTENSIONS = [
'js',
'jsx',
'ts',
'tsx',
'mjs',
'cjs',
'md',
'mdx',
'json',
'html',
'css',
'py',
'csv',
'txt',
'yaml',
'yml',
'xml',
'sql',
'sh',
'bash',
'graphql',
'gql',
'toml',
'env',
'go',
'rs',
'rb',
'java',
'kt',
'swift',
'c',
'cpp',
'h',
'hpp',
'cs',
'php',
'lua',
'r',
'scala',
];
export const IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'svg'];
export const DOCUMENT_EXTENSIONS = ['pdf'];
export const SUPPORTED_ATTACHMENT_EXTENSIONS = [
...SUPPORTED_CODE_EXTENSIONS,
...IMAGE_EXTENSIONS,
...DOCUMENT_EXTENSIONS,
];
export const MAX_ATTACHMENT_SIZE_BYTES = 5 * 1024 * 1024;
export const MAX_ATTACHMENTS_PER_MESSAGE = 10;
+3
-2

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

import { Role, roles, roleIsMintlifyRole } from './authorization/role.js';
import { SUPPORTED_ATTACHMENT_MIME_TYPES, SupportedAttachmentMimeType, SUPPORTED_CODE_EXTENSIONS, IMAGE_EXTENSIONS, DOCUMENT_EXTENSIONS, IMAGE_MIME_TYPES, DOCUMENT_MIME_TYPES, SupportedCodeExtension, SUPPORTED_ATTACHMENT_EXTENSIONS, SupportedAttachmentExtension, MAX_ATTACHMENT_SIZE_BYTES, MAX_ATTACHMENTS_PER_MESSAGE } from './chat-attachment.js';
import { ConfigType, configTypes } from './configType.js';

@@ -30,3 +31,3 @@ import { PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric } from './dashboardAnalytics.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, SlackInstallationType, 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, };
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, SlackInstallationType, StarterQuestionType, Translation, CodeSnippetFeedbackSubmission, ContextualFeedbackSubmission, ThumbsOnlyFeedbackSubmission, CodeSnippetFeedback, ContextualFeedback, ThumbsOnlyFeedback, UserFeedback, UserFeedbackData, FeedbackSource, FeedbackState, PageType, SupportedAttachmentMimeType, SupportedCodeExtension, SupportedAttachmentExtension, 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, SUPPORTED_ATTACHMENT_MIME_TYPES, SUPPORTED_CODE_EXTENSIONS, SUPPORTED_ATTACHMENT_EXTENSIONS, MAX_ATTACHMENT_SIZE_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, IMAGE_EXTENSIONS, DOCUMENT_EXTENSIONS, IMAGE_MIME_TYPES, DOCUMENT_MIME_TYPES, };
+2
-1

@@ -5,2 +5,3 @@ import { apiPlaygroundDisplayTypes, } from './apiPlaygroundDisplayType.js';

import { roles, roleIsMintlifyRole } from './authorization/role.js';
import { SUPPORTED_ATTACHMENT_MIME_TYPES, SUPPORTED_CODE_EXTENSIONS, IMAGE_EXTENSIONS, DOCUMENT_EXTENSIONS, IMAGE_MIME_TYPES, DOCUMENT_MIME_TYPES, SUPPORTED_ATTACHMENT_EXTENSIONS, MAX_ATTACHMENT_SIZE_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, } from './chat-attachment.js';
import { configTypes } from './configType.js';

@@ -14,2 +15,2 @@ import { exportFormats, } from './exportPdfHistory.js';

// Authorization constants and functions
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, };
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, SUPPORTED_ATTACHMENT_MIME_TYPES, SUPPORTED_CODE_EXTENSIONS, SUPPORTED_ATTACHMENT_EXTENSIONS, MAX_ATTACHMENT_SIZE_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, IMAGE_EXTENSIONS, DOCUMENT_EXTENSIONS, IMAGE_MIME_TYPES, DOCUMENT_MIME_TYPES, };
{
"name": "@mintlify/models",
"version": "0.0.281",
"version": "0.0.282",
"description": "Mintlify models",

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

},
"gitHead": "1698f4aef60e8d7527db89f9bf02a0049a2d7644"
"gitHead": "93858f1512db840944012e74ddca78de55635d6d"
}

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