/** * Do not edit this file it is auto-generated by io-utils / gen-api-models. * See https://github.com/pagopa/io-utils */ /* tslint:disable */ import { User } from "./User"; import * as t from "io-ts"; // required attributes const UserCollectionR = t.interface({ items: t.readonlyArray(User, "array of User") }); // optional attributes const UserCollectionO = t.partial({ next: t.string }); export const UserCollection = t.exact( t.intersection([UserCollectionR, UserCollectionO], "UserCollection") ); export type UserCollection = t.TypeOf;