mirror of
https://github.com/get-drexa/drive.git
synced 2025-11-30 21:41:39 +00:00
style[convex]: reorganize imports
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
import { v } from "convex/values"
|
|
||||||
import type { Id } from "@fileone/convex/dataModel"
|
import type { Id } from "@fileone/convex/dataModel"
|
||||||
import { authenticatedMutation, authenticatedQuery, authorizedGet } from "./functions"
|
import { v } from "convex/values"
|
||||||
|
import {
|
||||||
|
authenticatedMutation,
|
||||||
|
authenticatedQuery,
|
||||||
|
authorizedGet,
|
||||||
|
} from "./functions"
|
||||||
import * as Directories from "./model/directories"
|
import * as Directories from "./model/directories"
|
||||||
import * as Files from "./model/files"
|
import * as Files from "./model/files"
|
||||||
import type { FileSystemItem } from "./shared/filesystem"
|
|
||||||
|
|
||||||
export const generateUploadUrl = authenticatedMutation({
|
export const generateUploadUrl = authenticatedMutation({
|
||||||
handler: async (ctx) => {
|
handler: async (ctx) => {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { v } from "convex/values"
|
import { v } from "convex/values"
|
||||||
import type { Doc, Id } from "@fileone/convex/dataModel"
|
import type { Doc, Id } from "../_generated/dataModel"
|
||||||
import {
|
import {
|
||||||
type AuthenticatedMutationCtx,
|
type AuthenticatedMutationCtx,
|
||||||
type AuthenticatedQueryCtx,
|
type AuthenticatedQueryCtx,
|
||||||
|
|||||||
Reference in New Issue
Block a user