Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@giscus/vue

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giscus/vue - npm Package Compare versions

Comparing version 1.1.0-beta.2 to 1.1.0-beta.3

45

dist/index.d.ts
/// <reference types="react" />
export declare type GiscusProps = Giscus;
export declare type Giscus = {
repo: Repo;
repoId: string;
category?: string;
categoryId?: string;
mapping: Mapping;
term?: string;
theme?: Theme;
reactionsEnabled?: BooleanString;
emitMetadata?: BooleanString;
inputPosition?: InputPosition;
lang?: Lang;
};
export declare type BooleanString = "0" | "1";
export declare type InputPosition = "top" | "bottom";
export declare type Session = {
session: string;
};
export declare type Repo = `${string}/${string}`;
export declare type Mapping = "url" | "title" | "og:title" | "specific" | "number" | "pathname";
export declare type GenericString = string & Record<never, never>;
export declare type Theme = "light" | "light_high_contrast" | "light_protanopia" | "dark" | "dark_high_contrast" | "dark_protanopia" | "dark_dimmed" | "transparent_dark" | "preferred_color_scheme" | `https://${string}` | GenericString;
export declare type Lang = "de" | "gsw" | "en" | "es" | "fr" | "id" | "it" | "ja" | "ko" | "pl" | "ro" | "ru" | "vi" | "zh-CN" | "zh-TW" | GenericString;
export declare const Giscus: import("vue").DefineComponent<{

@@ -23,3 +44,3 @@ repo: {

lang: {
type: PropType<((string & Record<never, never>) | "de" | "gsw" | "en" | "es" | "fr" | "id" | "it" | "ja" | "ko" | "pl" | "ro" | "ru" | "vi" | "zh-CN" | "zh-TW") | undefined>;
type: PropType<import("@shared/types").Lang | undefined>;
default: string;

@@ -32,11 +53,11 @@ };

reactionsEnabled: {
type: PropType<("0" | "1") | undefined>;
type: PropType<import("@shared/types").BooleanString | undefined>;
default: string;
};
emitMetadata: {
type: PropType<("0" | "1") | undefined>;
type: PropType<import("@shared/types").BooleanString | undefined>;
default: string;
};
inputPosition: {
type: PropType<("top" | "bottom") | undefined>;
type: PropType<import("@shared/types").InputPosition | undefined>;
default: string;

@@ -61,6 +82,6 @@ };

theme: import("@shared/types").Theme | undefined;
reactionsEnabled: ("0" | "1") | undefined;
emitMetadata: ("0" | "1") | undefined;
inputPosition: ("top" | "bottom") | undefined;
lang: ((string & Record<never, never>) | "de" | "gsw" | "en" | "es" | "fr" | "id" | "it" | "ja" | "ko" | "pl" | "ro" | "ru" | "vi" | "zh-CN" | "zh-TW") | undefined;
reactionsEnabled: import("@shared/types").BooleanString | undefined;
emitMetadata: import("@shared/types").BooleanString | undefined;
inputPosition: import("@shared/types").InputPosition | undefined;
lang: import("@shared/types").Lang | undefined;
} & {

@@ -72,6 +93,6 @@ category?: string | undefined;

theme: import("@shared/types").Theme | undefined;
reactionsEnabled: ("0" | "1") | undefined;
emitMetadata: ("0" | "1") | undefined;
inputPosition: ("top" | "bottom") | undefined;
lang: ((string & Record<never, never>) | "de" | "gsw" | "en" | "es" | "fr" | "id" | "it" | "ja" | "ko" | "pl" | "ro" | "ru" | "vi" | "zh-CN" | "zh-TW") | undefined;
reactionsEnabled: import("@shared/types").BooleanString | undefined;
emitMetadata: import("@shared/types").BooleanString | undefined;
inputPosition: import("@shared/types").InputPosition | undefined;
lang: import("@shared/types").Lang | undefined;
}>;

@@ -78,0 +99,0 @@ export declare const plugin: Plugin;

@@ -5,3 +5,3 @@ {

"description": "Type-safe Vue component for giscus",
"version": "1.1.0-beta.2",
"version": "1.1.0-beta.3",
"license": "MIT",

@@ -8,0 +8,0 @@ "main": "dist/index.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc