-
-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
121 changed files
with
24,299 additions
and
23,372 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: Supereg | ||
custom: "https://paypal.me/Supereg" | ||
custom: 'https://paypal.me/Supereg' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name | ||
beta: | ||
- base-branch: ['^beta', 'beta', 'beta*'] | ||
- base-branch: [^beta, beta, 'beta*'] | ||
|
||
# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name | ||
alpha: | ||
- base-branch: ['^alpha', 'alpha', 'alpha*'] | ||
- base-branch: [^alpha, alpha, 'alpha*'] | ||
|
||
# Add 'latest' label to any PR where the base branch name starts with `latest` or has a `latest` section in the name | ||
latest: | ||
- base-branch: ['^latest', 'latest', 'latest*'] | ||
- base-branch: [^latest, latest, 'latest*'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,63 @@ | ||
declare module "bonjour-hap" { | ||
|
||
declare module 'bonjour-hap' { | ||
export const enum Protocols { | ||
TCP = "tcp", | ||
UDP = "udp", | ||
TCP = 'tcp', | ||
UDP = 'udp', | ||
} | ||
|
||
export type Nullable<T> = T | null; | ||
export type TxtRecord = Record<string, string>; | ||
export type Nullable<T> = T | null | ||
export type TxtRecord = Record<string, string> | ||
|
||
export class BonjourHAPService { | ||
name: string; | ||
type: string; | ||
subtypes: Nullable<string[]>; | ||
protocol: Protocols; | ||
host: string; | ||
port: number; | ||
fqdn: string; | ||
txt: Nullable<Record<string, string>>; | ||
published: boolean; | ||
|
||
start(): void; | ||
stop(callback?: () => void): void; | ||
destroy(): void; | ||
updateTxt(txt: TxtRecord, silent?: boolean): void; | ||
name: string | ||
type: string | ||
subtypes: Nullable<string[]> | ||
protocol: Protocols | ||
host: string | ||
port: number | ||
fqdn: string | ||
txt: Nullable<Record<string, string>> | ||
published: boolean | ||
|
||
start(): void | ||
stop(callback?: () => void): void | ||
destroy(): void | ||
updateTxt(txt: TxtRecord, silent?: boolean): void | ||
} | ||
|
||
export type PublishOptions = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
category?: any, | ||
host?: string; | ||
name?: string; | ||
pincode?: string; | ||
port: number; | ||
protocol?: Protocols; | ||
subtypes?: string[]; | ||
txt?: Record<string, string>; | ||
type?: string; | ||
username?: string; | ||
|
||
addUnsafeServiceEnumerationRecord?: boolean, | ||
|
||
restrictedAddresses?: string[]; | ||
disabledIpv6?: boolean; | ||
}; | ||
export interface PublishOptions { | ||
category?: any | ||
host?: string | ||
name?: string | ||
pincode?: string | ||
port: number | ||
protocol?: Protocols | ||
subtypes?: string[] | ||
txt?: Record<string, string> | ||
type?: string | ||
username?: string | ||
|
||
addUnsafeServiceEnumerationRecord?: boolean | ||
|
||
restrictedAddresses?: string[] | ||
disabledIpv6?: boolean | ||
} | ||
|
||
export class BonjourHAP { | ||
publish(options: PublishOptions): BonjourHAPService; | ||
unpublishAll(callback: () => void): void; | ||
destroy(): void; | ||
publish(options: PublishOptions): BonjourHAPService | ||
unpublishAll(callback: () => void): void | ||
destroy(): void | ||
} | ||
|
||
export interface MulticastOptions { | ||
multicast?: boolean | ||
interface?: string | ||
port?: number | ||
ip?: string | ||
ttl?: number | ||
loopback?: boolean | ||
reuseAddr?: boolean | ||
} | ||
function createWithOptions(options?: MulticastOptions): BonjourHAP | ||
|
||
export type MulticastOptions = { | ||
multicast?: boolean; | ||
interface?: string; | ||
port?: number; | ||
ip?: string; | ||
ttl?: number; | ||
loopback?: boolean; | ||
reuseAddr?: boolean; | ||
}; | ||
function createWithOptions(options?: MulticastOptions): BonjourHAP; | ||
|
||
export default createWithOptions; | ||
export default createWithOptions | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.