mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Add explicit skill selection to company portability
This commit is contained in:
parent
14ee364190
commit
5f2b1b63c2
6 changed files with 29 additions and 13 deletions
|
|
@ -3,6 +3,7 @@ export interface CompanyPortabilityInclude {
|
|||
agents: boolean;
|
||||
projects: boolean;
|
||||
issues: boolean;
|
||||
skills: boolean;
|
||||
}
|
||||
|
||||
export interface CompanyPortabilityEnvInput {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ export const portabilityIncludeSchema = z
|
|||
agents: z.boolean().optional(),
|
||||
projects: z.boolean().optional(),
|
||||
issues: z.boolean().optional(),
|
||||
skills: z.boolean().optional(),
|
||||
})
|
||||
.partial();
|
||||
|
||||
|
|
@ -119,6 +120,7 @@ export const portabilityManifestSchema = z.object({
|
|||
agents: z.boolean(),
|
||||
projects: z.boolean(),
|
||||
issues: z.boolean(),
|
||||
skills: z.boolean(),
|
||||
}),
|
||||
company: portabilityCompanyManifestEntrySchema.nullable(),
|
||||
agents: z.array(portabilityAgentManifestEntrySchema),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue