cberg
Version:
Node.js Client for the Codeberg API
44 lines (36 loc) • 1.86 kB
Markdown
# CreateRepoOption
CreateRepoOption options when creating repository
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**auto_init** | **boolean** | Whether the repository should be auto-initialized? | [optional] [default to undefined]
**default_branch** | **string** | DefaultBranch of the repository (used when initializes and in template) | [optional] [default to undefined]
**description** | **string** | Description of the repository to create | [optional] [default to undefined]
**gitignores** | **string** | Gitignores to use | [optional] [default to undefined]
**issue_labels** | **string** | Label-Set to use | [optional] [default to undefined]
**license** | **string** | License to use | [optional] [default to undefined]
**name** | **string** | Name of the repository to create | [default to undefined]
**object_format_name** | **string** | ObjectFormatName of the underlying git repository | [optional] [default to undefined]
**_private** | **boolean** | Whether the repository is private | [optional] [default to undefined]
**readme** | **string** | Readme of the repository to create | [optional] [default to undefined]
**template** | **boolean** | Whether the repository is template | [optional] [default to undefined]
**trust_model** | **string** | TrustModel of the repository | [optional] [default to undefined]
## Example
```typescript
import { CreateRepoOption } from 'berg';
const instance: CreateRepoOption = {
auto_init,
default_branch,
description,
gitignores,
issue_labels,
license,
name,
object_format_name,
_private,
readme,
template,
trust_model,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)