// ----------------------------------------------------------------------------- // Enum Typedefs // ----------------------------------------------------------------------------- /** * Test Enumeration provides a useful test for enumeration based code generation. * @typedef {"foo" | "bar"} TestEnumeration */ // ----------------------------------------------------------------------------- // Model Typedefs // ----------------------------------------------------------------------------- /** * This is the top level in the system. It represents a specific client. * @typedef {Object} Account * @property {string} id The Universally Unique Identifier. See RFC 4122. * @property {string} awsAccount Test param for a pattern restricted string. * @property {string} name A unique human readable string name. * @property {boolean} enabled Adds the ability to enable / disable this resource. */ /** * A form used for creating an Account resource. * @typedef {Object} AccountForm * @property {string} name A unique human readable string name. * @property {boolean} enabled Adds the ability to enable / disable this resource. */ /** * A model client for testing generation. * @typedef {Object} Client * @property {Account[]} accounts test field to make sure non empty lists are non empty in generated mock factories. */ /** * A response model for the standard health check resource. * @typedef {Object} Healthcheck * @property {string} status A general status string. */ // ----------------------------------------------------------------------------- // Union Typedefs // -----------------------------------------------------------------------------