mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
API: Add a way to get the list of all factions (#1457)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContractObject](./bitburner.codingcontractobject.md)
|
||||
|
||||
## CodingContractObject type
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
export type CodingContractObject = {
|
||||
[T in keyof CodingContractSignatures]: {
|
||||
type: T;
|
||||
data: CodingContractSignatures[T][0];
|
||||
submit: (answer: CodingContractSignatures[T][1] | string) => string;
|
||||
description: string;
|
||||
numTriesRemaining: () => number;
|
||||
};
|
||||
}[keyof CodingContractSignatures];
|
||||
```
|
||||
**References:** [CodingContractSignatures](./bitburner.codingcontractsignatures.md)
|
||||
|
||||
Reference in New Issue
Block a user