Socket
Socket
Sign inDemoInstall

@cozy-blog/svelte-notion-page

Package Overview
Dependencies
33
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.21 to 0.0.22

4

default-notion-components/Audio.svelte.d.ts
import { SvelteComponentTyped } from "svelte";
import type { AudioProps } from '../types';
import type { AudioArgs } from '../types';
declare const __propDef: {
props: {
props: AudioProps;
props: AudioArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { EquationProps } from '../../../../types';
import type { EquationArgs } from '../../../../types';
declare const __propDef: {
props: {
props: EquationProps;
props: EquationArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { TextProps } from '../../../../types';
import type { TextArgs } from '../../../../types';
declare const __propDef: {
props: {
props: TextProps;
props: TextArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { TextProps } from '../../../types';
import type { TextArgs } from '../../../types';
declare const __propDef: {
props: {
props: TextProps[];
props: TextArgs[];
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { BookmarkProps } from '../types';
import type { BookmarkArgs } from '../types';
declare const __propDef: {
props: {
props: BookmarkProps;
props: BookmarkArgs;
getMeta?: ((url: string) => Promise<{

@@ -7,0 +7,0 @@ title?: string | undefined;

import { SvelteComponentTyped } from "svelte";
import type { BulletedListItemProps } from '../types';
import type { BulletedListItemArgs } from '../types';
declare const __propDef: {
props: {
props: BulletedListItemProps;
props: BulletedListItemArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { CalloutProps } from '../types';
import type { CalloutArgs } from '../types';
declare const __propDef: {
props: {
props: CalloutProps;
props: CalloutArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { CodeProps } from '../../types';
import type { CodeArgs } from '../../types';
import 'prismjs/themes/prism.css';
declare const __propDef: {
props: {
props: CodeProps;
props: CodeArgs;
};

@@ -8,0 +8,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { ColumnListProps } from '../types';
import type { ColumnListArgs } from '../types';
declare const __propDef: {
props: {
props: ColumnListProps;
props: ColumnListArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { EquationProps } from '../types';
import type { EquationArgs } from '../types';
declare const __propDef: {
props: {
props: EquationProps;
props: EquationArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { Heading_1_Props } from '../types';
import type { Heading_1_Args } from '../types';
declare const __propDef: {
props: {
props: Heading_1_Props;
props: Heading_1_Args;
id?: string | undefined;

@@ -7,0 +7,0 @@ };

import { SvelteComponentTyped } from "svelte";
import type { Heading_2_Props } from '../types';
import type { Heading_2_Args } from '../types';
declare const __propDef: {
props: {
props: Heading_2_Props;
props: Heading_2_Args;
id?: string | undefined;

@@ -7,0 +7,0 @@ };

import { SvelteComponentTyped } from "svelte";
import type { Heading_3_Props } from '../types';
import type { Heading_3_Args } from '../types';
declare const __propDef: {
props: {
props: Heading_3_Props;
props: Heading_3_Args;
id?: string | undefined;

@@ -7,0 +7,0 @@ };

import { SvelteComponentTyped } from "svelte";
import type { ImageProps } from '../../types';
import type { ImageArgs } from '../../types';
declare const __propDef: {
props: {
props: ImageProps;
props: ImageArgs;
convertUrl?: ((url: string) => string) | undefined;

@@ -7,0 +7,0 @@ };

import { SvelteComponentTyped } from "svelte";
import type { NumberedListItemProps } from '../types';
import type { NumberedListItemArgs } from '../types';
declare const __propDef: {
props: {
props: NumberedListItemProps;
props: NumberedListItemArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { ParagraphProps } from '../types';
import type { ParagraphArgs } from '../types';
declare const __propDef: {
props: {
props: ParagraphProps;
props: ParagraphArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { QuoteProps } from '../types';
import type { QuoteArgs } from '../types';
declare const __propDef: {
props: {
props: QuoteProps;
props: QuoteArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { SyncedBlockProps } from '../types';
import type { SyncedBlockArgs } from '../types';
declare const __propDef: {
props: {
props: SyncedBlockProps;
props: SyncedBlockArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { TableProps } from '../types';
import type { TableArgs } from '../types';
declare const __propDef: {
props: {
props: TableProps;
props: TableArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { TableRowProps } from '../types';
import type { TableRowArgs } from '../types';
declare const __propDef: {
props: {
props: TableRowProps;
props: TableRowArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { TodoProps } from '../types';
import type { TodoArgs } from '../types';
declare const __propDef: {
props: {
props: TodoProps;
props: TodoArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { ToggleProps } from '../types';
import type { ToggleArgs } from '../types';
declare const __propDef: {
props: {
props: ToggleProps;
props: ToggleArgs;
};

@@ -7,0 +7,0 @@ events: {

import { SvelteComponentTyped } from "svelte";
import type { VideoProps } from '../types';
import type { VideoArgs } from '../types';
declare const __propDef: {
props: {
props: VideoProps;
props: VideoArgs;
};

@@ -7,0 +7,0 @@ events: {

{
"name": "@cozy-blog/svelte-notion-page",
"version": "0.0.21",
"version": "0.0.22",
"devDependencies": {

@@ -5,0 +5,0 @@ "@notionhq/client": "^2.2.3",

@@ -21,3 +21,3 @@ import type { GetPageResponse, BlockObjectResponse, PageObjectResponse } from '@notionhq/client/build/src/api-endpoints';

};
export type TextProps = {
export type TextArgs = {
type: 'text';

@@ -41,9 +41,9 @@ text: {

};
export type ParagraphProps = {
export type ParagraphArgs = {
paragraph: {
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type EquationProps = {
export type EquationArgs = {
type: 'equation';

@@ -55,3 +55,3 @@ inline?: boolean;

};
export type CodeProps = {
export type CodeArgs = {
type: 'code';

@@ -61,43 +61,43 @@ code: {

language: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type Heading_1_Props = {
export type Heading_1_Args = {
type: 'heading_1';
heading_1: HeadingProps;
heading_1: HeadingArgs;
} & ContextedBlock;
export type Heading_2_Props = {
export type Heading_2_Args = {
type: 'heading_2';
heading_2: HeadingProps;
heading_2: HeadingArgs;
} & ContextedBlock;
export type Heading_3_Props = {
export type Heading_3_Args = {
type: 'heading_3';
heading_3: HeadingProps;
heading_3: HeadingArgs;
} & ContextedBlock;
export type HeadingProps = {
export type HeadingArgs = {
is_toggleable: boolean;
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
export type ColumnListProps = {
export type ColumnListArgs = {
type: 'column_list';
} & Block;
export type ColumnProps = {
export type ColumnArgs = {
type: 'column';
} & Block;
export type BulletedListItemProps = {
export type BulletedListItemArgs = {
type: 'bulleted_list_item';
bulleted_list_item: {
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type NumberedListItemProps = {
export type NumberedListItemArgs = {
type: 'numbered_list_item';
numbered_list_item: {
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type TodoProps = {
export type TodoArgs = {
type: 'to_do';

@@ -107,20 +107,20 @@ to_do: {

checked: boolean;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type ToggleProps = {
export type ToggleArgs = {
type: 'toggle';
toggle: {
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type QuoteProps = {
export type QuoteArgs = {
type: 'quote';
quote: {
color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type CalloutProps = {
export type CalloutArgs = {
type: 'callout';

@@ -139,9 +139,9 @@ callout: {

color: string;
rich_text: TextProps[];
rich_text: TextArgs[];
};
} & ContextedBlock;
export type ImageProps = {
export type ImageArgs = {
type: 'image';
image: {
caption: TextProps[];
caption: TextArgs[];
type: 'file';

@@ -152,3 +152,3 @@ file: {

} | {
caption: TextProps[];
caption: TextArgs[];
type: 'external';

@@ -160,6 +160,6 @@ external?: {

} & ContextedBlock;
export type VideoProps = {
export type VideoArgs = {
type: 'video';
video: {
caption: TextProps[];
caption: TextArgs[];
type: 'external' | 'file';

@@ -174,10 +174,10 @@ file?: {

} & ContextedBlock;
export type DividerProps = {
export type DividerArgs = {
type: 'divider';
divider: {};
} & ContextedBlock;
export type AudioProps = {
export type AudioArgs = {
type: 'audio';
audio: {
caption: TextProps[];
caption: TextArgs[];
type: 'external' | 'file';

@@ -192,3 +192,3 @@ file?: {

} & ContextedBlock;
export type TableProps = {
export type TableArgs = {
table: {

@@ -200,16 +200,16 @@ table_width: number;

} & ContextedBlock;
export type TableRowProps = {
export type TableRowArgs = {
table_row: {
cells: TextProps[][];
cells: TextArgs[][];
};
};
export type BookmarkProps = {
export type BookmarkArgs = {
type: 'bookmark';
bookmark: {
caption: TextProps[];
caption: TextArgs[];
url: string;
};
} & ContextedBlock;
export type SyncedBlockProps = {
export type SyncedBlockArgs = {
type: 'synced_block';
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc