reafactor: directory structure

old-stable24
Varun Patil 2022-10-14 14:45:23 -07:00
parent 01fda17f19
commit 8ae1ed1e4f
14 changed files with 40 additions and 40 deletions

View File

@ -87,7 +87,7 @@ import { IHeadRow, IPhoto } from '../types';
import { generateUrl } from '@nextcloud/router'
import { NcActions, NcActionButton } from '@nextcloud/vue';
import EditDate from "./EditDate.vue"
import EditDate from "./modal/EditDate.vue"
import Star from 'vue-material-design-icons/Star.vue';
import Download from 'vue-material-design-icons/Download.vue';

View File

@ -126,10 +126,10 @@ import moment from 'moment';
import * as dav from "../services/DavRequests";
import * as utils from "../services/Utils";
import axios from '@nextcloud/axios'
import Folder from "./Folder.vue";
import Tag from "./Tag.vue";
import Photo from "./Photo.vue";
import TopMatter from "./TopMatter.vue";
import Folder from "./frame/Folder.vue";
import Tag from "./frame/Tag.vue";
import Photo from "./frame/Photo.vue";
import TopMatter from "./top-matter/TopMatter.vue";
import SelectionManager from './SelectionManager.vue';
import UserConfig from "../mixins/UserConfig";

View File

@ -32,11 +32,11 @@
<script lang="ts">
import { Component, Prop, Watch, Mixins } from 'vue-property-decorator';
import { IFileInfo, IFolder } from '../types';
import GlobalMixin from '../mixins/GlobalMixin';
import { IFileInfo, IFolder } from '../../types';
import GlobalMixin from '../../mixins/GlobalMixin';
import * as dav from "../services/DavRequests";
import { getPreviewUrl } from "../services/FileUtils";
import * as dav from "../../services/DavRequests";
import { getPreviewUrl } from "../../services/FileUtils";
import FolderIcon from 'vue-material-design-icons/Folder.vue';

View File

@ -37,14 +37,14 @@
<script lang="ts">
import { Component, Prop, Emit, Mixins } from 'vue-property-decorator';
import { IDay, IPhoto } from "../types";
import { IDay, IPhoto } from "../../types";
import { subscribe, unsubscribe } from '@nextcloud/event-bus';
import { showError } from '@nextcloud/dialogs'
import { getPreviewUrl } from "../services/FileUtils";
import * as dav from "../services/DavRequests";
import errorsvg from "../assets/error.svg";
import GlobalMixin from '../mixins/GlobalMixin';
import { getPreviewUrl } from "../../services/FileUtils";
import * as dav from "../../services/DavRequests";
import errorsvg from "../../assets/error.svg";
import GlobalMixin from '../../mixins/GlobalMixin';
import Check from 'vue-material-design-icons/Check.vue';
import Video from 'vue-material-design-icons/Video.vue';

View File

