# Shared ## Domain Types ### Pagination Links - **PaginationLinks:** `object` Links to use for pagination - **self:** `string` URL of this page - **next:** `string` URL of the next page, if any - **prev:** `string` URL of the previous page, if any ### Result Set - **ResultSet:** `object` Result of executing an SQL statement. - **columns:** `array of string` Names of columns. Names of columns can be defined using the `AS` keyword in SQL: ```sql SELECT author AS author, COUNT(*) AS count FROM books GROUP BY author ``` - **columnTypes:** `array of string` Types of columns. The types are currently shown for types declared in a SQL table. For column types of function calls, for example, an empty string is returned. - **rows:** `array of array of unknown` Rows produced by the statement. - **rowsAffected:** `number` Number of rows that were affected by an UPDATE, INSERT or DELETE operation. This value is not specified for other SQL statements. - **lastInsertRowid:** `string OR number` ROWID of the last inserted row. This value is not specified if the SQL statement was not an INSERT or if the table was not a ROWID table. - **UnionMember0:** `string` - **UnionMember1:** `number` ### User - **User:** `object` User object - **id:** `string` The ID of this user - **bio:** `string` The user’s biography, if they have provided one - **links:** `object` - **self:** `string` URL of this user on this API - **profileImageUrl:** `string` URL that points to the user’s profile image, if one exists - **url:** `string` URL of this user’s profile on Val Town’s website - **username:** `string` The user’s handle that they chose for themselves. Does not include the @ symbol ### Val - **Val:** `object` A Val - **id:** `string` The id of the val - **author:** `object` - **id:** `string` - **username:** `string` - **createdAt:** `string` - **description:** `string` - **imageUrl:** `string` The URL of this val's image - **links:** `object` - **html:** `string` The URL of this resource on Val Town - **self:** `string` The URL of this resource on this API - **name:** `string` - **privacy:** `"public" OR "unlisted" OR "private"` This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them. - `"public"` - `"unlisted"` - `"private"`