mirror of
https://github.com/harness/drone.git
synced 2025-05-05 20:11:36 +08:00

This change adds the following to the list branches api: - 'query' parameter for querying branches using arbitrary substrings - 'sort' parameter for sorting the branches (name and date supported) - 'direction' parameter for specifing the direction of the sorted output
19 lines
480 B
Go
19 lines
480 B
Go
// Copyright 2022 Harness Inc. All rights reserved.
|
|
// Use of this source code is governed by the Polyform Free Trial License
|
|
// that can be found in the LICENSE.md file for this repository.
|
|
|
|
package enum
|
|
|
|
const (
|
|
id = "id"
|
|
path = "path"
|
|
name = "name"
|
|
pathName = "path_name"
|
|
created = "created"
|
|
createdAt = "created_at"
|
|
updated = "updated"
|
|
updatedAt = "updated_at"
|
|
date = "date"
|
|
defaultString = "default"
|
|
)
|