@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
37 lines (23 loc) • 828 B
Markdown
# DeckRequest
## Properties
Name | Type
------------ | -------------
`main` | [Array<CardInDeckRequest>](CardInDeckRequest.md)
`commanders` | [Array<CardInDeckRequest>](CardInDeckRequest.md)
## Example
```typescript
import type { DeckRequest } from ''
// TODO: Update the object below with actual values
const example = {
"main": null,
"commanders": null,
} satisfies DeckRequest
console.log(example)
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DeckRequest
console.log(exampleParsed)
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)