RestResourceDefinition
Defined in: wp-typia-rest/src/resource.ts:22
Type Parameters
Section titled “Type Parameters”TEndpoints
Section titled “TEndpoints”TEndpoints extends RestResourceEndpointSet
TIdField
Section titled “TIdField”TIdField extends string | undefined = string | undefined
TListQuerySource
Section titled “TListQuerySource”TListQuerySource = never
Properties
Section titled “Properties”endpoints
Section titled “endpoints”endpoints:
TEndpoints
Defined in: wp-typia-rest/src/resource.ts:27
idField?
Section titled “idField?”
optionalidField?:TIdField
Defined in: wp-typia-rest/src/resource.ts:28
listQuery?
Section titled “listQuery?”
optionallistQuery?: [Extract<TEndpoints["list"],AnyApiEndpoint>] extends [never] ?never:RestResourceListQueryBridge<TListQuerySource,EndpointRequest<Extract<TEndpoints["list"],AnyApiEndpoint>>>
Defined in: wp-typia-rest/src/resource.ts:29
namespace?
Section titled “namespace?”
optionalnamespace?:string
Defined in: wp-typia-rest/src/resource.ts:35
optionalpath?:string
Defined in: wp-typia-rest/src/resource.ts:36