mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
cleanup internal package resolution
This commit is contained in:
@ -8,10 +8,12 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@reactive-resume/utils": "*",
|
||||
"peerDependencies": {
|
||||
"zod": "^3.23.8",
|
||||
"@paralleldrive/cuid2": "^2.2.2",
|
||||
"@swc/helpers": "^0.5.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@swc/helpers": "~0.5.11"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { ResumeData } from ".";
|
||||
import { ResumeData } from "./index";
|
||||
|
||||
export const sampleResume: ResumeData = {
|
||||
basics: {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { FilterKeys } from "@reactive-resume/utils";
|
||||
import { z } from "zod";
|
||||
|
||||
import { FilterKeys } from "../shared";
|
||||
import { idSchema } from "../shared";
|
||||
import { awardSchema } from "./award";
|
||||
import { certificationSchema } from "./certification";
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
export * from "./id";
|
||||
export * from "./item";
|
||||
export * from "./types";
|
||||
export * from "./url";
|
||||
|
||||
3
libs/schema/src/shared/types.ts
Normal file
3
libs/schema/src/shared/types.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export type FilterKeys<T, Condition> = {
|
||||
[Key in keyof T]: T[Key] extends Condition ? Key : never;
|
||||
}[keyof T];
|
||||
Reference in New Issue
Block a user