mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
added is_heroic
This commit is contained in:
parent
a1dbb6bdfa
commit
c49dbb344d
3 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
.blur {
|
.blur {
|
||||||
filter: blur(0);
|
filter: blur(0);
|
||||||
transition: filter 0.25s;
|
transition: filter 0.25s;
|
||||||
|
will-change: filter;
|
||||||
// max-height: 100vh;
|
// max-height: 100vh;
|
||||||
// width: 100vw;
|
// width: 100vw;
|
||||||
// overflow: visible auto;
|
// overflow: visible auto;
|
||||||
|
|
|
@ -12,6 +12,7 @@ import { AudioEditor } from '~/components/editors/AudioEditor';
|
||||||
import { EditorImageUploadButton } from '~/components/editors/EditorImageUploadButton';
|
import { EditorImageUploadButton } from '~/components/editors/EditorImageUploadButton';
|
||||||
import { EditorAudioUploadButton } from '~/components/editors/EditorAudioUploadButton';
|
import { EditorAudioUploadButton } from '~/components/editors/EditorAudioUploadButton';
|
||||||
import { EditorUploadCoverButton } from '~/components/editors/EditorUploadCoverButton';
|
import { EditorUploadCoverButton } from '~/components/editors/EditorUploadCoverButton';
|
||||||
|
import { Filler } from '~/components/containers/Filler';
|
||||||
|
|
||||||
const prefix = 'NODE.';
|
const prefix = 'NODE.';
|
||||||
export const NODE_ACTIONS = {
|
export const NODE_ACTIONS = {
|
||||||
|
@ -100,10 +101,15 @@ export const NODE_EDITORS = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const NODE_PANEL_COMPONENTS = {
|
export const NODE_PANEL_COMPONENTS = {
|
||||||
[NODE_TYPES.TEXT]: [EditorUploadCoverButton],
|
[NODE_TYPES.TEXT]: [Filler, EditorUploadCoverButton],
|
||||||
[NODE_TYPES.VIDEO]: [EditorUploadCoverButton],
|
[NODE_TYPES.VIDEO]: [Filler, EditorUploadCoverButton],
|
||||||
[NODE_TYPES.IMAGE]: [EditorImageUploadButton, EditorUploadCoverButton],
|
[NODE_TYPES.IMAGE]: [EditorImageUploadButton, Filler, EditorUploadCoverButton],
|
||||||
[NODE_TYPES.AUDIO]: [EditorAudioUploadButton, EditorImageUploadButton, EditorUploadCoverButton],
|
[NODE_TYPES.AUDIO]: [
|
||||||
|
EditorAudioUploadButton,
|
||||||
|
EditorImageUploadButton,
|
||||||
|
Filler,
|
||||||
|
EditorUploadCoverButton,
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const NODE_EDITOR_DATA: Record<
|
export const NODE_EDITOR_DATA: Record<
|
||||||
|
|
|
@ -120,6 +120,7 @@ export interface INode {
|
||||||
thumbnail?: string;
|
thumbnail?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
is_liked?: boolean;
|
is_liked?: boolean;
|
||||||
|
is_heroic?: boolean;
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
flow: {
|
flow: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue