cberg
Version:
Node.js Client for the Codeberg API
60 lines (52 loc) • 2.21 kB
Markdown
# MigrateRepoOptions
MigrateRepoOptions options for migrating repository\'s this is used to interact with api v1
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**auth_password** | **string** | | [optional] [default to undefined]
**auth_token** | **string** | | [optional] [default to undefined]
**auth_username** | **string** | | [optional] [default to undefined]
**clone_addr** | **string** | | [default to undefined]
**description** | **string** | | [optional] [default to undefined]
**issues** | **boolean** | | [optional] [default to undefined]
**labels** | **boolean** | | [optional] [default to undefined]
**lfs** | **boolean** | | [optional] [default to undefined]
**lfs_endpoint** | **string** | | [optional] [default to undefined]
**milestones** | **boolean** | | [optional] [default to undefined]
**mirror** | **boolean** | | [optional] [default to undefined]
**mirror_interval** | **string** | | [optional] [default to undefined]
**_private** | **boolean** | | [optional] [default to undefined]
**pull_requests** | **boolean** | | [optional] [default to undefined]
**releases** | **boolean** | | [optional] [default to undefined]
**repo_name** | **string** | | [default to undefined]
**repo_owner** | **string** | Name of User or Organisation who will own Repo after migration | [optional] [default to undefined]
**service** | **string** | | [optional] [default to undefined]
**uid** | **number** | deprecated (only for backwards compatibility) | [optional] [default to undefined]
**wiki** | **boolean** | | [optional] [default to undefined]
## Example
```typescript
import { MigrateRepoOptions } from 'berg';
const instance: MigrateRepoOptions = {
auth_password,
auth_token,
auth_username,
clone_addr,
description,
issues,
labels,
lfs,
lfs_endpoint,
milestones,
mirror,
mirror_interval,
_private,
pull_requests,
releases,
repo_name,
repo_owner,
service,
uid,
wiki,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)