first commit
This commit is contained in:
148
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
148
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
@@ -0,0 +1,148 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED. Run `npm run bidi-types` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
import z from 'zod';
|
||||
export declare const PermissionsCommandSchema: z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
||||
method: z.ZodLiteral<"permissions.setPermission">;
|
||||
params: z.ZodLazy<z.ZodObject<{
|
||||
descriptor: z.ZodLazy<z.ZodObject<{
|
||||
name: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
name: string;
|
||||
}, {
|
||||
name: string;
|
||||
}>>;
|
||||
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
|
||||
origin: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
params: {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
};
|
||||
method: "permissions.setPermission";
|
||||
}, {
|
||||
params: {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
};
|
||||
method: "permissions.setPermission";
|
||||
}>>>;
|
||||
export declare namespace Permissions {
|
||||
const PermissionDescriptorSchema: z.ZodLazy<z.ZodObject<{
|
||||
name: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
name: string;
|
||||
}, {
|
||||
name: string;
|
||||
}>>;
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
const PermissionStateSchema: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
const SetPermissionSchema: z.ZodLazy<z.ZodObject<{
|
||||
method: z.ZodLiteral<"permissions.setPermission">;
|
||||
params: z.ZodLazy<z.ZodObject<{
|
||||
descriptor: z.ZodLazy<z.ZodObject<{
|
||||
name: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
name: string;
|
||||
}, {
|
||||
name: string;
|
||||
}>>;
|
||||
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
|
||||
origin: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
params: {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
};
|
||||
method: "permissions.setPermission";
|
||||
}, {
|
||||
params: {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
};
|
||||
method: "permissions.setPermission";
|
||||
}>>;
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
const SetPermissionParametersSchema: z.ZodLazy<z.ZodObject<{
|
||||
descriptor: z.ZodLazy<z.ZodObject<{
|
||||
name: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
name: string;
|
||||
}, {
|
||||
name: string;
|
||||
}>>;
|
||||
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
|
||||
origin: z.ZodString;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}, {
|
||||
origin: string;
|
||||
descriptor: {
|
||||
name: string;
|
||||
};
|
||||
state: "granted" | "denied" | "prompt";
|
||||
}>>;
|
||||
}
|
||||
53
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
53
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Permissions = exports.PermissionsCommandSchema = void 0;
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED. Run `npm run bidi-types` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-nocheck Some types may be circular.
|
||||
const zod_1 = __importDefault(require("zod"));
|
||||
exports.PermissionsCommandSchema = zod_1.default.lazy(() => Permissions.SetPermissionSchema);
|
||||
var Permissions;
|
||||
(function (Permissions) {
|
||||
Permissions.PermissionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.object({
|
||||
name: zod_1.default.string(),
|
||||
}));
|
||||
})(Permissions || (exports.Permissions = Permissions = {}));
|
||||
(function (Permissions) {
|
||||
Permissions.PermissionStateSchema = zod_1.default.lazy(() => zod_1.default.enum(['granted', 'denied', 'prompt']));
|
||||
})(Permissions || (exports.Permissions = Permissions = {}));
|
||||
(function (Permissions) {
|
||||
Permissions.SetPermissionSchema = zod_1.default.lazy(() => zod_1.default.object({
|
||||
method: zod_1.default.literal('permissions.setPermission'),
|
||||
params: Permissions.SetPermissionParametersSchema,
|
||||
}));
|
||||
})(Permissions || (exports.Permissions = Permissions = {}));
|
||||
(function (Permissions) {
|
||||
Permissions.SetPermissionParametersSchema = zod_1.default.lazy(() => zod_1.default.object({
|
||||
descriptor: Permissions.PermissionDescriptorSchema,
|
||||
state: Permissions.PermissionStateSchema,
|
||||
origin: zod_1.default.string(),
|
||||
}));
|
||||
})(Permissions || (exports.Permissions = Permissions = {}));
|
||||
//# sourceMappingURL=webdriver-bidi-permissions.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;AAEH;;;GAGG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,8CAAoB;AAEP,QAAA,wBAAwB,GAAG,aAAC,CAAC,IAAI,CAC5C,GAAG,EAAE,CAAC,WAAW,CAAC,mBAAmB,CACtC,CAAC;AACF,IAAiB,WAAW,CAM3B;AAND,WAAiB,WAAW;IACb,sCAA0B,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACpD,aAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CACH,CAAC;AACJ,CAAC,EANgB,WAAW,2BAAX,WAAW,QAM3B;AACD,WAAiB,WAAW;IACb,iCAAqB,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC/C,aAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CACxC,CAAC;AACJ,CAAC,EAJgB,WAAW,2BAAX,WAAW,QAI3B;AACD,WAAiB,WAAW;IACb,+BAAmB,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC7C,aAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;QAC9C,MAAM,EAAE,WAAW,CAAC,6BAA6B;KAClD,CAAC,CACH,CAAC;AACJ,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AACD,WAAiB,WAAW;IACb,yCAA6B,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvD,aAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,WAAW,CAAC,0BAA0B;QAClD,KAAK,EAAE,WAAW,CAAC,qBAAqB;QACxC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE;KACnB,CAAC,CACH,CAAC;AACJ,CAAC,EARgB,WAAW,2BAAX,WAAW,QAQ3B"}
|
||||
76465
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
76465
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2136
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js
generated
vendored
Normal file
2136
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user