-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove vuex store in external app
- Loading branch information
1 parent
cb02b98
commit df7b3e0
Showing
17 changed files
with
220 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { z } from 'zod' | ||
|
||
const AppProviderSchema = z.object({ | ||
icon: z.string(), | ||
name: z.string() | ||
}) | ||
|
||
const MimeTypeSchema = z.object({ | ||
allow_creation: z.boolean().optional(), | ||
app_providers: z.array(AppProviderSchema), | ||
default_application: z.string().optional(), | ||
description: z.string().optional(), | ||
ext: z.string().optional(), | ||
mime_type: z.string(), | ||
name: z.string().optional() | ||
}) | ||
|
||
export const AppListSchema = z.object({ | ||
'mime-types': z.array(MimeTypeSchema) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.