MCPcopy Create free account
hub / github.com/coder/coder / toMetadata

Function toMetadata

site/src/api/queries/userSkills.test.ts:37–43  ·  view source on GitHub ↗
(skill: UserSkill)

Source from the content-addressed store, hash-verified

35});
36
37const toMetadata = (skill: UserSkill): UserSkillMetadata => ({
38 id: skill.id,
39 name: skill.name,
40 description: skill.description,
41 created_at: skill.created_at,
42 updated_at: skill.updated_at,
43});
44
45describe("user skill queries", () => {
46 it("defaults query keys to the current user alias", () => {

Callers 1

userSkills.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected