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

@bynder/compact-view

Package Overview
Dependencies
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bynder/compact-view - npm Package Compare versions

Comparing version 1.5.0-beta.1 to 1.5.0-beta.2

224

index.d.ts
/// <reference types="react" />
export declare type assetType = "IMAGE" | "AUDIO" | "VIDEO" | "DOCUMENT";
export declare type Props = {
export declare type CompactView_Props = {
readonly assetTypes?: assetType[];

@@ -9,163 +9,89 @@ readonly defaultSearchTerm?: string;

readonly onAddMedia: (_1: Array<{
tag: "Audio";
value: {
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly name: string;
};
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
};
readonly id: string;
};
} | {
tag: "Document";
value: {
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
};
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly id: string;
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
};
} | {
tag: "Image";
value: {
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly name: string;
};
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly id: string;
}>) => unknown;
readonly showCollections?: boolean;
readonly children?: unknown;
};
export declare const CompactView: React.ComponentClass<CompactView_Props>;
export default CompactView;
export declare type CompactViewWithLogin_Props = {
readonly assetTypes?: assetType[];
readonly defaultSearchTerm?: string;
readonly language: string;
readonly mode?: "MultiSelect" | "SingleSelect";
readonly onAddMedia: (_1: Array<{
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
};
readonly id: string;
};
} | {
tag: "Video";
value: {
readonly asset: {
readonly assetType: "AUDIO" | "DOCUMENT" | "IMAGE" | "VIDEO";
readonly brandId?: string;
readonly copyright?: string;
readonly createdAt: string;
readonly createdBy?: {
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
};
readonly derivatives: {
readonly custom: Array<{
readonly name: string;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
readonly url: string;
}>;
readonly mini?: string;
readonly thumbnail?: string;
readonly webImage?: string;
};
readonly id: string;
readonly previewUrls: string[];
readonly description?: string;
readonly extensions: string[];
readonly fileSize: number;
readonly height: number;
readonly isArchived: boolean;
readonly isLimitedUse: boolean;
readonly isPublic: boolean;
readonly isWatermarked: boolean;
readonly name: string;
readonly orientation: "LANDSCAPE" | "PORTRAIT" | "SQUARE";
readonly originalUrl?: string;
readonly publishedAt?: string;
readonly tags: string[];
readonly updatedAt?: string;
readonly url: string;
readonly width: number;
};
readonly id: string;
}>) => unknown;
readonly showCollections?: boolean;
readonly onClose?: (_1: void) => void;
readonly children?: unknown;
};
export declare const CompactView: React.ComponentClass<Props>;
export default CompactView;
export declare const CompactViewWithLogin: React.ComponentClass<CompactViewWithLogin_Props>;
{
"name": "@bynder/compact-view",
"description": "Bynder Compact View",
"version": "1.5.0-beta.1",
"version": "1.5.0-beta.2",
"author": "Bynder",
"license": "UNLICENSED",
"main": "index.js",
"files": [
"index.js",
"index.d.ts"
],
"files": ["index.js", "index.d.ts"],
"dependencies": {},

@@ -13,0 +10,0 @@ "peerDependencies": {

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

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