github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/webapp/javascript/models/adhoc.ts (about)

     1  import { z } from 'zod';
     2  
     3  export const AllProfilesSchema = z.record(
     4    z.object({
     5      // TODO(eh-am): in practice it's a UUID
     6      id: z.string(),
     7      name: z.string(),
     8      updatedAt: z.string(),
     9    })
    10  );
    11  
    12  export type AllProfiles = z.infer<typeof AllProfilesSchema>;