Compare commits
No commits in common. "33aef5e2f7edf41537818f4b41e4ec3fdb52ef03" and "c9e7717130ea10fd709246eeddb04da550a1e485" have entirely different histories.
33aef5e2f7
...
c9e7717130
45
.vscode/settings.json
vendored
45
.vscode/settings.json
vendored
@ -1,21 +1,34 @@
|
||||
{
|
||||
"window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}${profileName}${separator}${appName}",
|
||||
"workbench.editor.labelFormat": "default",
|
||||
"workbench.editor.customLabels.enabled": true,
|
||||
"workbench.editor.customLabels.patterns": {
|
||||
"**/[[]...slug[]]/route.ts": "${dirname(1)}/slug/${filename}.${extname}",
|
||||
"**/route.ts": "Route: ${dirname(1)}",
|
||||
},
|
||||
"workbench.editor.labelFormat": "medium",
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/Thumbs.db": true,
|
||||
".**": true,
|
||||
"node_modules": true
|
||||
"**/.git": false,
|
||||
"**/.svn": false,
|
||||
"**/.hg": false,
|
||||
"**/CVS": false,
|
||||
"**/.DS_Store": false,
|
||||
"**/Thumbs.db": false,
|
||||
"**/.next": false,
|
||||
"**/.sqlite_queries": false,
|
||||
"**/node_modules": false,
|
||||
"**/.env.example": false,
|
||||
"**/.vscode": false,
|
||||
"**/.env**": false,
|
||||
"**/.gitignore": false,
|
||||
"**/.eslintrc.json": false,
|
||||
"**/next-env.d.ts": false,
|
||||
"**/package-lock.json": false,
|
||||
"**/package.json": false,
|
||||
"**/bucket": false
|
||||
},
|
||||
"betterOpenEditors.HidePackagePath": true,
|
||||
"betterOpenEditors.PackagePatterns": "**/components\n**/modules/\n**/app\n**/app/api\n**/app/admin\n**/models\n**/util/*\n**/util\n**/lib/*\n**/views"
|
||||
"exportall.config.folderListener": [
|
||||
"/src/util/api",
|
||||
"/src/util/cookies",
|
||||
"/src/util",
|
||||
"/src/util/textgen"
|
||||
],
|
||||
"exportall.config.relExclusion": [
|
||||
"/src/util/url",
|
||||
"/src/util/api"
|
||||
],
|
||||
}
|
||||
@ -16,7 +16,7 @@ import {
|
||||
addToExistingBucket,
|
||||
addToNewBucketForPost,
|
||||
writeFilesToFS,
|
||||
} from "@/app/lib/actions/entitymanagement/attachment/attachmentActions";
|
||||
} from "@/app/lib/actions/entityManagement/attachment/attachmentActions";
|
||||
import { Attributes } from "@sequelize/core";
|
||||
import { RequestCookie } from "next/dist/compiled/@edge-runtime/cookies";
|
||||
import { APIError, attemptAPIAction } from "@/util/api";
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
|
||||
import './sidebar.css'
|
||||
import React, { ReactNode } from 'react';
|
||||
import { Button, NavLink } from 'react-bootstrap';
|
||||
import React, { ReactNode, useState } from 'react';
|
||||
import Link from 'next/link';
|
||||
import { headers } from 'next/headers';
|
||||
|
||||
|
||||
export type SidebarEntry = {
|
||||
|
||||
@ -6,7 +6,7 @@ import PostTable, {
|
||||
import {
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { EditorState } from "@/components/client/admin/PostEditor";
|
||||
import { Project } from "@/models";
|
||||
import { ReactNode, useState } from "react";
|
||||
@ -8,11 +8,11 @@ import {
|
||||
updatePost,
|
||||
GetPostsAttributes,
|
||||
PostServerActions,
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entitymanagement/post/projectActions";
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||
import { handleActionResult } from "@/app/lib/actions/clientActionHandler";
|
||||
import { CPostView } from "@/components/views/admin/post";
|
||||
import { CPostView } from "@/views/admin/post";
|
||||
|
||||
type Props = {
|
||||
children?: ReactNode;
|
||||
0
src/views/index.ts
Normal file
0
src/views/index.ts
Normal file
Loading…
x
Reference in New Issue
Block a user