@ -33,14 +33,14 @@
<script lang="ts">
import { Component, Prop, Watch, Mixins, Emit } from 'vue-property-decorator';
import { IPhoto, ITag } from '../types';
import { IPhoto, ITag } from '../../types';
import { generateUrl } from '@nextcloud/router'
import { getPreviewUrl } from "../services/FileUtils";
import { getPreviewUrl } from "../../services/FileUtils";
import { NcCounterBubble } from '@nextcloud/vue'
import GlobalMixin from '../mixins/GlobalMixin';
import { constants } from '../services/Utils';
import GlobalMixin from '../../mixins/GlobalMixin';
import { constants } from '../../services/Utils';
interface IFaceDetection extends IPhoto {
x: number;

View File

@ -101,16 +101,16 @@
<script lang="ts">
import { Component, Emit, Mixins } from 'vue-property-decorator';
import GlobalMixin from '../mixins/GlobalMixin';
import { IPhoto } from '../types';
import GlobalMixin from '../../mixins/GlobalMixin';
import { IPhoto } from '../../types';
import { NcButton, NcTextField } from '@nextcloud/vue';
import { showError } from '@nextcloud/dialogs'
import { generateUrl } from '@nextcloud/router'
import Modal from './Modal.vue';
import axios from '@nextcloud/axios'
import * as utils from '../services/Utils';
import * as dav from "../services/DavRequests";
import * as utils from '../../services/Utils';
import * as dav from "../../services/DavRequests";
const INFO_API_URL = '/apps/memories/api/info/{id}';
const EDIT_API_URL = '/apps/memories/api/edit/{id}';

View File

@ -19,8 +19,8 @@ import { Component, Emit, Mixins, Watch } from 'vue-property-decorator';
import { NcButton, NcTextField } from '@nextcloud/vue';
import { showError } from '@nextcloud/dialogs'
import Modal from './Modal.vue';
import GlobalMixin from '../mixins/GlobalMixin';
import client from '../services/DavClient';
import GlobalMixin from '../../mixins/GlobalMixin';
import client from '../../services/DavClient';
@Component({
components: {

View File

@ -25,8 +25,8 @@ import { Component, Emit, Mixins, Watch } from 'vue-property-decorator';
import { NcButton, NcTextField } from '@nextcloud/vue';
import { showError } from '@nextcloud/dialogs'
import Modal from './Modal.vue';
import GlobalMixin from '../mixins/GlobalMixin';
import client from '../services/DavClient';
import GlobalMixin from '../../mixins/GlobalMixin';
import client from '../../services/DavClient';
@Component({
components: {

View File

@ -29,13 +29,13 @@
import { Component, Emit, Mixins, Watch } from 'vue-property-decorator';
import { NcButton, NcTextField } from '@nextcloud/vue';
import { showError } from '@nextcloud/dialogs'
import { IFileInfo, IPhoto, ITag } from '../types';
import Tag from './Tag.vue';
import { IFileInfo, IPhoto, ITag } from '../../types';
import Tag from '../frame/Tag.vue';
import Modal from './Modal.vue';
import GlobalMixin from '../mixins/GlobalMixin';
import * as dav from '../services/DavRequests';
import client from '../services/DavClient';
import GlobalMixin from '../../mixins/GlobalMixin';
import client from '../../services/DavClient';
import * as dav from '../../services/DavRequests';
@Component({
components: {

View File

@ -34,12 +34,12 @@
<script lang="ts">
import { Component, Mixins, Watch } from 'vue-property-decorator';
import GlobalMixin from '../mixins/GlobalMixin';
import GlobalMixin from '../../mixins/GlobalMixin';
import { NcActions, NcActionButton } from '@nextcloud/vue';
import FaceEditModal from './FaceEditModal.vue';
import FaceDeleteModal from './FaceDeleteModal.vue';
import FaceMergeModal from './FaceMergeModal.vue';
import FaceEditModal from '../modal/FaceEditModal.vue';
import FaceDeleteModal from '../modal/FaceDeleteModal.vue';
import FaceMergeModal from '../modal/FaceMergeModal.vue';
import BackIcon from 'vue-material-design-icons/ArrowLeft.vue';
import EditIcon from 'vue-material-design-icons/Pencil.vue';
import DeleteIcon from 'vue-material-design-icons/Close.vue';

View File

@ -12,9 +12,9 @@
<script lang="ts">
import { Component, Mixins, Watch } from 'vue-property-decorator';
import { TopMatterFolder, TopMatterType } from "../types";
import { TopMatterFolder, TopMatterType } from "../../types";
import { NcBreadcrumbs, NcBreadcrumb } from '@nextcloud/vue';
import GlobalMixin from '../mixins/GlobalMixin';
import GlobalMixin from '../../mixins/GlobalMixin';
import HomeIcon from 'vue-material-design-icons/Home.vue';
@Component({

View File

@ -12,7 +12,7 @@
<script lang="ts">
import { Component, Mixins, Watch } from 'vue-property-decorator';
import GlobalMixin from '../mixins/GlobalMixin';
import GlobalMixin from '../../mixins/GlobalMixin';
import { NcActions, NcActionButton } from '@nextcloud/vue';
import BackIcon from 'vue-material-design-icons/ArrowLeft.vue';

View File

@ -12,8 +12,8 @@ import FolderTopMatter from "./FolderTopMatter.vue";
import TagTopMatter from "./TagTopMatter.vue";
import FaceTopMatter from "./FaceTopMatter.vue";
import GlobalMixin from '../mixins/GlobalMixin';
import { TopMatterType } from '../types';
import GlobalMixin from '../../mixins/GlobalMixin';
import { TopMatterType } from '../../types';
@Component({
components: {