mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
refactor: split backend by context instead of type 'controllers/models/...'
This commit is contained in:
8
app/shared_collections/validators/shared_collection.ts
Normal file
8
app/shared_collections/validators/shared_collection.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { params } from '#core/validators/params_object';
|
||||
import vine from '@vinejs/vine';
|
||||
|
||||
export const getSharedCollectionValidator = vine.compile(
|
||||
vine.object({
|
||||
params,
|
||||
})
|
||||
);
|
||||
Reference in New Issue
Block a user