Skip to content

Commit

Permalink
🤖 dprint fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Nov 20, 2023
1 parent c76c419 commit 68fb9f5
Show file tree
Hide file tree
Showing 43 changed files with 9,586 additions and 9,389 deletions.
12 changes: 7 additions & 5 deletions types/apostrophe/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,13 @@ declare namespace apostrophe {
scene?: "user" | undefined;
addFields?: Field[] | undefined;
removeFields?: Field[] | undefined;
arrangeFields?: Array<{
name: string;
label: string;
fields: string[];
}> | undefined;
arrangeFields?:
| Array<{
name: string;
label: string;
fields: string[];
}>
| undefined;
beforeConstruct?: ((self: any, options: any) => any) | undefined;
defer?: boolean | undefined;
filters?: {
Expand Down
96 changes: 55 additions & 41 deletions types/chrome-apps/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7886,20 +7886,26 @@ declare namespace chrome {
* to read the page's content using **declarativeContent**.
* @see https://developer.chrome.com/extensions/manifest/event_rules
*/
event_rules?: Array<{
/** Event name */
event?: chrome.webViewRequest.DeclarativeWebRequestEventList | undefined;
actions?: Array<{
/** Action type */
type: chrome.webViewRequest.DeclarativeWebRequestActionsList;
}> | undefined;
conditions?: Array<{
/** Condition */
type: chrome.webViewRequest.DeclarativeWebRequestConditionsList;
/** Arguments, see original condition docs in chrome.webViewRequest */
[key: string]: any | any[];
}> | undefined;
}> | undefined;
event_rules?:
| Array<{
/** Event name */
event?: chrome.webViewRequest.DeclarativeWebRequestEventList | undefined;
actions?:
| Array<{
/** Action type */
type: chrome.webViewRequest.DeclarativeWebRequestActionsList;
}>
| undefined;
conditions?:
| Array<{
/** Condition */
type: chrome.webViewRequest.DeclarativeWebRequestConditionsList;
/** Arguments, see original condition docs in chrome.webViewRequest */
[key: string]: any | any[];
}>
| undefined;
}>
| undefined;

/**
* Declares which extensions, apps, and web pages can connect
Expand Down Expand Up @@ -7930,20 +7936,22 @@ declare namespace chrome {
* @requires Location': 'component'
* You can specify locale-specific strings for the value of 'default_title'
*/
file_browser_handlers?: Array<{
/** Handler id */
id: string;
/** What the button will display */
default_title: string;
/** Icon */
default_icon: string;
/**
* To match all files, use 'filesystem:*.*'
*/
file_filters: string[];
/** ['read'] = read only mode */
file_access?: ["read"] | string[] | undefined;
}> | undefined;
file_browser_handlers?:
| Array<{
/** Handler id */
id: string;
/** What the button will display */
default_title: string;
/** Icon */
default_icon: string;
/**
* To match all files, use 'filesystem:*.*'
*/
file_filters: string[];
/** ['read'] = read only mode */
file_access?: ["read"] | string[] | undefined;
}>
| undefined;

/**
* Triggers a launch of the app when one of these files are handled.
Expand Down Expand Up @@ -7983,9 +7991,11 @@ declare namespace chrome {
* Import resources from another extension / app.
* @see https://developer.chrome.com/apps/shared_modules
*/
import?: Array<{
id: string;
}> | undefined;
import?:
| Array<{
id: string;
}>
| undefined;

/** This value can be used to control the unique ID of an app when it is loaded during development. */
key?: string | undefined;
Expand All @@ -7998,12 +8008,14 @@ declare namespace chrome {
minimum_chrome_version?: string | undefined;

/** One or more mappings from MIME types to the Native Client module that handles each type. */
nacl_modules?: Array<{
/** The location of a Native Client manifest (a .nmf file) within the app's directory. */
path: string;
/** The MIME type for which the Native Client module will be registered as content handler. */
mime_type: string;
}> | undefined;
nacl_modules?:
| Array<{
/** The location of a Native Client manifest (a .nmf file) within the app's directory. */
path: string;
/** The MIME type for which the Native Client module will be registered as content handler. */
mime_type: string;
}>
| undefined;

/**
* Use the Chrome Identity API to authenticate users:
Expand Down Expand Up @@ -8046,10 +8058,12 @@ declare namespace chrome {
* @see https://github.com/crosswalk-project/chromium-crosswalk/blob/af36cc3ce3f5fcb8033f16236725718f8012abfe/native_client_sdk/src/doc/devguide/distributing.rst
* @see https://github.com/crosswalk-project/chromium-crosswalk/blob/af36cc3ce3f5fcb8033f16236725718f8012abfe/native_client_sdk/src/tools/fix_manifest.py
*/
platforms?: Array<{
nacl_arch: ToStringLiteral<typeof chrome.runtime.PlatformNaclArch>;
sub_package_path: string;
}> | undefined;
platforms?:
| Array<{
nacl_arch: ToStringLiteral<typeof chrome.runtime.PlatformNaclArch>;
sub_package_path: string;
}>
| undefined;

/**
* Technologies required by the app. Hosting sites such
Expand Down
138 changes: 79 additions & 59 deletions types/chrome/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7270,67 +7270,81 @@ declare namespace chrome.runtime {
matches?: string[] | undefined;
permissions?: string[] | undefined;
} | undefined;
content_scripts?: Array<{
matches?: string[] | undefined;
exclude_matches?: string[] | undefined;
css?: string[] | undefined;
js?: string[] | undefined;
run_at?: string | undefined;
all_frames?: boolean | undefined;
match_about_blank?: boolean | undefined;
include_globs?: string[] | undefined;
exclude_globs?: string[] | undefined;
}> | undefined;
content_scripts?:
| Array<{
matches?: string[] | undefined;
exclude_matches?: string[] | undefined;
css?: string[] | undefined;
js?: string[] | undefined;
run_at?: string | undefined;
all_frames?: boolean | undefined;
match_about_blank?: boolean | undefined;
include_globs?: string[] | undefined;
exclude_globs?: string[] | undefined;
}>
| undefined;
converted_from_user_script?: boolean | undefined;
current_locale?: string | undefined;
devtools_page?: string | undefined;
event_rules?: Array<{
event?: string | undefined;
actions?: Array<{
type: string;
}> | undefined;
conditions?: chrome.declarativeContent.PageStateMatcherProperties[] | undefined;
}> | undefined;
event_rules?:
| Array<{
event?: string | undefined;
actions?:
| Array<{
type: string;
}>
| undefined;
conditions?: chrome.declarativeContent.PageStateMatcherProperties[] | undefined;
}>
| undefined;
externally_connectable?: {
ids?: string[] | undefined;
matches?: string[] | undefined;
accepts_tls_channel_id?: boolean | undefined;
} | undefined;
file_browser_handlers?: Array<{
id?: string | undefined;
default_title?: string | undefined;
file_filters?: string[] | undefined;
}> | undefined;
file_browser_handlers?:
| Array<{
id?: string | undefined;
default_title?: string | undefined;
file_filters?: string[] | undefined;
}>
| undefined;
file_system_provider_capabilities?: {
configurable?: boolean | undefined;
watchable?: boolean | undefined;
multiple_mounts?: boolean | undefined;
source?: string | undefined;
} | undefined;
homepage_url?: string | undefined;
import?: Array<{
id: string;
minimum_version?: string | undefined;
}> | undefined;
import?:
| Array<{
id: string;
minimum_version?: string | undefined;
}>
| undefined;
export?: {
whitelist?: string[] | undefined;
} | undefined;
incognito?: string | undefined;
input_components?: Array<{
name?: string | undefined;
type?: string | undefined;
id?: string | undefined;
description?: string | undefined;
language?: string[] | string | undefined;
layouts?: string[] | undefined;
indicator?: string | undefined;
}> | undefined;
input_components?:
| Array<{
name?: string | undefined;
type?: string | undefined;
id?: string | undefined;
description?: string | undefined;
language?: string[] | string | undefined;
layouts?: string[] | undefined;
indicator?: string | undefined;
}>
| undefined;
key?: string | undefined;
minimum_chrome_version?: string | undefined;
nacl_modules?: Array<{
path: string;
mime_type: string;
}> | undefined;
nacl_modules?:
| Array<{
path: string;
mime_type: string;
}>
| undefined;
oauth2?: {
client_id: string;
scopes?: string[] | undefined;
Expand All @@ -7345,13 +7359,17 @@ declare namespace chrome.runtime {
chrome_style?: boolean | undefined;
open_in_tab?: boolean | undefined;
} | undefined;
platforms?: Array<{
nacl_arch?: string | undefined;
sub_package_path: string;
}> | undefined;
plugins?: Array<{
path: string;
}> | undefined;
platforms?:
| Array<{
nacl_arch?: string | undefined;
sub_package_path: string;
}>
| undefined;
plugins?:
| Array<{
path: string;
}>
| undefined;
requirements?: {
"3D"?: {
features?: string[] | undefined;
Expand Down Expand Up @@ -7421,18 +7439,20 @@ declare namespace chrome.runtime {
type?: "module"; // If the service worker uses ES modules
}
| undefined;
content_scripts?: Array<{
matches?: string[] | undefined;
exclude_matches?: string[] | undefined;
css?: string[] | undefined;
js?: string[] | undefined;
run_at?: string | undefined;
all_frames?: boolean | undefined;
match_about_blank?: boolean | undefined;
include_globs?: string[] | undefined;
exclude_globs?: string[] | undefined;
world?: "ISOLATED" | "MAIN" | undefined;
}> | undefined;
content_scripts?:
| Array<{
matches?: string[] | undefined;
exclude_matches?: string[] | undefined;
css?: string[] | undefined;
js?: string[] | undefined;
run_at?: string | undefined;
all_frames?: boolean | undefined;
match_about_blank?: boolean | undefined;
include_globs?: string[] | undefined;
exclude_globs?: string[] | undefined;
world?: "ISOLATED" | "MAIN" | undefined;
}>
| undefined;
content_security_policy?: {
extension_pages?: string;
sandbox?: string;
Expand Down
22 changes: 12 additions & 10 deletions types/consumer-data-standards/admin/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,16 +591,18 @@ export interface ErrorMetricsV2 {
/**
* Error counts, by HTTP error code, for previous days. The first element indicates yesterday and so on. A maximum of seven entries is required if available
*/
previousDays?: Array<{
/**
* Number of errors for HTTP error code 500. Note that this field is an example of a single entry due to the lack of OAS support JSON Schema `patternProperties` syntax. See the `additionalProperties` field in this schema for the generic property structure for error code counts
*/
"500"?: number;
/**
* Number of errors for a specific HTTP error code. Note that the property name must be 3 digits represent the HTTP error code the error is for
*/
[k: string]: unknown;
}> | null;
previousDays?:
| Array<{
/**
* Number of errors for HTTP error code 500. Note that this field is an example of a single entry due to the lack of OAS support JSON Schema `patternProperties` syntax. See the `additionalProperties` field in this schema for the generic property structure for error code counts
*/
"500"?: number;
/**
* Number of errors for a specific HTTP error code. Note that the property name must be 3 digits represent the HTTP error code the error is for
*/
[k: string]: unknown;
}>
| null;
[k: string]: unknown;
};
/**
Expand Down
Loading

0 comments on commit 68fb9f5

Please sign in to comment.