id
int64
0
1.29M
original_id
stringlengths
32
32
swhid
stringlengths
100
170
sha1
stringlengths
40
40
repo_name
stringlengths
2
45
repo_group
stringclasses
12 values
filepath
stringlengths
5
153
name
stringlengths
1
14.9k
type
stringclasses
3 values
code
stringlengths
7
2.12M
1,285,800
cefcecef41a1da9c299ea197670be7de
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=62-62/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
EvaluatedItems
type
type EvaluatedItems = number | true;
1,285,801
57541cda8391c6e9340e8bae1dc203db
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-131/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
AddedKeywordDefinition
type
type AddedKeywordDefinition = KeywordDefinition & { type: JSONType[]; schemaType: JSONType[]; };
1,285,802
d5a095eb19d6ac23829e150caee41cfb
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=132-135/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
KeywordErrorDefinition
type
interface KeywordErrorDefinition { message: string | Code | ((cxt: KeywordErrorCxt) => string | Code); params?: Code | ((cxt: KeywordErrorCxt) => Code); }
1,285,803
ebf855225bf02c8b5fe32eddfe046e3f
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=136-136/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
Vocabulary
type
type Vocabulary = (KeywordDefinition | string)[];
1,285,804
9169e3068dbb0a9ccf6975feda571cab
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=156-156/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
AsyncFormatValidator
type
type AsyncFormatValidator<T extends string | number> = (data: T) => Promise<boolean>;
1,285,805
93fb7f18bcaeae419b5fc75d36f3ed96
swh:1:cnt:49903cd329354e745a69e18f9c452d02ead91732;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-182/
00841dbc676c1c8aca6b2e449a5eae0e312f7cfc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/index.d.ts
UriResolver
type
interface UriResolver { parse(uri: string): URIComponent; resolve(base: string, path: string): string; serialize(component: URIComponent): string; }
1,285,806
b7a472cb3134f84f9f34fa129caa65a0
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-1/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
StrictNullChecksWrapper
type
type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null ? `strictNullChecks must be true in tsconfig to use ${Name}` : Type;
1,285,807
1509eeb0fba3763a22a9748237861c05
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=4-4/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
UncheckedPartialSchema
type
type UncheckedPartialSchema<T> = Partial<UncheckedJSONSchemaType<T, true>>;
1,285,808
f0b2a34f0a1379d074feeefca262f896
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-2/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
UnionToIntersection
type
type UnionToIntersection<U> = (U extends any ? (_: U) => void : never) extends (_: infer I) => void ? I : never;
1,285,809
d340f088faa1e9be3f8d47af36efd80e
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-5/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
PartialSchema
type
type PartialSchema<T> = StrictNullChecksWrapper<"PartialSchema", UncheckedPartialSchema<T>>;
1,285,810
9e3434fd2d3d60871f3cf8a68e95b21e
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-3/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
SomeJSONSchema
type
type SomeJSONSchema = UncheckedJSONSchemaType<Known, true>;
1,285,811
dc87e1858279eb6a54b6f3b00c20f530
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-6/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
JSONType
type
type JSONType<T extends string, IsPartial extends boolean> = IsPartial extends true ? T | undefined : T;
1,285,812
9ab978a6b9acd61864e0e997bddf8d4e
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-14/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
NumberKeywords
type
interface NumberKeywords { minimum?: number; maximum?: number; exclusiveMinimum?: number; exclusiveMaximum?: number; multipleOf?: number; format?: string; }
1,285,813
718d787308a43e51a3679ca965015384
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-20/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
StringKeywords
type
interface StringKeywords { minLength?: number; maxLength?: number; pattern?: string; format?: string; }
1,285,814
4e257011003529ae6bf9422afc4861d4
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-99/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
UncheckedJSONSchemaType
type
type UncheckedJSONSchemaType<T, IsPartial extends boolean> = (// these two unions allow arbitrary unions of types { anyOf: readonly UncheckedJSONSchemaType<T, IsPartial>[]; } | { oneOf: readonly UncheckedJSONSchemaType<T, IsPartial>[]; } | ({ type: readonly (T extends number ? JSONType<"number" | "integer",...
1,285,815
09fceeba81c3c00d5b223409fcb9ebcc
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=100-100/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
JSONSchemaType
type
type JSONSchemaType<T> = StrictNullChecksWrapper<"JSONSchemaType", UncheckedJSONSchemaType<T, false>>;
1,285,816
5d1e7064068d1e8b269e246ca1d1c93c
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-103/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
Known
type
type Known = { [key: string]: Known; } | [Known, ...Known[]] | Known[] | number | string | boolean | null;
1,285,817
22af6cab829aa1a3e01ace9646074037
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=110-112/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
UncheckedRequiredMembers
type
type UncheckedRequiredMembers<T> = { [K in keyof T]-?: undefined extends T[K] ? never : K; }[keyof T];
1,285,818
8e7b76b504a5b661867ae3645449e1ed
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=113-113/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
RequiredMembers
type
type RequiredMembers<T> = StrictNullChecksWrapper<"RequiredMembers", UncheckedRequiredMembers<T>>;
1,285,819
ec713f84f4685a514b376e7dee966087
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=109-109/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
PropertiesSchema
type
type PropertiesSchema<T> = StrictNullChecksWrapper<"PropertiesSchema", UncheckedPropertiesSchema<T>>;
1,285,820
099b53f393ae7ee2569d5a65a1900bac
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=104-108/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
UncheckedPropertiesSchema
type
type UncheckedPropertiesSchema<T> = { [K in keyof T]-?: (UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>) | { $ref: string; }; };
1,285,821
b091c21156833891b8641af5e93ea73d
swh:1:cnt:a391fef7229a2a6298642ae1e872d74270963c51;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=114-124/
ea705cde3b031727927d2ce73313907bdbe610e4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/json-schema.d.ts
Nullable
type
type Nullable<T> = undefined extends T ? { nullable: true; const?: null; enum?: readonly (T | null)[]; default?: T | null; } : { nullable?: false; const?: T; enum?: readonly T[]; default?: T; };
1,285,822
9284d1f263e4986082c580352327b093
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1-2/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
NumberType
type
/** numeric strings */ type NumberType = "float32" | "float64" | "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32";
1,285,823
0eee045af44528041536c98c91b79940
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-40/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
OptionalKeys
type
/** optional or undifined-able keys of an object */ type OptionalKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? K : never; }[keyof T];
1,285,824
a192712005a6a31abf275886c8ca0336
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-32/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
SomeJTDSchemaType
type
type SomeJTDSchemaType = (// ref { ref: string; } | { type: NumberType | StringType | "boolean"; } | { enum: string[]; } | { elements: SomeJTDSchemaType; } | { values: SomeJTDSchemaType; } | { properties: Record<string, SomeJTDSchemaType>; optionalProperties?: Record<string, SomeJTDSchemaTyp...
1,285,825
2e3f5b164a31d5e04285bd2544566f04
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-4/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
StringType
type
/** string strings */ type StringType = "string" | "timestamp";
1,285,826
972b97f2169b22e2fcceaf205d0ee115
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-36/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
RequiredKeys
type
/** required keys of an object, not undefined */ type RequiredKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? never : K; }[keyof T];
1,285,827
9dee1f26a322c06d0c3c9f82fd3db542
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-42/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsUnion_
type
/** type is true if T is a union type */ type IsUnion_<T, U extends T = T> = false extends (T extends unknown ? ([U] extends [T] ? false : true) : never) ? false : true;
1,285,828
eb5617f578307a49c91607dc7d2da069
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=43-43/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsUnion
type
type IsUnion<T> = IsUnion_<T>;
1,285,829
0c91eccbf0a62cacb97614b2272f15a1
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-45/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
TypeEquality
type
/** type is true if T is identically E */ type TypeEquality<T, E> = [T] extends [E] ? ([E] extends [T] ? true : false) : false;
1,285,830
24cd15bd35f7382c861703a65a48219b
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-47/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
NullTypeEquality
type
/** type is true if T or null is identically E or null*/ type NullTypeEquality<T, E> = TypeEquality<T | null, E | null>;
1,285,831
3bc6b7584825a8ee2cdb4fe152422456
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-49/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
EnumString
type
/** gets only the string literals of a type or null if a type isn't a string literal */ type EnumString<T> = [T] extends [never] ? null : T extends string ? string extends T ? null : T : null;
1,285,832
abcf778f851964930ef11a4610d74f5f
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-59/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsEmptyRecord
type
/** true if type represents an empty record */ type IsEmptyRecord<T> = [T] extends [Record<string, never>] ? [T] extends [never] ? false : true : false;
1,285,833
56fc4d06d700f5d627777e17ae69bd21
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-125/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
JTDSchemaType
type
type JTDSchemaType<T, D extends Record<string, unknown> = Record<string, never>> = (// refs - where null wasn't specified, must match exactly (null extends EnumString<keyof D> ? never : ({ [K in keyof D]: [T] extends [D[K]] ? { ref: K; } : never; }[keyof D] & { nullable?: false; }) | (null extends T...
1,285,834
0adc371dbb063258486cef38bc1a0dcc
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=126-170/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
JTDDataDef
type
type JTDDataDef<S, D extends Record<string, unknown>> = // ref (S extends { ref: string; } ? D extends { [K in S["ref"]]: infer V; } ? JTDDataDef<V, D> : never : S extends { type: NumberType; } ? number : S extends { type: "boolean"; } ? boolean : S extends { type: "string"; } ? string : S extends {...
1,285,835
b47df187381a509ed45beef5de7b68aa
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-57/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsRecord
type
/** true if type is a properties type and Union is false, or type is a discriminator type and Union is true */ type IsRecord<T, Union extends boolean> = Union extends IsUnion<T> ? null extends EnumString<keyof T> ? false : true : false;
1,285,836
ec7d0ebfcbe4902b9ced59ad7235da2e
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-55/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsValues
type
/** true if the the type is a values type */ type IsValues<T> = false extends IsUnion<T> ? TypeEquality<keyof T, string> : false;
1,285,837
440a8e1d345d2be06e69f4195ea05a51
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=171-173/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
JTDDataType
type
type JTDDataType<S> = S extends { definitions: Record<string, unknown>; } ? JTDDataDef<S, S["definitions"]> : JTDDataDef<S, Record<string, never>>;
1,285,838
5b5fb43370e9b2194a3fcd543a023449
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=50-51/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsEnum
type
/** true if type is a union of string literals */ type IsEnum<T> = null extends EnumString<T> ? false : true;
1,285,839
2d31e15673351946b450f3a86eb9f3a2
swh:1:cnt:80ad3129abbbee59bab65d47517dd12ba7832b6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-53/
68b5282da32bc2881af751fd6401368de2651c68
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/types/jtd-schema.d.ts
IsElements
type
/** true only if all types are array types (not tuples) */ type IsElements<T> = false extends IsUnion<T> ? [T] extends [readonly unknown[]] ? undefined extends T[0.5] ? false : true : false : false;
1,285,840
ed6466b9229f439174510b27eceeddcb
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-14/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
checkReportMissingProp
function
function checkReportMissingProp(cxt, prop) { const { gen, data, it } = cxt; gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => { cxt.setParams({ missingProperty: (0, codegen_1._) `${prop}` }, true); cxt.error(); }); }
1,285,841
bae67ce2d2f11e1b6a5dec3502b61698
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-35/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
isOwnProperty
function
function isOwnProperty(gen, data, property) { return (0, codegen_1._) `${hasPropFunc(gen)}.call(${data}, ${property})`; }
1,285,842
118d6aeee5f023991e9f5eb98514d72b
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-31/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
hasPropFunc
function
function hasPropFunc(gen) { return gen.scopeValue("func", { // eslint-disable-next-line @typescript-eslint/unbound-method ref: Object.prototype.hasOwnProperty, code: (0, codegen_1._) `Object.prototype.hasOwnProperty`, }); }
1,285,843
fe7f1a139572ecb3c8bca10b50126569
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-23/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
reportMissingProp
function
function reportMissingProp(cxt, missing) { cxt.setParams({ missingProperty: missing }, true); cxt.error(); }
1,285,844
5ccb347c69bbeebd54ea9fdbd211c8a5
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-18/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
checkMissingProp
function
function checkMissingProp({ gen, data, it: { opts } }, properties, missing) { return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._) `${missing} = ${prop}`))); }
1,285,845
22c86795baacc45435ee3232764f375e
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-40/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
propertyInData
function
function propertyInData(gen, data, property, ownProperties) { const cond = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(property)} !== undefined`; return ownProperties ? (0, codegen_1._) `${cond} && ${isOwnProperty(gen, data, property)}` : cond; }
1,285,846
b052d36f3fda89976f3600c5341f616a
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-45/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
noPropertyInData
function
function noPropertyInData(gen, data, property, ownProperties) { const cond = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(property)} === undefined`; return ownProperties ? (0, codegen_1.or)(cond, (0, codegen_1.not)(isOwnProperty(gen, data, property))) : cond; }
1,285,847
4cc7cb5c9c2619ec1e7d4038f3f428e2
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-49/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
allSchemaProperties
function
function allSchemaProperties(schemaMap) { return schemaMap ? Object.keys(schemaMap).filter((p) => p !== "__proto__") : []; }
1,285,848
a7c64f7c0fd797b39a70ba36a742c802
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-53/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
schemaProperties
function
function schemaProperties(it, schemaMap) { return allSchemaProperties(schemaMap).filter((p) => !(0, util_1.alwaysValidSchema)(it, schemaMap[p])); }
1,285,849
03e6a11606ea0fbbcec0979dfd696a06
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-67/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
callValidateCode
function
function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) { const dataAndSchema = passSchema ? (0, codegen_1._) `${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data; const valCxt = [ [names_1.default.instancePath, (0, codege...
1,285,850
1b3d932b734e2beaef7c93c0bf55afbf
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-102/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
validateArray::validateItems
function
function validateItems(notValid) { const len = gen.const("len", (0, codegen_1._) `${data}.length`); gen.forRange("i", 0, len, (i) => { cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num, }, valid); gen.i...
1,285,851
4b6492caeb98cd52911405deffc4e212
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-103/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
validateArray
function
function validateArray(cxt) { const { gen, data, keyword, it } = cxt; const valid = gen.name("valid"); if (it.allErrors) { const validArr = gen.let("valid", true); validateItems(() => gen.assign(validArr, false)); return validArr; } gen.var(valid, true); validateItems(() ...
1,285,852
7ee3c093c4ff6084d57b439d21612f41
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=105-129/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
validateUnion
function
function validateUnion(cxt) { const { gen, schema, keyword, it } = cxt; /* istanbul ignore if */ if (!Array.isArray(schema)) throw new Error("ajv implementation error"); const alwaysValid = schema.some((sch) => (0, util_1.alwaysValidSchema)(it, sch)); if (alwaysValid && !it.opts.unevaluated)...
1,285,853
a0eb82bcd0cf1931f7b2f8ea8a4740a5
swh:1:cnt:8cb899324c1ab57aab07a1cda647f609b47a30a6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-79/
a66fd12f3ad7c28a570c46b48a1f65459d5c3202
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/code.js
usePattern
function
function usePattern({ gen, it: { opts } }, pattern) { const u = opts.unicodeRegExp ? "u" : ""; const { regExp } = opts.code; const rx = regExp(pattern, u); return gen.scopeValue("pattern", { key: rx.toString(), ref: rx, code: (0, codegen_1._) `${regExp.code === "new RegExp" ? new...
1,285,854
e2f93f0cd009c244fdd86ba7c3786c6e
swh:1:cnt:be67f2e82ef8e761e7f91480bd59c55e9e72385a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-9/
16bb651810c7c27209cb1fa6e95850816a776715
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/errors.d.ts
DefinedError
type
type DefinedError = TypeError | ApplicatorKeywordError | ValidationKeywordError | FormatError | UnevaluatedPropertiesError | UnevaluatedItemsError | DependentRequiredError | DiscriminatorError;
1,285,855
38307322f156fc7ac06e4fcabefcc30a
swh:1:cnt:607515646f79b448621e5873110668d7003a04e6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-5/
fbd9a0f7910539588221b3d144eefd9cef75c0ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts
AdditionalItemsError
type
type AdditionalItemsError = ErrorObject<"additionalItems", { limit: number; }, AnySchema>;
1,285,856
dd11b0f459533eb635b9c90745be9262
swh:1:cnt:608d51eb6a0b21cb29bca281e8259933c1d867b1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-24/
022bed51fa130023cc2729f5b0c94901b1c8d5e0
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
code
function
code(cxt) { const { parentSchema, it } = cxt; const { items } = parentSchema; if (!Array.isArray(items)) { (0, util_1.checkStrictMode)(it, '"additionalItems" is ignored when "items" is not an array of schemas'); return; } validateAdditionalItems(cxt, items...
1,285,857
a0330cc2309e7a7f13a33fb9c93eb869
swh:1:cnt:608d51eb6a0b21cb29bca281e8259933c1d867b1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-46/
022bed51fa130023cc2729f5b0c94901b1c8d5e0
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
validateAdditionalItems
function
function validateAdditionalItems(cxt, items) { const { gen, schema, data, keyword, it } = cxt; it.items = true; const len = gen.const("len", (0, codegen_1._) `${data}.length`); if (schema === false) { cxt.setParams({ len: items.length }); cxt.pass((0, codegen_1._) `${len} <= ${items.leng...
1,285,858
3bb41bce39d5208970d97b5863a056c1
swh:1:cnt:608d51eb6a0b21cb29bca281e8259933c1d867b1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-45/
022bed51fa130023cc2729f5b0c94901b1c8d5e0
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
validateAdditionalItems::validateItems
function
function validateItems(valid) { gen.forRange("i", items.length, len, (i) => { cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num }, valid); if (!it.allErrors) gen.if((0, codegen_1.not)(valid), () => gen.break()); }); }
1,285,859
b926384e9aac5fff9e07821ab7c7a0d1
swh:1:cnt:74698c7a2b49a6040c40b201fc77f0f71e7d3b58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/
4b47caa5beae355b5335b70fde2fe28a6a7e832f
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts
AdditionalPropertiesError
type
type AdditionalPropertiesError = ErrorObject<"additionalProperties", { additionalProperty: string; }, AnySchema>;
1,285,860
3636b4231d4fee26bdd6d109391cc8b0
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=57-59/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code::deleteAdditional
function
function deleteAdditional(key) { gen.code((0, codegen_1._) `delete ${data}[${key}]`); }
1,285,861
2e362a455d9b6efb8d1c979425001d72
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-38/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code::checkAdditionalProperties
function
function checkAdditionalProperties() { gen.forIn("key", data, (key) => { if (!props.length && !patProps.length) additionalPropertyCode(key); else gen.if(isAdditional(key), () => additionalPropertyCode(key)); }); }
1,285,862
b4b901b2c0012db7f1e362fe621b1f54
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-56/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code::isAdditional
function
function isAdditional(key) { let definedProp; if (props.length > 8) { // TODO maybe an option instead of hard-coded 8? const propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, "properties"); definedProp = (0, code_1.isOwnProperty...
1,285,863
65c60e0ef1d9961a790006e0124e400b
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=60-87/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code::additionalPropertyCode
function
function additionalPropertyCode(key) { if (opts.removeAdditional === "all" || (opts.removeAdditional && schema === false)) { deleteAdditional(key); return; } if (schema === false) { cxt.setParams({ additionalProperty: key }); ...
1,285,864
bcb27eec50e81fadfd91ff05795a8e57
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-102/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code::applyAdditionalSchema
function
function applyAdditionalSchema(key, valid, errors) { const subschema = { keyword: "additionalProperties", dataProp: key, dataPropType: util_1.Type.Str, }; if (errors === false) { Object.assign(subschema, { ...
1,285,865
ad61db2f56305a204faa6c47b7452108
swh:1:cnt:1d3374bb7650abeaa5037f7495cc14e141e89a39;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-103/
05bcd5c52090d9924bd6342e74dc8b9aed17dc93
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
code
function
code(cxt) { const { gen, schema, parentSchema, data, errsCount, it } = cxt; /* istanbul ignore if */ if (!errsCount) throw new Error("ajv implementation error"); const { allErrors, opts } = it; it.props = true; if (opts.removeAdditional !== "all" && (0, util_1...
1,285,866
75af67159f3109bc9957030d16108cd8
swh:1:cnt:1b1ae737611479c5f3ce00300629a91810658bbc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-20/
83d4bbc71e718a7904e3058edb8bf16a5a8eb06b
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/allOf.js
code
function
code(cxt) { const { gen, schema, it } = cxt; /* istanbul ignore if */ if (!Array.isArray(schema)) throw new Error("ajv implementation error"); const valid = gen.name("valid"); schema.forEach((sch, i) => { if ((0, util_1.alwaysValidSchema)(it, sch)) ...
1,285,867
0584eab7d022767ebe7bc47acfbcab91
swh:1:cnt:61bca56e0cbdd5296352b3480d7489bc9e7ca6db;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-2/
3da332a8ae395cb667af29bd6fd4ad0b2aab9a36
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts
AnyOfError
type
type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>;
1,285,868
9bc334931682728f97ce23c34afc210b
swh:1:cnt:5493e844f3ff728d9fe05769680144301cf0a969;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-5/
a689305de05cb054efc625b9d38170cf48d8c75a
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts
ContainsError
type
type ContainsError = ErrorObject<"contains", { minContains: number; maxContains?: number; }, AnySchema>;
1,285,869
1ea94abd239f0810b5a5b0351916717b
swh:1:cnt:6c5473f5d9b486b774494033b97978b3c42ca0d4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-92/
ee4374172d30246d8483bc4545d040fcdd24adda
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/contains.js
code
function
code(cxt) { const { gen, schema, parentSchema, data, it } = cxt; let min; let max; const { minContains, maxContains } = parentSchema; if (it.opts.next) { min = minContains === undefined ? 1 : minContains; max = maxContains; } else { ...
1,285,870
188c4d2e8b69e4c96e302c61d68c03dc
swh:1:cnt:6c5473f5d9b486b774494033b97978b3c42ca0d4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-78/
ee4374172d30246d8483bc4545d040fcdd24adda
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/contains.js
code::validateItems
function
function validateItems(_valid, block) { gen.forRange("i", 0, len, (i) => { cxt.subschema({ keyword: "contains", dataProp: i, dataPropType: util_1.Type.Num, compositeRule: true, }, _valid); ...
1,285,871
e97e9e03429ac9a70c8c33cb7db5f259
swh:1:cnt:6c5473f5d9b486b774494033b97978b3c42ca0d4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-91/
ee4374172d30246d8483bc4545d040fcdd24adda
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/contains.js
code::checkLimits
function
function checkLimits(count) { gen.code((0, codegen_1._) `${count}++`); if (max === undefined) { gen.if((0, codegen_1._) `${count} >= ${min}`, () => gen.assign(valid, true).break()); } else { gen.if((0, codegen_1._) `${count} > ${max}`, () =...
1,285,872
95fd0078ca301fae682ef9ad8a72324c
swh:1:cnt:6c5473f5d9b486b774494033b97978b3c42ca0d4;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-67/
ee4374172d30246d8483bc4545d040fcdd24adda
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/contains.js
code::validateItemsWithCount
function
function validateItemsWithCount() { const schValid = gen.name("_valid"); const count = gen.let("count", 0); validateItems(schValid, () => gen.if(schValid, () => checkLimits(count))); }
1,285,873
85fa67a888be95fe64564f6076a0465f
swh:1:cnt:05900e0c5091015a9d1c460d2cd0f72af9d57310;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-5/
652c740e119ea1902a13cf1586f3f9d6593a76bb
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts
PropertyDependencies
type
type PropertyDependencies = { [K in string]?: string[]; };
1,285,874
db4b586fd84d6ee89b163eba4b63c7ac
swh:1:cnt:05900e0c5091015a9d1c460d2cd0f72af9d57310;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-14/
652c740e119ea1902a13cf1586f3f9d6593a76bb
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts
DependenciesError
type
type DependenciesError = ErrorObject<"dependencies", DependenciesErrorParams, { [K in string]?: string[] | AnySchema; }>;
1,285,875
7dc62b6b9ed1c25290a928d88fc86d03
swh:1:cnt:05900e0c5091015a9d1c460d2cd0f72af9d57310;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-11/
652c740e119ea1902a13cf1586f3f9d6593a76bb
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts
DependenciesErrorParams
type
interface DependenciesErrorParams { property: string; missingProperty: string; depsCount: number; deps: string; }
1,285,876
6f71f7b25ab35d002f1941e5a1875fc7
swh:1:cnt:e81f86d1d9e25ef44ff6f096e1a9238a6f05b38e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-26/
f4e70bf7d6a5f73a61e978eb0f3b128c32742e19
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
code
function
code(cxt) { const [propDeps, schDeps] = splitDependencies(cxt); validatePropertyDeps(cxt, propDeps); validateSchemaDeps(cxt, schDeps); }
1,285,877
bc274a171f089e93c23c31f3fd124816
swh:1:cnt:e81f86d1d9e25ef44ff6f096e1a9238a6f05b38e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-82/
f4e70bf7d6a5f73a61e978eb0f3b128c32742e19
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
validateSchemaDeps
function
function validateSchemaDeps(cxt, schemaDeps = cxt.schema) { const { gen, data, keyword, it } = cxt; const valid = gen.name("valid"); for (const prop in schemaDeps) { if ((0, util_1.alwaysValidSchema)(it, schemaDeps[prop])) continue; gen.if((0, code_1.propertyInData)(gen, data, pr...
1,285,878
0984d78a7d0d5a28e01470194d4256a6
swh:1:cnt:e81f86d1d9e25ef44ff6f096e1a9238a6f05b38e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-67/
f4e70bf7d6a5f73a61e978eb0f3b128c32742e19
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
validatePropertyDeps
function
function validatePropertyDeps(cxt, propertyDeps = cxt.schema) { const { gen, data, it } = cxt; if (Object.keys(propertyDeps).length === 0) return; const missing = gen.let("missing"); for (const prop in propertyDeps) { const deps = propertyDeps[prop]; if (deps.length === 0) ...
1,285,879
c7eec63a176836984ddbb8dbae7e3a34
swh:1:cnt:e81f86d1d9e25ef44ff6f096e1a9238a6f05b38e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-38/
f4e70bf7d6a5f73a61e978eb0f3b128c32742e19
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
splitDependencies
function
function splitDependencies({ schema }) { const propertyDeps = {}; const schemaDeps = {}; for (const key in schema) { if (key === "__proto__") continue; const deps = Array.isArray(schema[key]) ? propertyDeps : schemaDeps; deps[key] = schema[key]; } return [property...
1,285,880
f6e1aae10cadc62aad416482038fc7be
swh:1:cnt:8f602e33fcd63a8fab700c9da4ec152945a3ce13;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/
40b9c092304a08d72ccf67ef49a5bbe3f2d5e786
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/if.d.ts
IfKeywordError
type
type IfKeywordError = ErrorObject<"if", { failingKeyword: string; }, AnySchema>;
1,285,881
2faa4867e6a182a92517b8d6bc4ac339
swh:1:cnt:2c42a3e9c56e0801c71681c38fcf0823c4e2d251;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-59/
9ea027fad22ef93e5828936897f7849595c05e61
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/if.js
code
function
code(cxt) { const { gen, parentSchema, it } = cxt; if (parentSchema.then === undefined && parentSchema.else === undefined) { (0, util_1.checkStrictMode)(it, '"if" without "then" and "else" is ignored'); } const hasThen = hasSchema(it, "then"); const hasElse = hasSchem...
1,285,882
3060626800519c491de84109541c2eb9
swh:1:cnt:2c42a3e9c56e0801c71681c38fcf0823c4e2d251;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-47/
9ea027fad22ef93e5828936897f7849595c05e61
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/if.js
code::validateIf
function
function validateIf() { const schCxt = cxt.subschema({ keyword: "if", compositeRule: true, createErrors: false, allErrors: false, }, schValid); cxt.mergeEvaluated(schCxt); }
1,285,883
3a3a88b8e0976e2f47da8f922a30d78b
swh:1:cnt:2c42a3e9c56e0801c71681c38fcf0823c4e2d251;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-58/
9ea027fad22ef93e5828936897f7849595c05e61
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/if.js
code::validateClause
function
function validateClause(keyword, ifClause) { return () => { const schCxt = cxt.subschema({ keyword }, schValid); gen.assign(valid, schValid); cxt.mergeValidEvaluated(schCxt, valid); if (ifClause) gen.assign(ifClause, (0, cod...
1,285,884
91aff24c75ec4a11520aaa85d5fdcc5c
swh:1:cnt:2c42a3e9c56e0801c71681c38fcf0823c4e2d251;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-64/
9ea027fad22ef93e5828936897f7849595c05e61
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/if.js
hasSchema
function
function hasSchema(it, keyword) { const schema = it.schema[keyword]; return schema !== undefined && !(0, util_1.alwaysValidSchema)(it, schema); }
1,285,885
14e72cdbf3f5e25507fbefc21d11bd1a
swh:1:cnt:b9cc5f5c89b90352a846405cc1c61e80364405d6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-13/
5e95ffe11ea6b771b322d4ca6c67aad5c6dab6d4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/index.d.ts
ApplicatorKeywordError
type
type ApplicatorKeywordError = ErrorNoParams<"false schema"> | AdditionalItemsError | ItemsError | ContainsError | AdditionalPropertiesError | DependenciesError | IfKeywordError | AnyOfError | OneOfError | NotKeywordError | PropertyNamesError;
1,285,886
be763321c5b4e32d7fade104dc450f6f
swh:1:cnt:cf592f2795ef281098834ec11f21634bc3b75a13;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-42/
9b7c83a6640b203f889fa3f027bfddf141c67ded
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/index.js
getApplicator
function
function getApplicator(draft2020 = false) { const applicator = [ // any not_1.default, anyOf_1.default, oneOf_1.default, allOf_1.default, if_1.default, thenElse_1.default, // object propertyNames_1.default, additionalProperties_1.defaul...
1,285,887
a3784a8b1d53e9bed84a1113f6707b65
swh:1:cnt:26f527bc69d233b0ae732531a73383191c2318d7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-20/
79c0d0c6a428a670a13b8fb76b69785205635abc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/items.js
code
function
code(cxt) { const { schema, it } = cxt; if (Array.isArray(schema)) return validateTuple(cxt, "additionalItems", schema); it.items = true; if ((0, util_1.alwaysValidSchema)(it, schema)) return; cxt.ok((0, code_1.validateArray)(cxt)); }
1,285,888
c1f6c4da53e10626455357c2018003c1
swh:1:cnt:26f527bc69d233b0ae732531a73383191c2318d7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-48/
79c0d0c6a428a670a13b8fb76b69785205635abc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/items.js
validateTuple::checkStrictTuple
function
function checkStrictTuple(sch) { const { opts, errSchemaPath } = it; const l = schArr.length; const fullTuple = l === sch.minItems && (l === sch.maxItems || sch[extraItems] === false); if (opts.strictTuples && !fullTuple) { const msg = `"${keyword}" is ${l}-tuple, but minItem...
1,285,889
720d85d813c59a925fe4a60597b757bd
swh:1:cnt:26f527bc69d233b0ae732531a73383191c2318d7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-49/
79c0d0c6a428a670a13b8fb76b69785205635abc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/items.js
validateTuple
function
function validateTuple(cxt, extraItems, schArr = cxt.schema) { const { gen, parentSchema, data, keyword, it } = cxt; checkStrictTuple(parentSchema); if (it.opts.unevaluated && schArr.length && it.items !== true) { it.items = util_1.mergeEvaluated.items(gen, schArr.length, it.items); } const ...
1,285,890
cb0d480df86293d86d4d28ed82878b5a
swh:1:cnt:a2565b2c2baff57afa9f8f1ac859b9775caf5422;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/
0f8a808daefa4a48e00c37be51d38ff16e1a1464
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts
ItemsError
type
type ItemsError = ErrorObject<"items", { limit: number; }, AnySchema>;
1,285,891
c2ca97e6dfd43d59f838d2fb50aef3cc
swh:1:cnt:f2387d7d206f67c44532ae1179e20c714db9f96a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-27/
f90c766ba71c16bb3cfbc750aac469afce003d17
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/items2020.js
code
function
code(cxt) { const { schema, parentSchema, it } = cxt; const { prefixItems } = parentSchema; it.items = true; if ((0, util_1.alwaysValidSchema)(it, schema)) return; if (prefixItems) (0, additionalItems_1.validateAdditionalItems)(cxt, prefixItems); e...
1,285,892
514670ce07e22af11d4f8d291b6efa30
swh:1:cnt:d2f4888f3db5f5b82ee780b141ab0c1fba4d6340;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-2/
87f6ced713b0eaad3c3836e5f05b7f363edcf6fa
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/not.d.ts
NotKeywordError
type
type NotKeywordError = ErrorNoParams<"not", AnySchema>;
1,285,893
1780c98987f5dba9378d0b299d2a9a8f
swh:1:cnt:89f6fddacf261c7ddb4a40094040239dba77b060;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-22/
e4cb0f3524cd86d457388f1ab13115053305910e
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/not.js
code
function
code(cxt) { const { gen, schema, it } = cxt; if ((0, util_1.alwaysValidSchema)(it, schema)) { cxt.fail(); return; } const valid = gen.name("valid"); cxt.subschema({ keyword: "not", compositeRule: true, createErrors: fals...
1,285,894
785a6fe4f1e1e7b6d147dac94f299a65
swh:1:cnt:1e1d34f7251e2e0efe275c63e98a251d20fa8473;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-4/
691363f73618b0650cba693b089e2abe3910ce26
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts
OneOfError
type
type OneOfError = ErrorObject<"oneOf", { passingSchemas: [number, number] | null; }, AnySchema[]>;
1,285,895
fb3b4dac4a47615c688225c271dbf7de
swh:1:cnt:441db2ac0b178f6297de1fbf85a4d0c1cd79a90e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-57/
c162fb98c4dd25af805ef55790aeaa2d33f7d7ac
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
code
function
code(cxt) { const { gen, schema, parentSchema, it } = cxt; /* istanbul ignore if */ if (!Array.isArray(schema)) throw new Error("ajv implementation error"); if (it.opts.discriminator && parentSchema.discriminator) return; const schArr = schema; con...
1,285,896
aff194a995dd5294125fbe5da2a9a4af
swh:1:cnt:441db2ac0b178f6297de1fbf85a4d0c1cd79a90e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-56/
c162fb98c4dd25af805ef55790aeaa2d33f7d7ac
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
code::validateOneOf
function
function validateOneOf() { schArr.forEach((sch, i) => { let schCxt; if ((0, util_1.alwaysValidSchema)(it, sch)) { gen.var(schValid, true); } else { schCxt = cxt.subschema({ keyword...
1,285,897
9b36acaea9387b4fa7cabde758a4a59f
swh:1:cnt:48501c6e33e3c492b927ecfc02fb990651ab1b3d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-72/
39ffb43307c3336a389d44cee32a38235b7d11d1
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
code
function
code(cxt) { const { gen, schema, data, parentSchema, it } = cxt; const { opts } = it; const patterns = (0, code_1.allSchemaProperties)(schema); const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p])); if (patterns.length === 0 || ...
1,285,898
3d65913a02e220e6fdea6fd1ae742207
swh:1:cnt:48501c6e33e3c492b927ecfc02fb990651ab1b3d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-71/
39ffb43307c3336a389d44cee32a38235b7d11d1
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
code::validateProperties
function
function validateProperties(pat) { gen.forIn("key", data, (key) => { gen.if((0, codegen_1._) `${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => { const alwaysValid = alwaysValidPatterns.includes(pat); if (!alwaysValid) { ...
1,285,899
d4de78f4501f7752823c7a49cca4a7ff
swh:1:cnt:48501c6e33e3c492b927ecfc02fb990651ab1b3d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-41/
39ffb43307c3336a389d44cee32a38235b7d11d1
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
code::validatePatternProperties
function
function validatePatternProperties() { for (const pat of patterns) { if (checkProperties) checkMatchingProperties(pat); if (it.allErrors) { validateProperties(pat); } else { gen.var(va...