Skip to content

Commit

Permalink
refactor: update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <christian@aperture.us>
  • Loading branch information
paralin committed May 29, 2024
1 parent a4e041e commit 82f6d25
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 171 deletions.
13 changes: 6 additions & 7 deletions backoff/backoff.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import {
createEnumType,
createMessageType,
Message,
ScalarType,
} from '@aptre/protobuf-es-lite'

Expand Down Expand Up @@ -52,7 +51,7 @@ export const BackoffKind_Enum = createEnumType('backoff.BackoffKind', [
*
* @generated from message backoff.Exponential
*/
export type Exponential = Message<{
export interface Exponential {
/**
* InitialInterval is the initial interval in milliseconds.
* Default: 800ms.
Expand Down Expand Up @@ -93,7 +92,7 @@ export type Exponential = Message<{
* @generated from field: uint32 max_elapsed_time = 5;
*/
maxElapsedTime?: number
}>
}

// Exponential contains the message type declaration for Exponential.
export const Exponential: MessageType<Exponential> = createMessageType({
Expand All @@ -118,15 +117,15 @@ export const Exponential: MessageType<Exponential> = createMessageType({
*
* @generated from message backoff.Constant
*/
export type Constant = Message<{
export interface Constant {
/**
* Interval is the timing to back off, in milliseconds.
* Defaults to 5 seconds.
*
* @generated from field: uint32 interval = 1;
*/
interval?: number
}>
}

// Constant contains the message type declaration for Constant.
export const Constant: MessageType<Constant> = createMessageType({
Expand All @@ -142,7 +141,7 @@ export const Constant: MessageType<Constant> = createMessageType({
*
* @generated from message backoff.Backoff
*/
export type Backoff = Message<{
export interface Backoff {
/**
* BackoffKind is the kind of backoff.
*
Expand All @@ -161,7 +160,7 @@ export type Backoff = Message<{
* @generated from field: backoff.Constant constant = 3;
*/
constant?: Constant
}>
}

// Backoff contains the message type declaration for Backoff.
export const Backoff: MessageType<Backoff> = createMessageType({
Expand Down
6 changes: 3 additions & 3 deletions filter/filter.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite'
import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite'

export const protobufPackage = 'filter'

Expand All @@ -14,7 +14,7 @@ export const protobufPackage = 'filter'
*
* @generated from message filter.StringFilter
*/
export type StringFilter = Message<{
export interface StringFilter {
/**
* Empty matches the value against the empty value.
*
Expand Down Expand Up @@ -64,7 +64,7 @@ export type StringFilter = Message<{
* @generated from field: string contains = 8;
*/
contains?: string
}>
}

// StringFilter contains the message type declaration for StringFilter.
export const StringFilter: MessageType<StringFilter> = createMessageType({
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/aperturerobotics/util
go 1.22

require (
github.com/aperturerobotics/common v0.16.6 // latest
github.com/aperturerobotics/common v0.16.8 // latest
github.com/aperturerobotics/json-iterator-lite v1.0.0 // indirect
github.com/aperturerobotics/protobuf-go-lite v0.6.5 // latest
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aperturerobotics/common v0.16.6 h1:xSeQAJkari6JHNwycngVNP5t59CSVDrpqm9xvIsVo48=
github.com/aperturerobotics/common v0.16.6/go.mod h1:CNUQ4LRn9e2zwKKrWMZiKoywhWV9+Wpn3QPn9uE2E7Y=
github.com/aperturerobotics/common v0.16.8 h1:uKHIqQ+NMkn7G+dSUEvP/ZvjA0M5i/aXO/7l5GSeC/8=
github.com/aperturerobotics/common v0.16.8/go.mod h1:CNUQ4LRn9e2zwKKrWMZiKoywhWV9+Wpn3QPn9uE2E7Y=
github.com/aperturerobotics/json-iterator-lite v1.0.0 h1:cihbrYWoK/S2RYXhJLpDZd+GUjVvFJN+D3w1VOqqHRI=
github.com/aperturerobotics/json-iterator-lite v1.0.0/go.mod h1:snaApCEDtrHHP6UWSLKiYNOZU9A5NyzccKenx9oZEzg=
github.com/aperturerobotics/protobuf-go-lite v0.6.5 h1:AuPPcZ7ZaJe9ZYYC4gF7/5/Xbn9Mt9uXyV3+ADWy+Ys=
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@
"singleQuote": true
},
"devDependencies": {
"@aptre/common": "^0.16.4",
"@aptre/common": "^0.16.8",
"depcheck": "^1.4.7",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.1.6"
},
"dependencies": {
"@aptre/protobuf-es-lite": "^0.4.4",
"starpc": "^0.32.1"
"starpc": "^0.32.12"
},
"resolutions": {
"@aptre/protobuf-es-lite": "0.4.4"
"@aptre/protobuf-es-lite": "0.4.5"
}
}
Loading

0 comments on commit 82f6d25

Please sign in to comment.