FRE-651: CEO coordination notes for founder bio/headshot assets
This commit is contained in:
42
node_modules/.package-lock.json
generated
vendored
42
node_modules/.package-lock.json
generated
vendored
@@ -310,6 +310,20 @@
|
||||
"integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@clerk/backend": {
|
||||
"version": "3.4.1",
|
||||
"resolved": "https://registry.npmjs.org/@clerk/backend/-/backend-3.4.1.tgz",
|
||||
"integrity": "sha512-+Tgo1uPEFpBRvyFW3JtPbrTMRgiP+pWBo9gi2tTB0AxEqR2I/kSYy5l3+KqWciUpbVZtVvLXm1j+NEE2WEG+jg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@clerk/shared": "^4.8.5",
|
||||
"standardwebhooks": "^1.0.0",
|
||||
"tslib": "2.8.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@clerk/clerk-js": {
|
||||
"version": "6.7.5",
|
||||
"resolved": "https://registry.npmjs.org/@clerk/clerk-js/-/clerk-js-6.7.5.tgz",
|
||||
@@ -349,9 +363,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@clerk/shared": {
|
||||
"version": "4.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-4.8.3.tgz",
|
||||
"integrity": "sha512-HZViZBCTfOR2OreSBDMXcIRPgYiiYCE+GCCPrpjq/ZPcA6OsGiRCIQgUoGgGdAoFgr6Hk0TT00hnVK7g0qRKqQ==",
|
||||
"version": "4.8.5",
|
||||
"resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-4.8.5.tgz",
|
||||
"integrity": "sha512-YxgUWHoKEXEbRPWPEcB2Q0o+NJkDc0/zQRp4QCsnGIM5e32hlBUwxcYpyDjDlZ2lYB+GUXHuEc3KETnxWGp26g==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -1834,6 +1848,12 @@
|
||||
"solid-js": "^1.8.6"
|
||||
}
|
||||
},
|
||||
"node_modules/@stablelib/base64": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz",
|
||||
"integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@stripe/stripe-js": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-5.6.0.tgz",
|
||||
@@ -4428,6 +4448,12 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/fast-sha256": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz",
|
||||
"integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==",
|
||||
"license": "Unlicense"
|
||||
},
|
||||
"node_modules/fast-stable-stringify": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz",
|
||||
@@ -8186,6 +8212,16 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/standardwebhooks": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.0.0.tgz",
|
||||
"integrity": "sha512-BbHGOQK9olHPMvQNHWul6MYlrRTAOKn03rOe4A8O3CLWhNf4YHBqq2HJKKC+sfqpxiBY52pNeesD6jIiLDz8jg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@stablelib/base64": "^1.0.0",
|
||||
"fast-sha256": "^1.3.0"
|
||||
}
|
||||
},
|
||||
"node_modules/statuses": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
|
||||
|
||||
21071
node_modules/.vite/deps/@clerk_clerk-js.js
generated
vendored
Normal file
21071
node_modules/.vite/deps/@clerk_clerk-js.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7
node_modules/.vite/deps/@clerk_clerk-js.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/@clerk_clerk-js.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
4058
node_modules/.vite/deps/@trpc_client.js
generated
vendored
Normal file
4058
node_modules/.vite/deps/@trpc_client.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/@trpc_client.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/@trpc_client.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
61
node_modules/.vite/deps/_metadata.json
generated
vendored
Normal file
61
node_modules/.vite/deps/_metadata.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"hash": "6f3e0877",
|
||||
"configHash": "197762a3",
|
||||
"lockfileHash": "c625b10d",
|
||||
"browserHash": "d0c1873a",
|
||||
"optimized": {
|
||||
"solid-js": {
|
||||
"src": "../../solid-js/dist/dev.js",
|
||||
"file": "solid-js.js",
|
||||
"fileHash": "3164fc80",
|
||||
"needsInterop": false
|
||||
},
|
||||
"solid-js/web": {
|
||||
"src": "../../solid-js/web/dist/dev.js",
|
||||
"file": "solid-js_web.js",
|
||||
"fileHash": "201f5c79",
|
||||
"needsInterop": false
|
||||
},
|
||||
"solid-js/store": {
|
||||
"src": "../../solid-js/store/dist/dev.js",
|
||||
"file": "solid-js_store.js",
|
||||
"fileHash": "667f0457",
|
||||
"needsInterop": false
|
||||
},
|
||||
"solid-js/html": {
|
||||
"src": "../../solid-js/html/dist/html.js",
|
||||
"file": "solid-js_html.js",
|
||||
"fileHash": "03866eae",
|
||||
"needsInterop": false
|
||||
},
|
||||
"solid-js/h": {
|
||||
"src": "../../solid-js/h/dist/h.js",
|
||||
"file": "solid-js_h.js",
|
||||
"fileHash": "e3a86101",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@clerk/clerk-js": {
|
||||
"src": "../../@clerk/clerk-js/dist/clerk.mjs",
|
||||
"file": "@clerk_clerk-js.js",
|
||||
"fileHash": "4646143d",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@trpc/client": {
|
||||
"src": "../../@trpc/client/dist/index.mjs",
|
||||
"file": "@trpc_client.js",
|
||||
"fileHash": "aef77499",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-C3OSZ7ZC": {
|
||||
"file": "chunk-C3OSZ7ZC.js"
|
||||
},
|
||||
"chunk-P5AEBATJ": {
|
||||
"file": "chunk-P5AEBATJ.js"
|
||||
},
|
||||
"chunk-5Z66FT5C": {
|
||||
"file": "chunk-5Z66FT5C.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
29
node_modules/.vite/deps/chunk-5Z66FT5C.js
generated
vendored
Normal file
29
node_modules/.vite/deps/chunk-5Z66FT5C.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __typeError = (msg) => {
|
||||
throw TypeError(msg);
|
||||
};
|
||||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
||||
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
||||
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
||||
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
||||
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
||||
var __privateWrapper = (obj, member, setter, getter) => ({
|
||||
set _(value) {
|
||||
__privateSet(obj, member, value, setter);
|
||||
},
|
||||
get _() {
|
||||
return __privateGet(obj, member, getter);
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
__publicField,
|
||||
__privateGet,
|
||||
__privateAdd,
|
||||
__privateSet,
|
||||
__privateMethod,
|
||||
__privateWrapper
|
||||
};
|
||||
//# sourceMappingURL=chunk-5Z66FT5C.js.map
|
||||
7
node_modules/.vite/deps/chunk-5Z66FT5C.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-5Z66FT5C.js.map
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
1253
node_modules/.vite/deps/chunk-C3OSZ7ZC.js
generated
vendored
Normal file
1253
node_modules/.vite/deps/chunk-C3OSZ7ZC.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-C3OSZ7ZC.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-C3OSZ7ZC.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1818
node_modules/.vite/deps/chunk-P5AEBATJ.js
generated
vendored
Normal file
1818
node_modules/.vite/deps/chunk-P5AEBATJ.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-P5AEBATJ.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-P5AEBATJ.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/.vite/deps/package.json
generated
vendored
Normal file
3
node_modules/.vite/deps/package.json
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
114
node_modules/.vite/deps/solid-js.js
generated
vendored
Normal file
114
node_modules/.vite/deps/solid-js.js
generated
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
import {
|
||||
$DEVCOMP,
|
||||
$PROXY,
|
||||
$TRACK,
|
||||
DEV,
|
||||
ErrorBoundary,
|
||||
For,
|
||||
Index,
|
||||
Match,
|
||||
Show,
|
||||
Suspense,
|
||||
SuspenseList,
|
||||
Switch,
|
||||
batch,
|
||||
cancelCallback,
|
||||
catchError,
|
||||
children,
|
||||
createComponent,
|
||||
createComputed,
|
||||
createContext,
|
||||
createDeferred,
|
||||
createEffect,
|
||||
createMemo,
|
||||
createReaction,
|
||||
createRenderEffect,
|
||||
createResource,
|
||||
createRoot,
|
||||
createSelector,
|
||||
createSignal,
|
||||
createUniqueId,
|
||||
enableExternalSource,
|
||||
enableHydration,
|
||||
enableScheduling,
|
||||
equalFn,
|
||||
from,
|
||||
getListener,
|
||||
getOwner,
|
||||
indexArray,
|
||||
lazy,
|
||||
mapArray,
|
||||
mergeProps,
|
||||
observable,
|
||||
on,
|
||||
onCleanup,
|
||||
onError,
|
||||
onMount,
|
||||
requestCallback,
|
||||
resetErrorBoundaries,
|
||||
runWithOwner,
|
||||
sharedConfig,
|
||||
splitProps,
|
||||
startTransition,
|
||||
untrack,
|
||||
useContext,
|
||||
useTransition
|
||||
} from "./chunk-P5AEBATJ.js";
|
||||
import "./chunk-5Z66FT5C.js";
|
||||
export {
|
||||
$DEVCOMP,
|
||||
$PROXY,
|
||||
$TRACK,
|
||||
DEV,
|
||||
ErrorBoundary,
|
||||
For,
|
||||
Index,
|
||||
Match,
|
||||
Show,
|
||||
Suspense,
|
||||
SuspenseList,
|
||||
Switch,
|
||||
batch,
|
||||
cancelCallback,
|
||||
catchError,
|
||||
children,
|
||||
createComponent,
|
||||
createComputed,
|
||||
createContext,
|
||||
createDeferred,
|
||||
createEffect,
|
||||
createMemo,
|
||||
createReaction,
|
||||
createRenderEffect,
|
||||
createResource,
|
||||
createRoot,
|
||||
createSelector,
|
||||
createSignal,
|
||||
createUniqueId,
|
||||
enableExternalSource,
|
||||
enableHydration,
|
||||
enableScheduling,
|
||||
equalFn,
|
||||
from,
|
||||
getListener,
|
||||
getOwner,
|
||||
indexArray,
|
||||
lazy,
|
||||
mapArray,
|
||||
mergeProps,
|
||||
observable,
|
||||
on,
|
||||
onCleanup,
|
||||
onError,
|
||||
onMount,
|
||||
requestCallback,
|
||||
resetErrorBoundaries,
|
||||
runWithOwner,
|
||||
sharedConfig,
|
||||
splitProps,
|
||||
startTransition,
|
||||
untrack,
|
||||
useContext,
|
||||
useTransition
|
||||
};
|
||||
//# sourceMappingURL=solid-js.js.map
|
||||
7
node_modules/.vite/deps/solid-js.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/solid-js.js.map
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
123
node_modules/.vite/deps/solid-js_h.js
generated
vendored
Normal file
123
node_modules/.vite/deps/solid-js_h.js
generated
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
import {
|
||||
SVGElements,
|
||||
assign,
|
||||
dynamicProperty,
|
||||
insert,
|
||||
spread
|
||||
} from "./chunk-C3OSZ7ZC.js";
|
||||
import {
|
||||
createComponent
|
||||
} from "./chunk-P5AEBATJ.js";
|
||||
import "./chunk-5Z66FT5C.js";
|
||||
|
||||
// node_modules/solid-js/h/dist/h.js
|
||||
var $ELEMENT = Symbol("hyper-element");
|
||||
function createHyperScript(r) {
|
||||
function h2() {
|
||||
let args = [].slice.call(arguments), e, classes = [], multiExpression = false;
|
||||
while (Array.isArray(args[0])) args = args[0];
|
||||
if (args[0][$ELEMENT]) args.unshift(h2.Fragment);
|
||||
typeof args[0] === "string" && detectMultiExpression(args);
|
||||
const ret = () => {
|
||||
while (args.length) item(args.shift());
|
||||
if (e instanceof Element && classes.length) e.classList.add(...classes);
|
||||
return e;
|
||||
};
|
||||
ret[$ELEMENT] = true;
|
||||
return ret;
|
||||
function item(l) {
|
||||
const type = typeof l;
|
||||
if (l == null) ;
|
||||
else if ("string" === type) {
|
||||
if (!e) parseClass(l);
|
||||
else e.appendChild(document.createTextNode(l));
|
||||
} else if ("number" === type || "boolean" === type || "bigint" === type || "symbol" === type || l instanceof Date || l instanceof RegExp) {
|
||||
e.appendChild(document.createTextNode(l.toString()));
|
||||
} else if (Array.isArray(l)) {
|
||||
for (let i = 0; i < l.length; i++) item(l[i]);
|
||||
} else if (l instanceof Element) {
|
||||
r.insert(e, l, multiExpression ? null : void 0);
|
||||
} else if ("object" === type) {
|
||||
let dynamic = false;
|
||||
const d = Object.getOwnPropertyDescriptors(l);
|
||||
for (const k in d) {
|
||||
if (k === "class" && classes.length !== 0) {
|
||||
const fixedClasses = classes.join(" "), value = typeof d["class"].value === "function" ? () => fixedClasses + " " + d["class"].value() : fixedClasses + " " + l["class"];
|
||||
Object.defineProperty(l, "class", {
|
||||
...d[k],
|
||||
value
|
||||
});
|
||||
classes = [];
|
||||
}
|
||||
if (k !== "ref" && k.slice(0, 2) !== "on" && typeof d[k].value === "function") {
|
||||
r.dynamicProperty(l, k);
|
||||
dynamic = true;
|
||||
} else if (d[k].get) dynamic = true;
|
||||
}
|
||||
dynamic ? r.spread(e, l, e instanceof SVGElement, !!args.length) : r.assign(e, l, e instanceof SVGElement, !!args.length);
|
||||
} else if ("function" === type) {
|
||||
if (!e) {
|
||||
let props, next = args[0];
|
||||
if (next == null || typeof next === "object" && !Array.isArray(next) && !(next instanceof Element)) props = args.shift();
|
||||
props || (props = {});
|
||||
if (args.length) {
|
||||
props.children = args.length > 1 ? args : args[0];
|
||||
}
|
||||
const d = Object.getOwnPropertyDescriptors(props);
|
||||
for (const k in d) {
|
||||
if (Array.isArray(d[k].value)) {
|
||||
const list = d[k].value;
|
||||
props[k] = () => {
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
while (list[i][$ELEMENT]) list[i] = list[i]();
|
||||
}
|
||||
return list;
|
||||
};
|
||||
r.dynamicProperty(props, k);
|
||||
} else if (typeof d[k].value === "function" && !d[k].value.length) r.dynamicProperty(props, k);
|
||||
}
|
||||
e = r.createComponent(l, props);
|
||||
args = [];
|
||||
} else {
|
||||
while (l[$ELEMENT]) l = l();
|
||||
r.insert(e, l, multiExpression ? null : void 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
function parseClass(string) {
|
||||
const m = string.split(/([\.#]?[^\s#.]+)/);
|
||||
if (/^\.|#/.test(m[1])) e = document.createElement("div");
|
||||
for (let i = 0; i < m.length; i++) {
|
||||
const v = m[i], s = v.substring(1, v.length);
|
||||
if (!v) continue;
|
||||
if (!e) e = r.SVGElements.has(v) ? document.createElementNS("http://www.w3.org/2000/svg", v) : document.createElement(v);
|
||||
else if (v[0] === ".") classes.push(s);
|
||||
else if (v[0] === "#") e.setAttribute("id", s);
|
||||
}
|
||||
}
|
||||
function detectMultiExpression(list) {
|
||||
for (let i = 1; i < list.length; i++) {
|
||||
if (typeof list[i] === "function") {
|
||||
multiExpression = true;
|
||||
return;
|
||||
} else if (Array.isArray(list[i])) {
|
||||
detectMultiExpression(list[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
h2.Fragment = (props) => props.children;
|
||||
return h2;
|
||||
}
|
||||
var h = createHyperScript({
|
||||
spread,
|
||||
assign,
|
||||
insert,
|
||||
createComponent,
|
||||
dynamicProperty,
|
||||
SVGElements
|
||||
});
|
||||
export {
|
||||
h as default
|
||||
};
|
||||
//# sourceMappingURL=solid-js_h.js.map
|
||||
7
node_modules/.vite/deps/solid-js_h.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/solid-js_h.js.map
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../solid-js/h/dist/h.js"],
|
||||
"sourcesContent": ["import { SVGElements, dynamicProperty, createComponent, insert, assign, spread } from 'solid-js/web';\n\nconst $ELEMENT = Symbol(\"hyper-element\");\nfunction createHyperScript(r) {\n function h() {\n let args = [].slice.call(arguments),\n e,\n classes = [],\n multiExpression = false;\n while (Array.isArray(args[0])) args = args[0];\n if (args[0][$ELEMENT]) args.unshift(h.Fragment);\n typeof args[0] === \"string\" && detectMultiExpression(args);\n const ret = () => {\n while (args.length) item(args.shift());\n if (e instanceof Element && classes.length) e.classList.add(...classes);\n return e;\n };\n ret[$ELEMENT] = true;\n return ret;\n function item(l) {\n const type = typeof l;\n if (l == null) ;else if (\"string\" === type) {\n if (!e) parseClass(l);else e.appendChild(document.createTextNode(l));\n } else if (\"number\" === type || \"boolean\" === type || \"bigint\" === type || \"symbol\" === type || l instanceof Date || l instanceof RegExp) {\n e.appendChild(document.createTextNode(l.toString()));\n } else if (Array.isArray(l)) {\n for (let i = 0; i < l.length; i++) item(l[i]);\n } else if (l instanceof Element) {\n r.insert(e, l, multiExpression ? null : undefined);\n } else if (\"object\" === type) {\n let dynamic = false;\n const d = Object.getOwnPropertyDescriptors(l);\n for (const k in d) {\n if (k === \"class\" && classes.length !== 0) {\n const fixedClasses = classes.join(\" \"),\n value = typeof d[\"class\"].value === \"function\" ? () => fixedClasses + \" \" + d[\"class\"].value() : fixedClasses + \" \" + l[\"class\"];\n Object.defineProperty(l, \"class\", {\n ...d[k],\n value\n });\n classes = [];\n }\n if (k !== \"ref\" && k.slice(0, 2) !== \"on\" && typeof d[k].value === \"function\") {\n r.dynamicProperty(l, k);\n dynamic = true;\n } else if (d[k].get) dynamic = true;\n }\n dynamic ? r.spread(e, l, e instanceof SVGElement, !!args.length) : r.assign(e, l, e instanceof SVGElement, !!args.length);\n } else if (\"function\" === type) {\n if (!e) {\n let props,\n next = args[0];\n if (next == null || typeof next === \"object\" && !Array.isArray(next) && !(next instanceof Element)) props = args.shift();\n props || (props = {});\n if (args.length) {\n props.children = args.length > 1 ? args : args[0];\n }\n const d = Object.getOwnPropertyDescriptors(props);\n for (const k in d) {\n if (Array.isArray(d[k].value)) {\n const list = d[k].value;\n props[k] = () => {\n for (let i = 0; i < list.length; i++) {\n while (list[i][$ELEMENT]) list[i] = list[i]();\n }\n return list;\n };\n r.dynamicProperty(props, k);\n } else if (typeof d[k].value === \"function\" && !d[k].value.length) r.dynamicProperty(props, k);\n }\n e = r.createComponent(l, props);\n args = [];\n } else {\n while (l[$ELEMENT]) l = l();\n r.insert(e, l, multiExpression ? null : undefined);\n }\n }\n }\n function parseClass(string) {\n const m = string.split(/([\\.#]?[^\\s#.]+)/);\n if (/^\\.|#/.test(m[1])) e = document.createElement(\"div\");\n for (let i = 0; i < m.length; i++) {\n const v = m[i],\n s = v.substring(1, v.length);\n if (!v) continue;\n if (!e) e = r.SVGElements.has(v) ? document.createElementNS(\"http://www.w3.org/2000/svg\", v) : document.createElement(v);else if (v[0] === \".\") classes.push(s);else if (v[0] === \"#\") e.setAttribute(\"id\", s);\n }\n }\n function detectMultiExpression(list) {\n for (let i = 1; i < list.length; i++) {\n if (typeof list[i] === \"function\") {\n multiExpression = true;\n return;\n } else if (Array.isArray(list[i])) {\n detectMultiExpression(list[i]);\n }\n }\n }\n }\n h.Fragment = props => props.children;\n return h;\n}\n\nconst h = createHyperScript({\n spread,\n assign,\n insert,\n createComponent,\n dynamicProperty,\n SVGElements\n});\n\nexport { h as default };\n"],
|
||||
"mappings": "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",
|
||||
"names": ["h"]
|
||||
}
|
||||
608
node_modules/.vite/deps/solid-js_html.js
generated
vendored
Normal file
608
node_modules/.vite/deps/solid-js_html.js
generated
vendored
Normal file
@@ -0,0 +1,608 @@
|
||||
import {
|
||||
Aliases,
|
||||
ChildProperties,
|
||||
DelegatedEvents,
|
||||
Properties,
|
||||
SVGElements,
|
||||
SVGNamespace,
|
||||
addEventListener,
|
||||
classList,
|
||||
delegateEvents,
|
||||
dynamicProperty,
|
||||
getPropAlias,
|
||||
insert,
|
||||
setAttribute,
|
||||
setAttributeNS,
|
||||
spread,
|
||||
style
|
||||
} from "./chunk-C3OSZ7ZC.js";
|
||||
import {
|
||||
createComponent,
|
||||
createRenderEffect,
|
||||
mergeProps,
|
||||
untrack
|
||||
} from "./chunk-P5AEBATJ.js";
|
||||
import "./chunk-5Z66FT5C.js";
|
||||
|
||||
// node_modules/solid-js/html/dist/html.js
|
||||
var tagRE = /(?:<!--[\S\s]*?-->|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g;
|
||||
var attrRE = /(?:\s(?<boolean>[^/\s><=]+?)(?=[\s/>]))|(?:(?<name>\S+?)(?:\s*=\s*(?:(['"])(?<quotedValue>[\s\S]*?)\3|(?<unquotedValue>[^\s>]+))))/g;
|
||||
var lookup = {
|
||||
area: true,
|
||||
base: true,
|
||||
br: true,
|
||||
col: true,
|
||||
embed: true,
|
||||
hr: true,
|
||||
img: true,
|
||||
input: true,
|
||||
keygen: true,
|
||||
link: true,
|
||||
menuitem: true,
|
||||
meta: true,
|
||||
param: true,
|
||||
source: true,
|
||||
track: true,
|
||||
wbr: true
|
||||
};
|
||||
function parseTag(tag) {
|
||||
const res = {
|
||||
type: "tag",
|
||||
name: "",
|
||||
voidElement: false,
|
||||
attrs: [],
|
||||
children: []
|
||||
};
|
||||
const tagMatch = tag.match(/<\/?([^\s]+?)[/\s>]/);
|
||||
if (tagMatch) {
|
||||
res.name = tagMatch[1];
|
||||
if (lookup[tagMatch[1].toLowerCase()] || tag.charAt(tag.length - 2) === "/") {
|
||||
res.voidElement = true;
|
||||
}
|
||||
if (res.name.startsWith("!--")) {
|
||||
const endIndex = tag.indexOf("-->");
|
||||
return {
|
||||
type: "comment",
|
||||
comment: endIndex !== -1 ? tag.slice(4, endIndex) : ""
|
||||
};
|
||||
}
|
||||
}
|
||||
const reg = new RegExp(attrRE);
|
||||
for (const match of tag.matchAll(reg)) {
|
||||
if ((match[1] || match[2]).startsWith("use:")) {
|
||||
res.attrs.push({
|
||||
type: "directive",
|
||||
name: match[1] || match[2],
|
||||
value: match[4] || match[5] || ""
|
||||
});
|
||||
} else {
|
||||
res.attrs.push({
|
||||
type: "attr",
|
||||
name: match[1] || match[2],
|
||||
value: match[4] || match[5] || ""
|
||||
});
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
function pushTextNode(list, html2, start) {
|
||||
const end = html2.indexOf("<", start);
|
||||
const content = html2.slice(start, end === -1 ? void 0 : end);
|
||||
if (!/^\s*$/.test(content)) {
|
||||
list.push({
|
||||
type: "text",
|
||||
content
|
||||
});
|
||||
}
|
||||
}
|
||||
function pushCommentNode(list, tag) {
|
||||
const content = tag.replace("<!--", "").replace("-->", "");
|
||||
if (!/^\s*$/.test(content)) {
|
||||
list.push({
|
||||
type: "comment",
|
||||
content
|
||||
});
|
||||
}
|
||||
}
|
||||
function parse(html2) {
|
||||
const result = [];
|
||||
let current = void 0;
|
||||
let level = -1;
|
||||
const arr = [];
|
||||
const byTag = {};
|
||||
html2.replace(tagRE, (tag, index) => {
|
||||
const isOpen = tag.charAt(1) !== "/";
|
||||
const isComment = tag.slice(0, 4) === "<!--";
|
||||
const start = index + tag.length;
|
||||
const nextChar = html2.charAt(start);
|
||||
let parent = void 0;
|
||||
if (isOpen && !isComment) {
|
||||
level++;
|
||||
current = parseTag(tag);
|
||||
if (!current.voidElement && nextChar && nextChar !== "<") {
|
||||
pushTextNode(current.children, html2, start);
|
||||
}
|
||||
byTag[current.tagName] = current;
|
||||
if (level === 0) {
|
||||
result.push(current);
|
||||
}
|
||||
parent = arr[level - 1];
|
||||
if (parent) {
|
||||
parent.children.push(current);
|
||||
}
|
||||
arr[level] = current;
|
||||
}
|
||||
if (isComment) {
|
||||
if (level < 0) {
|
||||
pushCommentNode(result, tag);
|
||||
} else {
|
||||
pushCommentNode(arr[level].children, tag);
|
||||
}
|
||||
}
|
||||
if (isComment || !isOpen || current.voidElement) {
|
||||
if (!isComment) {
|
||||
level--;
|
||||
}
|
||||
if (nextChar !== "<" && nextChar) {
|
||||
parent = level === -1 ? result : arr[level].children;
|
||||
pushTextNode(parent, html2, start);
|
||||
}
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
function attrString(attrs) {
|
||||
const buff = [];
|
||||
for (const attr of attrs) {
|
||||
buff.push(attr.name + '="' + attr.value.replace(/"/g, """) + '"');
|
||||
}
|
||||
if (!buff.length) {
|
||||
return "";
|
||||
}
|
||||
return " " + buff.join(" ");
|
||||
}
|
||||
function stringifier(buff, doc) {
|
||||
switch (doc.type) {
|
||||
case "text":
|
||||
return buff + doc.content;
|
||||
case "tag":
|
||||
buff += "<" + doc.name + (doc.attrs ? attrString(doc.attrs) : "") + (doc.voidElement ? "/>" : ">");
|
||||
if (doc.voidElement) {
|
||||
return buff;
|
||||
}
|
||||
return buff + doc.children.reduce(stringifier, "") + "</" + doc.name + ">";
|
||||
case "comment":
|
||||
return buff += "<!--" + doc.content + "-->";
|
||||
}
|
||||
}
|
||||
function stringify(doc) {
|
||||
return doc.reduce(function(token, rootEl) {
|
||||
return token + stringifier("", rootEl);
|
||||
}, "");
|
||||
}
|
||||
var cache = /* @__PURE__ */ new Map();
|
||||
var VOID_ELEMENTS = /^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;
|
||||
var spaces = " \\f\\n\\r\\t";
|
||||
var almostEverything = "[^" + spaces + `\\/>"'=]+`;
|
||||
var attrName = "[ " + spaces + "]+(?:use:<!--#-->|" + almostEverything + ")";
|
||||
var tagName = "<([A-Za-z$#]+[A-Za-z0-9:_-]*)((?:";
|
||||
var attrPartials = `(?:\\s*=\\s*(?:'[^']*?'|"[^"]*?"|\\([^)]*?\\)|<[^>]*?>|` + almostEverything + "))?)";
|
||||
var attrSeeker = new RegExp(tagName + attrName + attrPartials + "+)([ " + spaces + "]*/?>)", "g");
|
||||
var findAttributes = new RegExp("(" + attrName + `\\s*=\\s*)(<!--#-->|['"(]([\\w\\s]*<!--#-->[\\w\\s]*)*['")])`, "gi");
|
||||
var selfClosing = new RegExp(tagName + attrName + attrPartials + "*)([ " + spaces + "]*/>)", "g");
|
||||
var marker = "<!--#-->";
|
||||
var reservedNameSpaces = /* @__PURE__ */ new Set(["class", "on", "oncapture", "style", "use", "prop", "attr"]);
|
||||
function attrReplacer($0, $1, $2, $3) {
|
||||
return "<" + $1 + $2.replace(findAttributes, replaceAttributes) + $3;
|
||||
}
|
||||
function replaceAttributes($0, $1, $2) {
|
||||
return $1.replace(/<!--#-->/g, "###") + ($2[0] === '"' || $2[0] === "'" ? $2.replace(/<!--#-->/g, "###") : '"###"');
|
||||
}
|
||||
function fullClosing($0, $1, $2) {
|
||||
return VOID_ELEMENTS.test($1) ? $0 : "<" + $1 + $2 + "></" + $1 + ">";
|
||||
}
|
||||
function toPropertyName(name) {
|
||||
return name.toLowerCase().replace(/-([a-z])/g, (_, w) => w.toUpperCase());
|
||||
}
|
||||
function parseDirective(name, value, tag, options) {
|
||||
if (name === "use:###" && value === "###") {
|
||||
const count = options.counter++;
|
||||
options.exprs.push(`typeof exprs[${count}] === "function" ? r.use(exprs[${count}], ${tag}, exprs[${options.counter++}]) : (()=>{throw new Error("use:### must be a function")})()`);
|
||||
} else {
|
||||
throw new Error(`Not support syntax ${name} must be use:{function}`);
|
||||
}
|
||||
}
|
||||
function createHTML(r, {
|
||||
delegateEvents: delegateEvents2 = true,
|
||||
functionBuilder = (...args) => new Function(...args)
|
||||
} = {}) {
|
||||
let uuid = 1;
|
||||
r.wrapProps = (props) => {
|
||||
const d = Object.getOwnPropertyDescriptors(props);
|
||||
for (const k in d) {
|
||||
if (typeof d[k].value === "function" && !d[k].value.length) r.dynamicProperty(props, k);
|
||||
}
|
||||
return props;
|
||||
};
|
||||
function createTemplate(statics, opt) {
|
||||
var _a;
|
||||
let i = 0, markup = "";
|
||||
for (; i < statics.length - 1; i++) {
|
||||
markup = markup + statics[i] + "<!--#-->";
|
||||
}
|
||||
markup = markup + statics[i];
|
||||
const replaceList = [[selfClosing, fullClosing], [/<(<!--#-->)/g, "<###"], [/\.\.\.(<!--#-->)/g, "###"], [attrSeeker, attrReplacer], [/>\n+\s*/g, ">"], [/\n+\s*</g, "<"], [/\s+</g, " <"], [/>\s+/g, "> "]];
|
||||
markup = replaceList.reduce((acc, x) => {
|
||||
return acc.replace(x[0], x[1]);
|
||||
}, markup);
|
||||
const pars = parse(markup);
|
||||
const [html3, code] = parseTemplate(pars, opt.funcBuilder), templates = [];
|
||||
for (let i2 = 0; i2 < html3.length; i2++) {
|
||||
templates.push(document.createElement("template"));
|
||||
templates[i2].innerHTML = html3[i2];
|
||||
const nomarkers = templates[i2].content.querySelectorAll("script,style");
|
||||
for (let j = 0; j < nomarkers.length; j++) {
|
||||
const d = ((_a = nomarkers[j].firstChild) == null ? void 0 : _a.data) || "";
|
||||
if (d.indexOf(marker) > -1) {
|
||||
const parts = d.split(marker).reduce((memo, p, i3) => {
|
||||
i3 && memo.push("");
|
||||
memo.push(p);
|
||||
return memo;
|
||||
}, []);
|
||||
nomarkers[i2].firstChild.replaceWith(...parts);
|
||||
}
|
||||
}
|
||||
}
|
||||
templates[0].create = code;
|
||||
cache.set(statics, templates);
|
||||
return templates;
|
||||
}
|
||||
function parseKeyValue(node, tag, name, value, isSVG, isCE, options) {
|
||||
let expr = value === "###" ? `!doNotWrap ? exprs[${options.counter}]() : exprs[${options.counter++}]` : value.split("###").map((v, i) => i ? ` + (typeof exprs[${options.counter}] === "function" ? exprs[${options.counter}]() : exprs[${options.counter++}]) + "${v}"` : `"${v}"`).join(""), parts, namespace;
|
||||
if ((parts = name.split(":")) && parts[1] && reservedNameSpaces.has(parts[0])) {
|
||||
name = parts[1];
|
||||
namespace = parts[0];
|
||||
}
|
||||
const isChildProp = r.ChildProperties.has(name);
|
||||
const isProp = r.Properties.has(name);
|
||||
if (name === "style") {
|
||||
const prev = `_$v${uuid++}`;
|
||||
options.decl.push(`${prev}={}`);
|
||||
options.exprs.push(`r.style(${tag},${expr},${prev})`);
|
||||
} else if (name === "classList") {
|
||||
const prev = `_$v${uuid++}`;
|
||||
options.decl.push(`${prev}={}`);
|
||||
options.exprs.push(`r.classList(${tag},${expr},${prev})`);
|
||||
} else if (namespace !== "attr" && (isChildProp || !isSVG && (r.getPropAlias(name, node.name.toUpperCase()) || isProp) || isCE || namespace === "prop")) {
|
||||
if (isCE && !isChildProp && !isProp && namespace !== "prop") name = toPropertyName(name);
|
||||
options.exprs.push(`${tag}.${r.getPropAlias(name, node.name.toUpperCase()) || name} = ${expr}`);
|
||||
} else {
|
||||
const ns = isSVG && name.indexOf(":") > -1 && r.SVGNamespace[name.split(":")[0]];
|
||||
if (ns) options.exprs.push(`r.setAttributeNS(${tag},"${ns}","${name}",${expr})`);
|
||||
else options.exprs.push(`r.setAttribute(${tag},"${r.Aliases[name] || name}",${expr})`);
|
||||
}
|
||||
}
|
||||
function parseAttribute(node, tag, name, value, isSVG, isCE, options) {
|
||||
if (name.slice(0, 2) === "on") {
|
||||
if (!name.includes(":")) {
|
||||
const lc = name.slice(2).toLowerCase();
|
||||
const delegate = delegateEvents2 && r.DelegatedEvents.has(lc);
|
||||
options.exprs.push(`r.addEventListener(${tag},"${lc}",exprs[${options.counter++}],${delegate})`);
|
||||
delegate && options.delegatedEvents.add(lc);
|
||||
} else {
|
||||
let capture = name.startsWith("oncapture:");
|
||||
options.exprs.push(`${tag}.addEventListener("${name.slice(capture ? 10 : 3)}",exprs[${options.counter++}]${capture ? ",true" : ""})`);
|
||||
}
|
||||
} else if (name === "ref") {
|
||||
options.exprs.push(`exprs[${options.counter++}](${tag})`);
|
||||
} else {
|
||||
const childOptions = Object.assign({}, options, {
|
||||
exprs: []
|
||||
}), count = options.counter;
|
||||
parseKeyValue(node, tag, name, value, isSVG, isCE, childOptions);
|
||||
options.decl.push(`_fn${count} = (${value === "###" ? "doNotWrap" : ""}) => {
|
||||
${childOptions.exprs.join(";\n")};
|
||||
}`);
|
||||
if (value === "###") {
|
||||
options.exprs.push(`typeof exprs[${count}] === "function" ? r.effect(_fn${count}) : _fn${count}(true)`);
|
||||
} else {
|
||||
let check = "";
|
||||
for (let i = count; i < childOptions.counter; i++) {
|
||||
i !== count && (check += " || ");
|
||||
check += `typeof exprs[${i}] === "function"`;
|
||||
}
|
||||
options.exprs.push(check + ` ? r.effect(_fn${count}) : _fn${count}()`);
|
||||
}
|
||||
options.counter = childOptions.counter;
|
||||
options.wrap = false;
|
||||
}
|
||||
}
|
||||
function processChildren(node, options) {
|
||||
const childOptions = Object.assign({}, options, {
|
||||
first: true,
|
||||
multi: false,
|
||||
parent: options.path
|
||||
});
|
||||
if (node.children.length > 1) {
|
||||
for (let i2 = 0; i2 < node.children.length; i2++) {
|
||||
const child = node.children[i2];
|
||||
if (child.type === "comment" && child.content === "#" || child.type === "tag" && child.name === "###") {
|
||||
childOptions.multi = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
let i = 0;
|
||||
while (i < node.children.length) {
|
||||
const child = node.children[i];
|
||||
if (child.name === "###") {
|
||||
if (childOptions.multi) {
|
||||
node.children[i] = {
|
||||
type: "comment",
|
||||
content: "#"
|
||||
};
|
||||
i++;
|
||||
} else node.children.splice(i, 1);
|
||||
processComponent(child, childOptions);
|
||||
continue;
|
||||
}
|
||||
parseNode(child, childOptions);
|
||||
if (!childOptions.multi && child.type === "comment" && child.content === "#") node.children.splice(i, 1);
|
||||
else i++;
|
||||
}
|
||||
options.counter = childOptions.counter;
|
||||
options.templateId = childOptions.templateId;
|
||||
options.hasCustomElement = options.hasCustomElement || childOptions.hasCustomElement;
|
||||
options.isImportNode = options.isImportNode || childOptions.isImportNode;
|
||||
}
|
||||
function processComponentProps(propGroups) {
|
||||
let result = [];
|
||||
for (const props of propGroups) {
|
||||
if (Array.isArray(props)) {
|
||||
if (!props.length) continue;
|
||||
result.push(`r.wrapProps({${props.join(",") || ""}})`);
|
||||
} else result.push(props);
|
||||
}
|
||||
return result.length > 1 ? `r.mergeProps(${result.join(",")})` : result[0];
|
||||
}
|
||||
function processComponent(node, options) {
|
||||
let props = [];
|
||||
const keys = Object.keys(node.attrs), propGroups = [props], componentIdentifier = options.counter++;
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const {
|
||||
type,
|
||||
name,
|
||||
value
|
||||
} = node.attrs[i];
|
||||
if (type === "attr") {
|
||||
if (name === "###") {
|
||||
propGroups.push(`exprs[${options.counter++}]`);
|
||||
propGroups.push(props = []);
|
||||
} else if (value === "###") {
|
||||
props.push(`"${name}": exprs[${options.counter++}]`);
|
||||
} else props.push(`"${name}": "${value}"`);
|
||||
} else if (type === "directive") {
|
||||
const tag2 = `_$el${uuid++}`;
|
||||
const topDecl = !options.decl.length;
|
||||
options.decl.push(topDecl ? "" : `${tag2} = ${options.path}.${options.first ? "firstChild" : "nextSibling"}`);
|
||||
parseDirective(name, value, tag2, options);
|
||||
}
|
||||
}
|
||||
if (node.children.length === 1 && node.children[0].type === "comment" && node.children[0].content === "#") {
|
||||
props.push(`children: () => exprs[${options.counter++}]`);
|
||||
} else if (node.children.length) {
|
||||
const children = {
|
||||
type: "fragment",
|
||||
children: node.children
|
||||
}, childOptions = Object.assign({}, options, {
|
||||
first: true,
|
||||
decl: [],
|
||||
exprs: [],
|
||||
parent: false
|
||||
});
|
||||
parseNode(children, childOptions);
|
||||
props.push(`children: () => { ${childOptions.exprs.join(";\n")}}`);
|
||||
options.templateId = childOptions.templateId;
|
||||
options.counter = childOptions.counter;
|
||||
}
|
||||
let tag;
|
||||
if (options.multi) {
|
||||
tag = `_$el${uuid++}`;
|
||||
options.decl.push(`${tag} = ${options.path}.${options.first ? "firstChild" : "nextSibling"}`);
|
||||
}
|
||||
if (options.parent) options.exprs.push(`r.insert(${options.parent}, r.createComponent(exprs[${componentIdentifier}],${processComponentProps(propGroups)})${tag ? `, ${tag}` : ""})`);
|
||||
else options.exprs.push(`${options.fragment ? "" : "return "}r.createComponent(exprs[${componentIdentifier}],${processComponentProps(propGroups)})`);
|
||||
options.path = tag;
|
||||
options.first = false;
|
||||
}
|
||||
function parseNode(node, options) {
|
||||
if (node.type === "fragment") {
|
||||
const parts = [];
|
||||
node.children.forEach((child) => {
|
||||
if (child.type === "tag") {
|
||||
if (child.name === "###") {
|
||||
const childOptions2 = Object.assign({}, options, {
|
||||
first: true,
|
||||
fragment: true,
|
||||
decl: [],
|
||||
exprs: []
|
||||
});
|
||||
processComponent(child, childOptions2);
|
||||
parts.push(childOptions2.exprs[0]);
|
||||
options.counter = childOptions2.counter;
|
||||
options.templateId = childOptions2.templateId;
|
||||
return;
|
||||
}
|
||||
options.templateId++;
|
||||
const id = uuid;
|
||||
const childOptions = Object.assign({}, options, {
|
||||
first: true,
|
||||
decl: [],
|
||||
exprs: []
|
||||
});
|
||||
options.templateNodes.push([child]);
|
||||
parseNode(child, childOptions);
|
||||
parts.push(`function() { ${childOptions.decl.join(",\n") + ";\n" + childOptions.exprs.join(";\n") + `;
|
||||
return _$el${id};
|
||||
`}}()`);
|
||||
options.counter = childOptions.counter;
|
||||
options.templateId = childOptions.templateId;
|
||||
} else if (child.type === "text") {
|
||||
parts.push(`"${child.content}"`);
|
||||
} else if (child.type === "comment") {
|
||||
if (child.content === "#") parts.push(`exprs[${options.counter++}]`);
|
||||
else if (child.content) {
|
||||
for (let i = 0; i < child.content.split("###").length - 1; i++) {
|
||||
parts.push(`exprs[${options.counter++}]`);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
options.exprs.push(`return [${parts.join(", \n")}]`);
|
||||
} else if (node.type === "tag") {
|
||||
const tag = `_$el${uuid++}`;
|
||||
const topDecl = !options.decl.length;
|
||||
const templateId = options.templateId;
|
||||
options.decl.push(topDecl ? "" : `${tag} = ${options.path}.${options.first ? "firstChild" : "nextSibling"}`);
|
||||
const isSVG = r.SVGElements.has(node.name);
|
||||
const isCE = node.name.includes("-") || node.attrs.some((e) => e.name === "is");
|
||||
options.hasCustomElement = isCE;
|
||||
options.isImportNode = (node.name === "img" || node.name === "iframe") && node.attrs.some((e) => e.name === "loading" && e.value === "lazy");
|
||||
if (node.attrs.some((e) => e.name === "###")) {
|
||||
const spreadArgs = [];
|
||||
let current = "";
|
||||
const newAttrs = [];
|
||||
for (let i = 0; i < node.attrs.length; i++) {
|
||||
const {
|
||||
type,
|
||||
name,
|
||||
value
|
||||
} = node.attrs[i];
|
||||
if (type === "attr") {
|
||||
if (value.includes("###")) {
|
||||
let count = options.counter++;
|
||||
current += `${name}: ${name !== "ref" ? `typeof exprs[${count}] === "function" ? exprs[${count}]() : ` : ""}exprs[${count}],`;
|
||||
} else if (name === "###") {
|
||||
if (current.length) {
|
||||
spreadArgs.push(`()=>({${current}})`);
|
||||
current = "";
|
||||
}
|
||||
spreadArgs.push(`exprs[${options.counter++}]`);
|
||||
} else {
|
||||
newAttrs.push(node.attrs[i]);
|
||||
}
|
||||
} else if (type === "directive") {
|
||||
parseDirective(name, value, tag, options);
|
||||
}
|
||||
}
|
||||
node.attrs = newAttrs;
|
||||
if (current.length) {
|
||||
spreadArgs.push(`()=>({${current}})`);
|
||||
}
|
||||
options.exprs.push(`r.spread(${tag},${spreadArgs.length === 1 ? `typeof ${spreadArgs[0]} === "function" ? r.mergeProps(${spreadArgs[0]}) : ${spreadArgs[0]}` : `r.mergeProps(${spreadArgs.join(",")})`},${isSVG},${!!node.children.length})`);
|
||||
} else {
|
||||
for (let i = 0; i < node.attrs.length; i++) {
|
||||
const {
|
||||
type,
|
||||
name,
|
||||
value
|
||||
} = node.attrs[i];
|
||||
if (type === "directive") {
|
||||
parseDirective(name, value, tag, options);
|
||||
node.attrs.splice(i, 1);
|
||||
i--;
|
||||
} else if (type === "attr") {
|
||||
if (value.includes("###")) {
|
||||
node.attrs.splice(i, 1);
|
||||
i--;
|
||||
parseAttribute(node, tag, name, value, isSVG, isCE, options);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
options.path = tag;
|
||||
options.first = false;
|
||||
processChildren(node, options);
|
||||
if (topDecl) {
|
||||
options.decl[0] = options.hasCustomElement || options.isImportNode ? `const ${tag} = r.untrack(() => document.importNode(tmpls[${templateId}].content.firstChild, true))` : `const ${tag} = tmpls[${templateId}].content.firstChild.cloneNode(true)`;
|
||||
}
|
||||
} else if (node.type === "text") {
|
||||
const tag = `_$el${uuid++}`;
|
||||
options.decl.push(`${tag} = ${options.path}.${options.first ? "firstChild" : "nextSibling"}`);
|
||||
options.path = tag;
|
||||
options.first = false;
|
||||
} else if (node.type === "comment") {
|
||||
const tag = `_$el${uuid++}`;
|
||||
options.decl.push(`${tag} = ${options.path}.${options.first ? "firstChild" : "nextSibling"}`);
|
||||
if (node.content === "#") {
|
||||
if (options.multi) {
|
||||
options.exprs.push(`r.insert(${options.parent}, exprs[${options.counter++}], ${tag})`);
|
||||
} else options.exprs.push(`r.insert(${options.parent}, exprs[${options.counter++}])`);
|
||||
}
|
||||
options.path = tag;
|
||||
options.first = false;
|
||||
}
|
||||
}
|
||||
function parseTemplate(nodes, funcBuilder) {
|
||||
const options = {
|
||||
path: "",
|
||||
decl: [],
|
||||
exprs: [],
|
||||
delegatedEvents: /* @__PURE__ */ new Set(),
|
||||
counter: 0,
|
||||
first: true,
|
||||
multi: false,
|
||||
templateId: 0,
|
||||
templateNodes: []
|
||||
}, id = uuid, origNodes = nodes;
|
||||
let toplevel;
|
||||
if (nodes.length > 1) {
|
||||
nodes = [{
|
||||
type: "fragment",
|
||||
children: nodes
|
||||
}];
|
||||
}
|
||||
if (nodes[0].name === "###") {
|
||||
toplevel = true;
|
||||
processComponent(nodes[0], options);
|
||||
} else parseNode(nodes[0], options);
|
||||
r.delegateEvents(Array.from(options.delegatedEvents));
|
||||
const templateNodes = [origNodes].concat(options.templateNodes);
|
||||
return [templateNodes.map((t) => stringify(t)), funcBuilder("tmpls", "exprs", "r", options.decl.join(",\n") + ";\n" + options.exprs.join(";\n") + (toplevel ? "" : `;
|
||||
return _$el${id};
|
||||
`))];
|
||||
}
|
||||
function html2(statics, ...args) {
|
||||
const templates = cache.get(statics) || createTemplate(statics, {
|
||||
funcBuilder: functionBuilder
|
||||
});
|
||||
return templates[0].create(templates, args, r);
|
||||
}
|
||||
return html2;
|
||||
}
|
||||
var html = createHTML({
|
||||
effect: createRenderEffect,
|
||||
style,
|
||||
insert,
|
||||
untrack,
|
||||
spread,
|
||||
createComponent,
|
||||
delegateEvents,
|
||||
classList,
|
||||
mergeProps,
|
||||
dynamicProperty,
|
||||
setAttribute,
|
||||
setAttributeNS,
|
||||
addEventListener,
|
||||
Aliases,
|
||||
getPropAlias,
|
||||
Properties,
|
||||
ChildProperties,
|
||||
DelegatedEvents,
|
||||
SVGElements,
|
||||
SVGNamespace
|
||||
});
|
||||
export {
|
||||
html as default
|
||||
};
|
||||
//# sourceMappingURL=solid-js_html.js.map
|
||||
7
node_modules/.vite/deps/solid-js_html.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/solid-js_html.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
456
node_modules/.vite/deps/solid-js_store.js
generated
vendored
Normal file
456
node_modules/.vite/deps/solid-js_store.js
generated
vendored
Normal file
@@ -0,0 +1,456 @@
|
||||
import {
|
||||
$PROXY,
|
||||
$TRACK,
|
||||
DEV,
|
||||
batch,
|
||||
createSignal,
|
||||
getListener
|
||||
} from "./chunk-P5AEBATJ.js";
|
||||
import "./chunk-5Z66FT5C.js";
|
||||
|
||||
// node_modules/solid-js/store/dist/dev.js
|
||||
var $RAW = Symbol("store-raw");
|
||||
var $NODE = Symbol("store-node");
|
||||
var $HAS = Symbol("store-has");
|
||||
var $SELF = Symbol("store-self");
|
||||
var DevHooks = {
|
||||
onStoreNodeUpdate: null
|
||||
};
|
||||
function wrap$1(value) {
|
||||
let p = value[$PROXY];
|
||||
if (!p) {
|
||||
Object.defineProperty(value, $PROXY, {
|
||||
value: p = new Proxy(value, proxyTraps$1)
|
||||
});
|
||||
if (!Array.isArray(value)) {
|
||||
const keys = Object.keys(value), desc = Object.getOwnPropertyDescriptors(value);
|
||||
for (let i = 0, l = keys.length; i < l; i++) {
|
||||
const prop = keys[i];
|
||||
if (desc[prop].get) {
|
||||
Object.defineProperty(value, prop, {
|
||||
enumerable: desc[prop].enumerable,
|
||||
get: desc[prop].get.bind(p)
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return p;
|
||||
}
|
||||
function isWrappable(obj) {
|
||||
let proto;
|
||||
return obj != null && typeof obj === "object" && (obj[$PROXY] || !(proto = Object.getPrototypeOf(obj)) || proto === Object.prototype || Array.isArray(obj));
|
||||
}
|
||||
function unwrap(item, set = /* @__PURE__ */ new Set()) {
|
||||
let result, unwrapped, v, prop;
|
||||
if (result = item != null && item[$RAW]) return result;
|
||||
if (!isWrappable(item) || set.has(item)) return item;
|
||||
if (Array.isArray(item)) {
|
||||
if (Object.isFrozen(item)) item = item.slice(0);
|
||||
else set.add(item);
|
||||
for (let i = 0, l = item.length; i < l; i++) {
|
||||
v = item[i];
|
||||
if ((unwrapped = unwrap(v, set)) !== v) item[i] = unwrapped;
|
||||
}
|
||||
} else {
|
||||
if (Object.isFrozen(item)) item = Object.assign({}, item);
|
||||
else set.add(item);
|
||||
const keys = Object.keys(item), desc = Object.getOwnPropertyDescriptors(item);
|
||||
for (let i = 0, l = keys.length; i < l; i++) {
|
||||
prop = keys[i];
|
||||
if (desc[prop].get) continue;
|
||||
v = item[prop];
|
||||
if ((unwrapped = unwrap(v, set)) !== v) item[prop] = unwrapped;
|
||||
}
|
||||
}
|
||||
return item;
|
||||
}
|
||||
function getNodes(target, symbol) {
|
||||
let nodes = target[symbol];
|
||||
if (!nodes) Object.defineProperty(target, symbol, {
|
||||
value: nodes = /* @__PURE__ */ Object.create(null)
|
||||
});
|
||||
return nodes;
|
||||
}
|
||||
function getNode(nodes, property, value) {
|
||||
if (nodes[property]) return nodes[property];
|
||||
const [s, set] = createSignal(value, {
|
||||
equals: false,
|
||||
internal: true
|
||||
});
|
||||
s.$ = set;
|
||||
return nodes[property] = s;
|
||||
}
|
||||
function proxyDescriptor$1(target, property) {
|
||||
const desc = Reflect.getOwnPropertyDescriptor(target, property);
|
||||
if (!desc || desc.get || !desc.configurable || property === $PROXY || property === $NODE) return desc;
|
||||
delete desc.value;
|
||||
delete desc.writable;
|
||||
desc.get = () => target[$PROXY][property];
|
||||
return desc;
|
||||
}
|
||||
function trackSelf(target) {
|
||||
getListener() && getNode(getNodes(target, $NODE), $SELF)();
|
||||
}
|
||||
function ownKeys(target) {
|
||||
trackSelf(target);
|
||||
return Reflect.ownKeys(target);
|
||||
}
|
||||
var proxyTraps$1 = {
|
||||
get(target, property, receiver) {
|
||||
if (property === $RAW) return target;
|
||||
if (property === $PROXY) return receiver;
|
||||
if (property === $TRACK) {
|
||||
trackSelf(target);
|
||||
return receiver;
|
||||
}
|
||||
const nodes = getNodes(target, $NODE);
|
||||
const tracked = nodes[property];
|
||||
let value = tracked ? tracked() : target[property];
|
||||
if (property === $NODE || property === $HAS || property === "__proto__") return value;
|
||||
if (!tracked) {
|
||||
const desc = Object.getOwnPropertyDescriptor(target, property);
|
||||
if (getListener() && (typeof value !== "function" || target.hasOwnProperty(property)) && !(desc && desc.get)) value = getNode(nodes, property, value)();
|
||||
}
|
||||
return isWrappable(value) ? wrap$1(value) : value;
|
||||
},
|
||||
has(target, property) {
|
||||
if (property === $RAW || property === $PROXY || property === $TRACK || property === $NODE || property === $HAS || property === "__proto__") return true;
|
||||
getListener() && getNode(getNodes(target, $HAS), property)();
|
||||
return property in target;
|
||||
},
|
||||
set() {
|
||||
console.warn("Cannot mutate a Store directly");
|
||||
return true;
|
||||
},
|
||||
deleteProperty() {
|
||||
console.warn("Cannot mutate a Store directly");
|
||||
return true;
|
||||
},
|
||||
ownKeys,
|
||||
getOwnPropertyDescriptor: proxyDescriptor$1
|
||||
};
|
||||
function setProperty(state, property, value, deleting = false) {
|
||||
if (!deleting && state[property] === value) return;
|
||||
const prev = state[property], len = state.length;
|
||||
DevHooks.onStoreNodeUpdate && DevHooks.onStoreNodeUpdate(state, property, value, prev);
|
||||
if (value === void 0) {
|
||||
delete state[property];
|
||||
if (state[$HAS] && state[$HAS][property] && prev !== void 0) state[$HAS][property].$();
|
||||
} else {
|
||||
state[property] = value;
|
||||
if (state[$HAS] && state[$HAS][property] && prev === void 0) state[$HAS][property].$();
|
||||
}
|
||||
let nodes = getNodes(state, $NODE), node;
|
||||
if (node = getNode(nodes, property, prev)) node.$(() => value);
|
||||
if (Array.isArray(state) && state.length !== len) {
|
||||
for (let i = state.length; i < len; i++) (node = nodes[i]) && node.$();
|
||||
(node = getNode(nodes, "length", len)) && node.$(state.length);
|
||||
}
|
||||
(node = nodes[$SELF]) && node.$();
|
||||
}
|
||||
function mergeStoreNode(state, value) {
|
||||
const keys = Object.keys(value);
|
||||
for (let i = 0; i < keys.length; i += 1) {
|
||||
const key = keys[i];
|
||||
setProperty(state, key, value[key]);
|
||||
}
|
||||
}
|
||||
function updateArray(current, next) {
|
||||
if (typeof next === "function") next = next(current);
|
||||
next = unwrap(next);
|
||||
if (Array.isArray(next)) {
|
||||
if (current === next) return;
|
||||
let i = 0, len = next.length;
|
||||
for (; i < len; i++) {
|
||||
const value = next[i];
|
||||
if (current[i] !== value) setProperty(current, i, value);
|
||||
}
|
||||
setProperty(current, "length", len);
|
||||
} else mergeStoreNode(current, next);
|
||||
}
|
||||
function updatePath(current, path, traversed = []) {
|
||||
let part, prev = current;
|
||||
if (path.length > 1) {
|
||||
part = path.shift();
|
||||
const partType = typeof part, isArray = Array.isArray(current);
|
||||
if (Array.isArray(part)) {
|
||||
for (let i = 0; i < part.length; i++) {
|
||||
updatePath(current, [part[i]].concat(path), traversed);
|
||||
}
|
||||
return;
|
||||
} else if (isArray && partType === "function") {
|
||||
for (let i = 0; i < current.length; i++) {
|
||||
if (part(current[i], i)) updatePath(current, [i].concat(path), traversed);
|
||||
}
|
||||
return;
|
||||
} else if (isArray && partType === "object") {
|
||||
const {
|
||||
from = 0,
|
||||
to = current.length - 1,
|
||||
by = 1
|
||||
} = part;
|
||||
for (let i = from; i <= to; i += by) {
|
||||
updatePath(current, [i].concat(path), traversed);
|
||||
}
|
||||
return;
|
||||
} else if (path.length > 1) {
|
||||
updatePath(current[part], path, [part].concat(traversed));
|
||||
return;
|
||||
}
|
||||
prev = current[part];
|
||||
traversed = [part].concat(traversed);
|
||||
}
|
||||
let value = path[0];
|
||||
if (typeof value === "function") {
|
||||
value = value(prev, traversed);
|
||||
if (value === prev) return;
|
||||
}
|
||||
if (part === void 0 && value == void 0) return;
|
||||
value = unwrap(value);
|
||||
if (part === void 0 || isWrappable(prev) && isWrappable(value) && !Array.isArray(value)) {
|
||||
mergeStoreNode(prev, value);
|
||||
} else setProperty(current, part, value);
|
||||
}
|
||||
function createStore(...[store, options]) {
|
||||
const unwrappedStore = unwrap(store || {});
|
||||
const isArray = Array.isArray(unwrappedStore);
|
||||
if (typeof unwrappedStore !== "object" && typeof unwrappedStore !== "function") throw new Error(`Unexpected type ${typeof unwrappedStore} received when initializing 'createStore'. Expected an object.`);
|
||||
const wrappedStore = wrap$1(unwrappedStore);
|
||||
DEV.registerGraph({
|
||||
value: unwrappedStore,
|
||||
name: options && options.name
|
||||
});
|
||||
function setStore(...args) {
|
||||
batch(() => {
|
||||
isArray && args.length === 1 ? updateArray(unwrappedStore, args[0]) : updatePath(unwrappedStore, args);
|
||||
});
|
||||
}
|
||||
return [wrappedStore, setStore];
|
||||
}
|
||||
function proxyDescriptor(target, property) {
|
||||
const desc = Reflect.getOwnPropertyDescriptor(target, property);
|
||||
if (!desc || desc.get || desc.set || !desc.configurable || property === $PROXY || property === $NODE) return desc;
|
||||
delete desc.value;
|
||||
delete desc.writable;
|
||||
desc.get = () => target[$PROXY][property];
|
||||
desc.set = (v) => target[$PROXY][property] = v;
|
||||
return desc;
|
||||
}
|
||||
var proxyTraps = {
|
||||
get(target, property, receiver) {
|
||||
if (property === $RAW) return target;
|
||||
if (property === $PROXY) return receiver;
|
||||
if (property === $TRACK) {
|
||||
trackSelf(target);
|
||||
return receiver;
|
||||
}
|
||||
const nodes = getNodes(target, $NODE);
|
||||
const tracked = nodes[property];
|
||||
let value = tracked ? tracked() : target[property];
|
||||
if (property === $NODE || property === $HAS || property === "__proto__") return value;
|
||||
if (!tracked) {
|
||||
const desc = Object.getOwnPropertyDescriptor(target, property);
|
||||
const isFunction = typeof value === "function";
|
||||
if (getListener() && (!isFunction || target.hasOwnProperty(property)) && !(desc && desc.get)) value = getNode(nodes, property, value)();
|
||||
else if (value != null && isFunction && value === Array.prototype[property]) {
|
||||
return (...args) => batch(() => Array.prototype[property].apply(receiver, args));
|
||||
}
|
||||
}
|
||||
return isWrappable(value) ? wrap(value) : value;
|
||||
},
|
||||
has(target, property) {
|
||||
if (property === $RAW || property === $PROXY || property === $TRACK || property === $NODE || property === $HAS || property === "__proto__") return true;
|
||||
getListener() && getNode(getNodes(target, $HAS), property)();
|
||||
return property in target;
|
||||
},
|
||||
set(target, property, value) {
|
||||
batch(() => setProperty(target, property, unwrap(value)));
|
||||
return true;
|
||||
},
|
||||
deleteProperty(target, property) {
|
||||
batch(() => setProperty(target, property, void 0, true));
|
||||
return true;
|
||||
},
|
||||
ownKeys,
|
||||
getOwnPropertyDescriptor: proxyDescriptor
|
||||
};
|
||||
function wrap(value) {
|
||||
let p = value[$PROXY];
|
||||
if (!p) {
|
||||
Object.defineProperty(value, $PROXY, {
|
||||
value: p = new Proxy(value, proxyTraps)
|
||||
});
|
||||
const keys = Object.keys(value), desc = Object.getOwnPropertyDescriptors(value);
|
||||
const proto = Object.getPrototypeOf(value);
|
||||
const isClass = proto !== null && value !== null && typeof value === "object" && !Array.isArray(value) && proto !== Object.prototype;
|
||||
if (isClass) {
|
||||
let curProto = proto;
|
||||
while (curProto != null) {
|
||||
const descriptors = Object.getOwnPropertyDescriptors(curProto);
|
||||
keys.push(...Object.keys(descriptors));
|
||||
Object.assign(desc, descriptors);
|
||||
curProto = Object.getPrototypeOf(curProto);
|
||||
}
|
||||
}
|
||||
for (let i = 0, l = keys.length; i < l; i++) {
|
||||
const prop = keys[i];
|
||||
if (isClass && prop === "constructor") continue;
|
||||
if (desc[prop].get) {
|
||||
const get = desc[prop].get.bind(p);
|
||||
Object.defineProperty(value, prop, {
|
||||
get,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
if (desc[prop].set) {
|
||||
const og = desc[prop].set, set = (v) => batch(() => og.call(p, v));
|
||||
Object.defineProperty(value, prop, {
|
||||
set,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
return p;
|
||||
}
|
||||
function createMutable(state, options) {
|
||||
const unwrappedStore = unwrap(state || {});
|
||||
if (typeof unwrappedStore !== "object" && typeof unwrappedStore !== "function") throw new Error(`Unexpected type ${typeof unwrappedStore} received when initializing 'createMutable'. Expected an object.`);
|
||||
const wrappedStore = wrap(unwrappedStore);
|
||||
DEV.registerGraph({
|
||||
value: unwrappedStore,
|
||||
name: options && options.name
|
||||
});
|
||||
return wrappedStore;
|
||||
}
|
||||
function modifyMutable(state, modifier) {
|
||||
batch(() => modifier(unwrap(state)));
|
||||
}
|
||||
var $ROOT = Symbol("store-root");
|
||||
function applyState(target, parent, property, merge, key) {
|
||||
const previous = parent[property];
|
||||
if (target === previous) return;
|
||||
const isArray = Array.isArray(target);
|
||||
if (property !== $ROOT && (!isWrappable(target) || !isWrappable(previous) || isArray !== Array.isArray(previous) || key && target[key] !== previous[key])) {
|
||||
setProperty(parent, property, target);
|
||||
return;
|
||||
}
|
||||
if (isArray) {
|
||||
if (target.length && previous.length && (!merge || key && target[0] && target[0][key] != null)) {
|
||||
let i, j, start, end, newEnd, item, newIndicesNext, keyVal;
|
||||
for (start = 0, end = Math.min(previous.length, target.length); start < end && (previous[start] === target[start] || key && previous[start] && target[start] && previous[start][key] && previous[start][key] === target[start][key]); start++) {
|
||||
applyState(target[start], previous, start, merge, key);
|
||||
}
|
||||
const temp = new Array(target.length), newIndices = /* @__PURE__ */ new Map();
|
||||
for (end = previous.length - 1, newEnd = target.length - 1; end >= start && newEnd >= start && (previous[end] === target[newEnd] || key && previous[end] && target[newEnd] && previous[end][key] && previous[end][key] === target[newEnd][key]); end--, newEnd--) {
|
||||
temp[newEnd] = previous[end];
|
||||
}
|
||||
if (start > newEnd || start > end) {
|
||||
for (j = start; j <= newEnd; j++) setProperty(previous, j, target[j]);
|
||||
for (; j < target.length; j++) {
|
||||
setProperty(previous, j, temp[j]);
|
||||
applyState(target[j], previous, j, merge, key);
|
||||
}
|
||||
if (previous.length > target.length) setProperty(previous, "length", target.length);
|
||||
return;
|
||||
}
|
||||
newIndicesNext = new Array(newEnd + 1);
|
||||
for (j = newEnd; j >= start; j--) {
|
||||
item = target[j];
|
||||
keyVal = key && item ? item[key] : item;
|
||||
i = newIndices.get(keyVal);
|
||||
newIndicesNext[j] = i === void 0 ? -1 : i;
|
||||
newIndices.set(keyVal, j);
|
||||
}
|
||||
for (i = start; i <= end; i++) {
|
||||
item = previous[i];
|
||||
keyVal = key && item ? item[key] : item;
|
||||
j = newIndices.get(keyVal);
|
||||
if (j !== void 0 && j !== -1) {
|
||||
temp[j] = previous[i];
|
||||
j = newIndicesNext[j];
|
||||
newIndices.set(keyVal, j);
|
||||
}
|
||||
}
|
||||
for (j = start; j < target.length; j++) {
|
||||
if (j in temp) {
|
||||
setProperty(previous, j, temp[j]);
|
||||
applyState(target[j], previous, j, merge, key);
|
||||
} else setProperty(previous, j, target[j]);
|
||||
}
|
||||
} else {
|
||||
for (let i = 0, len = target.length; i < len; i++) {
|
||||
applyState(target[i], previous, i, merge, key);
|
||||
}
|
||||
}
|
||||
if (previous.length > target.length) setProperty(previous, "length", target.length);
|
||||
return;
|
||||
}
|
||||
const targetKeys = Object.keys(target);
|
||||
for (let i = 0, len = targetKeys.length; i < len; i++) {
|
||||
applyState(target[targetKeys[i]], previous, targetKeys[i], merge, key);
|
||||
}
|
||||
const previousKeys = Object.keys(previous);
|
||||
for (let i = 0, len = previousKeys.length; i < len; i++) {
|
||||
if (target[previousKeys[i]] === void 0) setProperty(previous, previousKeys[i], void 0);
|
||||
}
|
||||
}
|
||||
function reconcile(value, options = {}) {
|
||||
const {
|
||||
merge,
|
||||
key = "id"
|
||||
} = options, v = unwrap(value);
|
||||
return (state) => {
|
||||
if (!isWrappable(state) || !isWrappable(v)) return v;
|
||||
const res = applyState(v, {
|
||||
[$ROOT]: state
|
||||
}, $ROOT, merge, key);
|
||||
return res === void 0 ? state : res;
|
||||
};
|
||||
}
|
||||
var producers = /* @__PURE__ */ new WeakMap();
|
||||
var setterTraps = {
|
||||
get(target, property) {
|
||||
if (property === $RAW) return target;
|
||||
const value = target[property];
|
||||
let proxy;
|
||||
return isWrappable(value) ? producers.get(value) || (producers.set(value, proxy = new Proxy(value, setterTraps)), proxy) : value;
|
||||
},
|
||||
set(target, property, value) {
|
||||
setProperty(target, property, unwrap(value));
|
||||
return true;
|
||||
},
|
||||
deleteProperty(target, property) {
|
||||
setProperty(target, property, void 0, true);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
function produce(fn) {
|
||||
return (state) => {
|
||||
if (isWrappable(state)) {
|
||||
let proxy;
|
||||
if (!(proxy = producers.get(state))) {
|
||||
producers.set(state, proxy = new Proxy(state, setterTraps));
|
||||
}
|
||||
fn(proxy);
|
||||
}
|
||||
return state;
|
||||
};
|
||||
}
|
||||
var DEV2 = {
|
||||
$NODE,
|
||||
isWrappable,
|
||||
hooks: DevHooks
|
||||
};
|
||||
export {
|
||||
$RAW,
|
||||
DEV2 as DEV,
|
||||
createMutable,
|
||||
createStore,
|
||||
modifyMutable,
|
||||
produce,
|
||||
reconcile,
|
||||
unwrap
|
||||
};
|
||||
//# sourceMappingURL=solid-js_store.js.map
|
||||
7
node_modules/.vite/deps/solid-js_store.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/solid-js_store.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
149
node_modules/.vite/deps/solid-js_web.js
generated
vendored
Normal file
149
node_modules/.vite/deps/solid-js_web.js
generated
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
import {
|
||||
Aliases,
|
||||
ChildProperties,
|
||||
DOMElements,
|
||||
DelegatedEvents,
|
||||
Dynamic,
|
||||
Hydration,
|
||||
NoHydration,
|
||||
Portal,
|
||||
Properties,
|
||||
RequestContext,
|
||||
SVGElements,
|
||||
SVGNamespace,
|
||||
addEventListener,
|
||||
assign,
|
||||
classList,
|
||||
className,
|
||||
clearDelegatedEvents,
|
||||
createDynamic,
|
||||
delegateEvents,
|
||||
dynamicProperty,
|
||||
escape,
|
||||
getHydrationKey,
|
||||
getNextElement,
|
||||
getNextMarker,
|
||||
getNextMatch,
|
||||
getPropAlias,
|
||||
hydrate,
|
||||
innerHTML,
|
||||
insert,
|
||||
isDev,
|
||||
isServer,
|
||||
memo,
|
||||
render,
|
||||
renderToStream,
|
||||
renderToString,
|
||||
renderToStringAsync,
|
||||
resolveSSRNode,
|
||||
runHydrationEvents,
|
||||
setAttribute,
|
||||
setAttributeNS,
|
||||
setBoolAttribute,
|
||||
setProperty,
|
||||
setStyleProperty,
|
||||
spread,
|
||||
ssr,
|
||||
ssrAttribute,
|
||||
ssrClassList,
|
||||
ssrElement,
|
||||
ssrHydrationKey,
|
||||
ssrSpread,
|
||||
ssrStyle,
|
||||
style,
|
||||
template,
|
||||
use,
|
||||
voidFn
|
||||
} from "./chunk-C3OSZ7ZC.js";
|
||||
import {
|
||||
ErrorBoundary,
|
||||
For,
|
||||
Index,
|
||||
Match,
|
||||
Show,
|
||||
Suspense,
|
||||
SuspenseList,
|
||||
Switch,
|
||||
createComponent,
|
||||
createRenderEffect,
|
||||
getOwner,
|
||||
mergeProps,
|
||||
untrack
|
||||
} from "./chunk-P5AEBATJ.js";
|
||||
import "./chunk-5Z66FT5C.js";
|
||||
export {
|
||||
Aliases,
|
||||
voidFn as Assets,
|
||||
ChildProperties,
|
||||
DOMElements,
|
||||
DelegatedEvents,
|
||||
Dynamic,
|
||||
ErrorBoundary,
|
||||
For,
|
||||
Hydration,
|
||||
voidFn as HydrationScript,
|
||||
Index,
|
||||
Match,
|
||||
NoHydration,
|
||||
Portal,
|
||||
Properties,
|
||||
RequestContext,
|
||||
SVGElements,
|
||||
SVGNamespace,
|
||||
Show,
|
||||
Suspense,
|
||||
SuspenseList,
|
||||
Switch,
|
||||
addEventListener,
|
||||
assign,
|
||||
classList,
|
||||
className,
|
||||
clearDelegatedEvents,
|
||||
createComponent,
|
||||
createDynamic,
|
||||
delegateEvents,
|
||||
dynamicProperty,
|
||||
createRenderEffect as effect,
|
||||
escape,
|
||||
voidFn as generateHydrationScript,
|
||||
voidFn as getAssets,
|
||||
getHydrationKey,
|
||||
getNextElement,
|
||||
getNextMarker,
|
||||
getNextMatch,
|
||||
getOwner,
|
||||
getPropAlias,
|
||||
voidFn as getRequestEvent,
|
||||
hydrate,
|
||||
innerHTML,
|
||||
insert,
|
||||
isDev,
|
||||
isServer,
|
||||
memo,
|
||||
mergeProps,
|
||||
render,
|
||||
renderToStream,
|
||||
renderToString,
|
||||
renderToStringAsync,
|
||||
resolveSSRNode,
|
||||
runHydrationEvents,
|
||||
setAttribute,
|
||||
setAttributeNS,
|
||||
setBoolAttribute,
|
||||
setProperty,
|
||||
setStyleProperty,
|
||||
spread,
|
||||
ssr,
|
||||
ssrAttribute,
|
||||
ssrClassList,
|
||||
ssrElement,
|
||||
ssrHydrationKey,
|
||||
ssrSpread,
|
||||
ssrStyle,
|
||||
style,
|
||||
template,
|
||||
untrack,
|
||||
use,
|
||||
voidFn as useAssets
|
||||
};
|
||||
//# sourceMappingURL=solid-js_web.js.map
|
||||
7
node_modules/.vite/deps/solid-js_web.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/solid-js_web.js.map
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
2
node_modules/.vite/vitest/results.json
generated
vendored
2
node_modules/.vite/vitest/results.json
generated
vendored
@@ -1 +1 @@
|
||||
{"version":"1.6.1","results":[[":src/lib/collaboration/presence.test.ts",{"duration":17,"failed":true}]]}
|
||||
{"version":"1.6.1","results":[[":server/trpc/project-router.test.ts",{"duration":36,"failed":true}],[":server/trpc/character-router.test.ts",{"duration":27,"failed":true}],[":server/trpc/revisions-router.test.ts",{"duration":55,"failed":true}]]}
|
||||
21
node_modules/@clerk/backend/LICENSE
generated
vendored
Normal file
21
node_modules/@clerk/backend/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Clerk, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
76
node_modules/@clerk/backend/README.md
generated
vendored
Normal file
76
node_modules/@clerk/backend/README.md
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
<p align="center">
|
||||
<a href="https://clerk.com?utm_source=github&utm_medium=clerk_backend" target="_blank" rel="noopener noreferrer">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://images.clerk.com/static/logo-dark-mode-400x400.png">
|
||||
<img src="https://images.clerk.com/static/logo-light-mode-400x400.png" height="64">
|
||||
</picture>
|
||||
</a>
|
||||
<br />
|
||||
<h1 align="center">@clerk/backend</h1>
|
||||
</p>
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://clerk.com/discord)
|
||||
[](https://clerk.com/docs?utm_source=github&utm_medium=clerk_backend)
|
||||
[](https://twitter.com/intent/follow?screen_name=Clerk)
|
||||
|
||||
[Changelog](https://github.com/clerk/javascript/blob/main/packages/backend/CHANGELOG.md)
|
||||
·
|
||||
[Report a Bug](https://github.com/clerk/javascript/issues/new?assignees=&labels=needs-triage&projects=&template=BUG_REPORT.yml)
|
||||
·
|
||||
[Request a Feature](https://feedback.clerk.com/roadmap)
|
||||
·
|
||||
[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_backend)
|
||||
|
||||
</div>
|
||||
|
||||
## Getting Started
|
||||
|
||||
[Clerk's](https://clerk.com/?utm_source=github&utm_medium=clerk_backend) JavaScript Backend SDK exposes [Clerk's Backend API](https://clerk.com/docs/reference/backend-api) resources and low-level authentication utilities **for JavaScript environments**.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js `>=20.9.0` (or later) or any V8 isolates runtime
|
||||
- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_backend).
|
||||
|
||||
### Installation
|
||||
|
||||
The fastest way to get started with `@clerk/backend` is by following the [JavaScript Backend SDK reference documentation](https://clerk.com/docs/references/backend/overview?utm_source=github&utm_medium=clerk_backend).
|
||||
|
||||
You'll learn how to install `@clerk/backend` and how to use `createClerkClient()`.
|
||||
|
||||
## Usage
|
||||
|
||||
For further information, guides, and examples visit the [JavaScript Backend SDK reference documentation](https://clerk.com/docs/references/backend/overview?utm_source=github&utm_medium=clerk_backend). It lists all the available APIs and methods.
|
||||
|
||||
## Testing
|
||||
|
||||
This project uses [vitest](https://vitest.dev/) as the unit test runner and [msw](https://mswjs.io/) for mocking network requests.
|
||||
|
||||
If you need to see which requests are being intercepted by `msw`, you can run the test suite with the following env: `DEBUG_MOCK_REQUESTS=true`
|
||||
|
||||
## Support
|
||||
|
||||
You can get in touch with us in any of the following ways:
|
||||
|
||||
- Join our official community [Discord server](https://clerk.com/discord)
|
||||
- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_backend)
|
||||
|
||||
## Contributing
|
||||
|
||||
We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
|
||||
|
||||
## Security
|
||||
|
||||
`@clerk/backend` follows good practices of security, but 100% security cannot be assured.
|
||||
|
||||
`@clerk/backend` is provided **"as is"** without any **warranty**. Use at your own risk.
|
||||
|
||||
_For more information and to report security issues, please refer to our [security documentation](https://github.com/clerk/javascript/blob/main/docs/SECURITY.md)._
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the **MIT license**.
|
||||
|
||||
See [LICENSE](https://github.com/clerk/javascript/blob/main/packages/backend/LICENSE) for more information.
|
||||
76
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts
generated
vendored
Normal file
76
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../../api/resources/Deserializer';
|
||||
import type { APIKey } from '../resources/APIKey';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetAPIKeyListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* The user or Organization ID to query API keys by
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* Whether to include invalid API keys.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
includeInvalid?: boolean;
|
||||
}>;
|
||||
type CreateAPIKeyParams = {
|
||||
/**
|
||||
* API key name
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* The user or Organization ID to associate the API key with
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* API key description
|
||||
*/
|
||||
description?: string | null;
|
||||
claims?: Record<string, any> | null;
|
||||
scopes?: string[];
|
||||
createdBy?: string | null;
|
||||
secondsUntilExpiration?: number | null;
|
||||
};
|
||||
type RevokeAPIKeyParams = {
|
||||
/**
|
||||
* API key ID
|
||||
*/
|
||||
apiKeyId: string;
|
||||
/**
|
||||
* Reason for revocation
|
||||
*/
|
||||
revocationReason?: string | null;
|
||||
};
|
||||
type UpdateAPIKeyParams = {
|
||||
/**
|
||||
* API key ID
|
||||
*/
|
||||
apiKeyId: string;
|
||||
/**
|
||||
* The user or Organization ID to associate the API key with
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* API key description
|
||||
*/
|
||||
description?: string | null;
|
||||
claims?: Record<string, any> | null;
|
||||
scopes?: string[];
|
||||
secondsUntilExpiration?: number | null;
|
||||
};
|
||||
export declare class APIKeysAPI extends AbstractAPI {
|
||||
list(queryParams: GetAPIKeyListParams): Promise<PaginatedResourceResponse<APIKey[]>>;
|
||||
create(params: CreateAPIKeyParams): Promise<APIKey>;
|
||||
get(apiKeyId: string): Promise<APIKey>;
|
||||
update(params: UpdateAPIKeyParams): Promise<APIKey>;
|
||||
delete(apiKeyId: string): Promise<DeletedObject>;
|
||||
revoke(params: RevokeAPIKeyParams): Promise<APIKey>;
|
||||
getSecret(apiKeyId: string): Promise<{
|
||||
secret: string;
|
||||
}>;
|
||||
verify(secret: string): Promise<APIKey>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=APIKeysApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"APIKeysApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/APIKeysApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,mBAAmB,GAAG,sBAAsB,CAAC;IAChD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACnC,IAAI,CAAC,WAAW,EAAE,mBAAmB;IAQrC,MAAM,CAAC,MAAM,EAAE,kBAAkB;IAQjC,GAAG,CAAC,QAAQ,EAAE,MAAM;IASpB,MAAM,CAAC,MAAM,EAAE,kBAAkB;IAYjC,MAAM,CAAC,QAAQ,EAAE,MAAM;IASvB,MAAM,CAAC,MAAM,EAAE,kBAAkB;IAYjC,SAAS,CAAC,QAAQ,EAAE,MAAM;gBAGA,MAAM;;IAMhC,MAAM,CAAC,MAAM,EAAE,MAAM;CAO5B"}
|
||||
7
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts
generated
vendored
Normal file
7
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { RequestFunction } from '../request';
|
||||
export declare abstract class AbstractAPI {
|
||||
protected request: RequestFunction;
|
||||
constructor(request: RequestFunction);
|
||||
protected requireId(id: string): void;
|
||||
}
|
||||
//# sourceMappingURL=AbstractApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AbstractApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AbstractApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,8BAAsB,WAAW;IACnB,SAAS,CAAC,OAAO,EAAE,eAAe;gBAAxB,OAAO,EAAE,eAAe;IAE9C,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM;CAK/B"}
|
||||
11
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts
generated
vendored
Normal file
11
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { AccountlessApplication } from '../resources/AccountlessApplication';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class AccountlessApplicationAPI extends AbstractAPI {
|
||||
createAccountlessApplication(params?: {
|
||||
requestHeaders?: Headers;
|
||||
}): Promise<AccountlessApplication>;
|
||||
completeAccountlessApplicationOnboarding(params?: {
|
||||
requestHeaders?: Headers;
|
||||
}): Promise<AccountlessApplication>;
|
||||
}
|
||||
//# sourceMappingURL=AccountlessApplicationsAPI.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AccountlessApplicationsAPI.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AccountlessApplicationsAPI.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,yBAA0B,SAAQ,WAAW;IAC3C,4BAA4B,CAAC,MAAM,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE;IASlE,wCAAwC,CAAC,MAAM,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE;CAQ5F"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { ActorToken } from '../resources/ActorToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type ActorTokenActorCreateParams = {
|
||||
/**
|
||||
* The ID of the actor.
|
||||
*/
|
||||
sub: string;
|
||||
/**
|
||||
* Additional properties of the actor.
|
||||
*/
|
||||
additionalProperties?: {
|
||||
[k: string]: any;
|
||||
};
|
||||
};
|
||||
type ActorTokenCreateParams = {
|
||||
/**
|
||||
* The ID of the user being impersonated.
|
||||
*/
|
||||
userId: string;
|
||||
/**
|
||||
* The actor payload. It needs to include a sub property which should contain the ID of the actor.
|
||||
*
|
||||
* @remarks
|
||||
* This whole payload will be also included in the JWT session token.
|
||||
*/
|
||||
actor: ActorTokenActorCreateParams;
|
||||
/**
|
||||
* Optional parameter to specify the life duration of the actor token in seconds.
|
||||
*
|
||||
* @remarks
|
||||
* By default, the duration is 1 hour.
|
||||
*/
|
||||
expiresInSeconds?: number | undefined;
|
||||
/**
|
||||
* The maximum duration that the session which will be created by the generated actor token should last.
|
||||
*
|
||||
* @remarks
|
||||
* By default, the duration of a session created via an actor token, lasts 30 minutes.
|
||||
*/
|
||||
sessionMaxDurationInSeconds?: number | undefined;
|
||||
};
|
||||
export declare class ActorTokenAPI extends AbstractAPI {
|
||||
create(params: ActorTokenCreateParams): Promise<ActorToken>;
|
||||
revoke(actorTokenId: string): Promise<ActorToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ActorTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ActorTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ActorTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,KAAK,EAAE,2BAA2B,CAAC;IACnC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,aAAc,SAAQ,WAAW;IAC/B,MAAM,CAAC,MAAM,EAAE,sBAAsB;IAQrC,MAAM,CAAC,YAAY,EAAE,MAAM;CAOzC"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { AgentTask } from '../resources/AgentTask';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateAgentTaskParams = {
|
||||
/**
|
||||
* The user to create an agent task for.
|
||||
*/
|
||||
onBehalfOf: {
|
||||
/**
|
||||
* The identifier of the user to create an agent task for.
|
||||
*/
|
||||
identifier: string;
|
||||
userId?: never;
|
||||
} | {
|
||||
/**
|
||||
* The ID of the user to create an agent task for.
|
||||
*/
|
||||
userId: string;
|
||||
identifier?: never;
|
||||
};
|
||||
/**
|
||||
* The permissions the agent task will have.
|
||||
*/
|
||||
permissions: string;
|
||||
/**
|
||||
* The name of the agent to create an agent task for.
|
||||
*/
|
||||
agentName: string;
|
||||
/**
|
||||
* The description of the agent task to create.
|
||||
*/
|
||||
taskDescription: string;
|
||||
/**
|
||||
* The URL to redirect to after the agent task is consumed.
|
||||
*/
|
||||
redirectUrl: string;
|
||||
/**
|
||||
* The maximum duration that the session which will be created by the generated agent task should last.
|
||||
* By default, the duration is 30 minutes.
|
||||
*/
|
||||
sessionMaxDurationInSeconds?: number;
|
||||
};
|
||||
export declare class AgentTaskAPI extends AbstractAPI {
|
||||
create(params: CreateAgentTaskParams): Promise<AgentTask>;
|
||||
revoke(agentTaskId: string): Promise<Omit<AgentTask, "url">>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AgentTaskApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AgentTaskApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AgentTaskApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,UAAU,EACN;QACE;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB,GACD;QACE;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,KAAK,CAAC;KACpB,CAAC;IACN;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC,CAAC;AAIF,qBAAa,YAAa,SAAQ,WAAW;IAC9B,MAAM,CAAC,MAAM,EAAE,qBAAqB;IAWpC,MAAM,CAAC,WAAW,EAAE,MAAM;CAOxC"}
|
||||
16
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts
generated
vendored
Normal file
16
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { AllowlistIdentifier } from '../resources/AllowlistIdentifier';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type AllowlistIdentifierCreateParams = {
|
||||
identifier: string;
|
||||
notify: boolean;
|
||||
};
|
||||
export declare class AllowlistIdentifierAPI extends AbstractAPI {
|
||||
getAllowlistIdentifierList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<AllowlistIdentifier[]>>;
|
||||
createAllowlistIdentifier(params: AllowlistIdentifierCreateParams): Promise<AllowlistIdentifier>;
|
||||
deleteAllowlistIdentifier(allowlistIdentifierId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AllowlistIdentifierApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AllowlistIdentifierApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AllowlistIdentifierApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW;IACxC,0BAA0B,CAAC,MAAM,GAAE,sBAA2B;IAQ9D,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAQjE,yBAAyB,CAAC,qBAAqB,EAAE,MAAM;CAOrE"}
|
||||
29
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts
generated
vendored
Normal file
29
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type ChangeDomainParams = {
|
||||
/**
|
||||
* The new home URL of the production instance e.g. https://www.example.com
|
||||
*/
|
||||
homeUrl?: string;
|
||||
/**
|
||||
* Whether this is a domain for a secondary app, meaning that any subdomain
|
||||
* provided is significant and will be stored as part of the domain. This is
|
||||
* useful for supporting multiple apps (one primary and multiple secondaries)
|
||||
* on the same root domain (eTLD+1).
|
||||
*/
|
||||
isSecondary?: boolean;
|
||||
};
|
||||
export declare class BetaFeaturesAPI extends AbstractAPI {
|
||||
/**
|
||||
* Change the domain of a production instance.
|
||||
*
|
||||
* Changing the domain requires updating the DNS records accordingly, deploying new SSL certificates,
|
||||
* updating your Social Connection's redirect URLs and setting the new keys in your code.
|
||||
*
|
||||
* @remarks
|
||||
* WARNING: Changing your domain will invalidate all current user sessions (i.e. users will be logged out).
|
||||
* Also, while your application is being deployed, a small downtime is expected to occur.
|
||||
*/
|
||||
changeDomain(params: ChangeDomainParams): Promise<void>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BetaFeaturesApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BetaFeaturesApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BetaFeaturesApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;OASG;IACU,YAAY,CAAC,MAAM,EAAE,kBAAkB;CAOrD"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { BillingPlan } from '../resources/CommercePlan';
|
||||
import type { BillingSubscription } from '../resources/CommerceSubscription';
|
||||
import type { BillingSubscriptionItem } from '../resources/CommerceSubscriptionItem';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetOrganizationListParams = ClerkPaginationRequest<{
|
||||
payerType: 'org' | 'user';
|
||||
}>;
|
||||
type CancelSubscriptionItemParams = {
|
||||
/**
|
||||
* If true, the subscription item will be canceled immediately. If false or undefined, the subscription item will be canceled at the end of the current billing period.
|
||||
* @default undefined
|
||||
*/
|
||||
endNow?: boolean;
|
||||
};
|
||||
type ExtendSubscriptionItemFreeTrialParams = {
|
||||
/**
|
||||
* RFC3339 timestamp to extend the free trial to.
|
||||
* Must be in the future and not more than 365 days from the current trial end.
|
||||
*/
|
||||
extendTo: Date;
|
||||
};
|
||||
export declare class BillingAPI extends AbstractAPI {
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getPlanList(params?: GetOrganizationListParams): Promise<PaginatedResourceResponse<BillingPlan[]>>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
cancelSubscriptionItem(subscriptionItemId: string, params?: CancelSubscriptionItemParams): Promise<BillingSubscriptionItem>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
extendSubscriptionItemFreeTrial(subscriptionItemId: string, params: ExtendSubscriptionItemFreeTrialParams): Promise<BillingSubscriptionItem>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getOrganizationBillingSubscription(organizationId: string): Promise<BillingSubscription>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getUserBillingSubscription(userId: string): Promise<BillingSubscription>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BillingApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BillingApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BillingApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,KAAK,yBAAyB,GAAG,sBAAsB,CAAC;IACtD,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC3B,CAAC,CAAC;AAEH,KAAK,4BAA4B,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,qCAAqC,GAAG;IAC3C;;;OAGG;IACH,QAAQ,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACU,WAAW,CAAC,MAAM,CAAC,EAAE,yBAAyB;IAQ3D;;OAEG;IACU,sBAAsB,CAAC,kBAAkB,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,4BAA4B;IASrG;;OAEG;IACU,+BAA+B,CAC1C,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,qCAAqC;IAU/C;;OAEG;IACU,kCAAkC,CAAC,cAAc,EAAE,MAAM;IAQtE;;OAEG;IACU,0BAA0B,CAAC,MAAM,EAAE,MAAM;CAOvD"}
|
||||
15
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts
generated
vendored
Normal file
15
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { BlocklistIdentifier } from '../resources/BlocklistIdentifier';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type BlocklistIdentifierCreateParams = {
|
||||
identifier: string;
|
||||
};
|
||||
export declare class BlocklistIdentifierAPI extends AbstractAPI {
|
||||
getBlocklistIdentifierList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<BlocklistIdentifier[]>>;
|
||||
createBlocklistIdentifier(params: BlocklistIdentifierCreateParams): Promise<BlocklistIdentifier>;
|
||||
deleteBlocklistIdentifier(blocklistIdentifierId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BlocklistIdentifierApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BlocklistIdentifierApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BlocklistIdentifierApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW;IACxC,0BAA0B,CAAC,MAAM,GAAE,sBAA2B;IAQ9D,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAQjE,yBAAyB,CAAC,qBAAqB,EAAE,MAAM;CAOrE"}
|
||||
16
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts
generated
vendored
Normal file
16
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { Client } from '../resources/Client';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { HandshakePayload } from '../resources/HandshakePayload';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetHandshakePayloadParams = {
|
||||
nonce: string;
|
||||
};
|
||||
export declare class ClientAPI extends AbstractAPI {
|
||||
getClientList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<Client[]>>;
|
||||
getClient(clientId: string): Promise<Client>;
|
||||
verifyClient(token: string): Promise<Client>;
|
||||
getHandshakePayload(queryParams: GetHandshakePayloadParams): Promise<HandshakePayload>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ClientApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClientApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ClientApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,aAAa,CAAC,MAAM,GAAE,sBAA2B;IAQjD,SAAS,CAAC,QAAQ,EAAE,MAAM;IAQhC,YAAY,CAAC,KAAK,EAAE,MAAM;IAQpB,mBAAmB,CAAC,WAAW,EAAE,yBAAyB;CAOxE"}
|
||||
46
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts
generated
vendored
Normal file
46
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Domain } from '../resources/Domain';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type AddDomainParams = {
|
||||
/**
|
||||
* The new domain name. For development instances, can contain the port, i.e myhostname:3000. For production instances, must be a valid FQDN, i.e mysite.com. Cannot contain protocol scheme.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Marks the new domain as satellite. Only true is accepted at the moment.
|
||||
*/
|
||||
is_satellite: boolean;
|
||||
/**
|
||||
* The full URL of the proxy which will forward requests to the Clerk Frontend API for this domain. Applicable only to production instances.
|
||||
*/
|
||||
proxy_url?: string | null;
|
||||
};
|
||||
type UpdateDomainParams = Partial<Pick<AddDomainParams, 'name' | 'proxy_url'>> & {
|
||||
/**
|
||||
* The ID of the domain that will be updated.
|
||||
*/
|
||||
domainId: string;
|
||||
/**
|
||||
* Whether this is a domain for a secondary app, meaning that any subdomain provided is significant
|
||||
* and will be stored as part of the domain. This is useful for supporting multiple apps
|
||||
* (one primary and multiple secondaries) on the same root domain (eTLD+1).
|
||||
*/
|
||||
is_secondary?: boolean | null;
|
||||
};
|
||||
export declare class DomainAPI extends AbstractAPI {
|
||||
list(): Promise<PaginatedResourceResponse<Domain[]>>;
|
||||
add(params: AddDomainParams): Promise<Domain>;
|
||||
update(params: UpdateDomainParams): Promise<Domain>;
|
||||
/**
|
||||
* Deletes a satellite domain for the instance.
|
||||
* It is currently not possible to delete the instance's primary domain.
|
||||
*/
|
||||
delete(satelliteDomainId: string): Promise<DeletedObject>;
|
||||
/**
|
||||
* @deprecated Use `delete` instead
|
||||
*/
|
||||
deleteDomain(satelliteDomainId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=DomainApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DomainApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/DomainApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,KAAK,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,GAAG;IAC/E;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,IAAI;IAOJ,GAAG,CAAC,MAAM,EAAE,eAAe;IAQ3B,MAAM,CAAC,MAAM,EAAE,kBAAkB;IAY9C;;;OAGG;IACU,MAAM,CAAC,iBAAiB,EAAE,MAAM;IAI7C;;OAEG;IACU,YAAY,CAAC,iBAAiB,EAAE,MAAM;CAOpD"}
|
||||
20
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts
generated
vendored
Normal file
20
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { DeletedObject, EmailAddress } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateEmailAddressParams = {
|
||||
userId: string;
|
||||
emailAddress: string;
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
};
|
||||
type UpdateEmailAddressParams = {
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
};
|
||||
export declare class EmailAddressAPI extends AbstractAPI {
|
||||
getEmailAddress(emailAddressId: string): Promise<EmailAddress>;
|
||||
createEmailAddress(params: CreateEmailAddressParams): Promise<EmailAddress>;
|
||||
updateEmailAddress(emailAddressId: string, params?: UpdateEmailAddressParams): Promise<EmailAddress>;
|
||||
deleteEmailAddress(emailAddressId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=EmailAddressApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EmailAddressApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/EmailAddressApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IACjC,eAAe,CAAC,cAAc,EAAE,MAAM;IAStC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB;IAQnD,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,GAAE,wBAA6B;IAUhF,kBAAkB,CAAC,cAAc,EAAE,MAAM;CAQvD"}
|
||||
62
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts
generated
vendored
Normal file
62
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { EnterpriseConnection } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type EnterpriseConnectionListParams = ClerkPaginationRequest<{
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
}>;
|
||||
export interface EnterpriseConnectionOidcParams {
|
||||
authUrl?: string;
|
||||
clientId?: string;
|
||||
clientSecret?: string;
|
||||
discoveryUrl?: string;
|
||||
requiresPkce?: boolean;
|
||||
tokenUrl?: string;
|
||||
userInfoUrl?: string;
|
||||
}
|
||||
export interface EnterpriseConnectionSamlAttributeMappingParams {
|
||||
userId?: string | null;
|
||||
emailAddress?: string | null;
|
||||
firstName?: string | null;
|
||||
lastName?: string | null;
|
||||
}
|
||||
export interface EnterpriseConnectionSamlParams {
|
||||
allowIdpInitiated?: boolean;
|
||||
allowSubdomains?: boolean;
|
||||
attributeMapping?: EnterpriseConnectionSamlAttributeMappingParams;
|
||||
forceAuthn?: boolean;
|
||||
idpCertificate?: string;
|
||||
idpEntityId?: string;
|
||||
idpMetadata?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpSsoUrl?: string;
|
||||
}
|
||||
type CreateEnterpriseConnectionParams = {
|
||||
name?: string;
|
||||
domains?: string[];
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
oidc?: EnterpriseConnectionOidcParams;
|
||||
saml?: EnterpriseConnectionSamlParams;
|
||||
};
|
||||
type UpdateEnterpriseConnectionParams = {
|
||||
name?: string;
|
||||
domains?: string[];
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
provider?: string;
|
||||
oidc?: EnterpriseConnectionOidcParams;
|
||||
saml?: EnterpriseConnectionSamlParams;
|
||||
};
|
||||
export declare class EnterpriseConnectionAPI extends AbstractAPI {
|
||||
createEnterpriseConnection(params: CreateEnterpriseConnectionParams): Promise<EnterpriseConnection>;
|
||||
updateEnterpriseConnection(enterpriseConnectionId: string, params: UpdateEnterpriseConnectionParams): Promise<EnterpriseConnection>;
|
||||
getEnterpriseConnectionList(params?: EnterpriseConnectionListParams): Promise<PaginatedResourceResponse<EnterpriseConnection[]>>;
|
||||
getEnterpriseConnection(enterpriseConnectionId: string): Promise<EnterpriseConnection>;
|
||||
deleteEnterpriseConnection(enterpriseConnectionId: string): Promise<EnterpriseConnection>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=EnterpriseConnectionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EnterpriseConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/EnterpriseConnectionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,8BAA8B,GAAG,sBAAsB,CAAC;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,8CAA8C;IAC7D,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,8BAA8B;IAC7C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,8CAA8C,CAAC;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,gCAAgC,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,8BAA8B,CAAC;IACtC,IAAI,CAAC,EAAE,8BAA8B,CAAC;CACvC,CAAC;AAEF,KAAK,gCAAgC,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,8BAA8B,CAAC;IACtC,IAAI,CAAC,EAAE,8BAA8B,CAAC;CACvC,CAAC;AAEF,qBAAa,uBAAwB,SAAQ,WAAW;IACzC,0BAA0B,CAAC,MAAM,EAAE,gCAAgC;IAWnE,0BAA0B,CAAC,sBAAsB,EAAE,MAAM,EAAE,MAAM,EAAE,gCAAgC;IAYnG,2BAA2B,CAAC,MAAM,GAAE,8BAAmC;IAQvE,uBAAuB,CAAC,sBAAsB,EAAE,MAAM;IAQtD,0BAA0B,CAAC,sBAAsB,EAAE,MAAM;CAOvE"}
|
||||
6
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts
generated
vendored
Normal file
6
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { IdPOAuthAccessToken } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class IdPOAuthAccessTokenApi extends AbstractAPI {
|
||||
verify(accessToken: string): Promise<IdPOAuthAccessToken>;
|
||||
}
|
||||
//# sourceMappingURL=IdPOAuthAccessTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IdPOAuthAccessTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/IdPOAuthAccessTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,sBAAuB,SAAQ,WAAW;IAC/C,MAAM,CAAC,WAAW,EAAE,MAAM;CAOjC"}
|
||||
71
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts
generated
vendored
Normal file
71
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import type { Instance } from '../resources/Instance';
|
||||
import type { InstanceRestrictions } from '../resources/InstanceRestrictions';
|
||||
import type { OrganizationSettings } from '../resources/OrganizationSettings';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type UpdateParams = {
|
||||
/**
|
||||
* Toggles test mode for this instance, allowing the use of test email addresses and phone numbers.
|
||||
*
|
||||
* @remarks Defaults to true for development instances.
|
||||
*/
|
||||
testMode?: boolean | null | undefined;
|
||||
/**
|
||||
* Whether the instance should be using the HIBP service to check passwords for breaches
|
||||
*/
|
||||
hibp?: boolean | null | undefined;
|
||||
/**
|
||||
* The "enhanced_email_deliverability" feature will send emails from "verifications@clerk.dev" instead of your domain.
|
||||
*
|
||||
* @remarks This can be helpful if you do not have a high domain reputation.
|
||||
*/
|
||||
enhancedEmailDeliverability?: boolean | null | undefined;
|
||||
supportEmail?: string | null | undefined;
|
||||
clerkJsVersion?: string | null | undefined;
|
||||
developmentOrigin?: string | null | undefined;
|
||||
/**
|
||||
* For browser-like stacks such as browser extensions, Electron, or Capacitor.js the instance allowed origins need to be updated with the request origin value.
|
||||
*
|
||||
* @remarks For Chrome extensions popup, background, or service worker pages the origin is chrome-extension://extension_uiid. For Electron apps the default origin is http://localhost:3000. For Capacitor, the origin is capacitor://localhost.
|
||||
*/
|
||||
allowedOrigins?: Array<string> | undefined;
|
||||
/**
|
||||
* Whether the instance should use URL-based session syncing in development mode (i.e. without third-party cookies).
|
||||
*/
|
||||
urlBasedSessionSyncing?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateRestrictionsParams = {
|
||||
allowlist?: boolean | null | undefined;
|
||||
blocklist?: boolean | null | undefined;
|
||||
blockEmailSubaddresses?: boolean | null | undefined;
|
||||
blockDisposableEmailDomains?: boolean | null | undefined;
|
||||
ignoreDotsForGmailAddresses?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateOrganizationSettingsParams = {
|
||||
enabled?: boolean | null | undefined;
|
||||
maxAllowedMemberships?: number | null | undefined;
|
||||
adminDeleteEnabled?: boolean | null | undefined;
|
||||
domainsEnabled?: boolean | null | undefined;
|
||||
/**
|
||||
* Specifies which [enrollment modes](https://clerk.com/docs/guides/organizations/add-members/verified-domains#enable-verified-domains) to enable for your Organization Domains.
|
||||
*
|
||||
* @remarks Supported modes are 'automatic_invitation' & 'automatic_suggestion'.
|
||||
*/
|
||||
domainsEnrollmentModes?: Array<string> | undefined;
|
||||
/**
|
||||
* Specifies what the default Organization Role is for an Organization creator.
|
||||
*/
|
||||
creatorRoleId?: string | null | undefined;
|
||||
/**
|
||||
* Specifies what the default Organization Role is for the Organization Domains.
|
||||
*/
|
||||
domainsDefaultRoleId?: string | null | undefined;
|
||||
};
|
||||
export declare class InstanceAPI extends AbstractAPI {
|
||||
get(): Promise<Instance>;
|
||||
update(params: UpdateParams): Promise<void>;
|
||||
updateRestrictions(params: UpdateRestrictionsParams): Promise<InstanceRestrictions>;
|
||||
getOrganizationSettings(): Promise<OrganizationSettings>;
|
||||
updateOrganizationSettings(params: UpdateOrganizationSettingsParams): Promise<OrganizationSettings>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=InstanceApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InstanceApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/InstanceApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,YAAY,GAAG;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,2BAA2B,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,2BAA2B,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1D,CAAC;AAEF,KAAK,gCAAgC,GAAG;IACtC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,WAAY,SAAQ,WAAW;IAC7B,GAAG;IAOH,MAAM,CAAC,MAAM,EAAE,YAAY;IAQ3B,kBAAkB,CAAC,MAAM,EAAE,wBAAwB;IAQnD,uBAAuB;IAOvB,0BAA0B,CAAC,MAAM,EAAE,gCAAgC;CAOjF"}
|
||||
71
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts
generated
vendored
Normal file
71
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { InvitationStatus } from '../resources/Enums';
|
||||
import type { Invitation } from '../resources/Invitation';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type TemplateSlug = 'invitation' | 'waitlist_invitation';
|
||||
type CreateParams = {
|
||||
emailAddress: string;
|
||||
expiresInDays?: number;
|
||||
ignoreExisting?: boolean;
|
||||
notify?: boolean;
|
||||
publicMetadata?: UserPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
templateSlug?: TemplateSlug;
|
||||
};
|
||||
type CreateBulkParams = Array<CreateParams>;
|
||||
type GetInvitationListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Orders the returned invitations by a specific field and direction.
|
||||
*
|
||||
* Use a leading '-' for descending order, or no sign/'+' for ascending.
|
||||
*
|
||||
* Supported fields:
|
||||
* - 'created_at' — when the invitation was created
|
||||
* - 'email_address' — recipient email address
|
||||
* - 'expires_at' — when the invitation expires
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* // Newest first
|
||||
* await clerkClient.invitations.getInvitationList({ orderBy: '-created_at' });
|
||||
*
|
||||
* // Alphabetical by email
|
||||
* await clerkClient.invitations.getInvitationList({ orderBy: 'email_address' });
|
||||
* ```
|
||||
*/
|
||||
orderBy?: WithSign<'created_at' | 'email_address' | 'expires_at'>;
|
||||
/**
|
||||
* Filters invitations based on their status.
|
||||
*
|
||||
* @example
|
||||
* Get all revoked invitations
|
||||
* ```ts
|
||||
* import { createClerkClient } from '@clerk/backend';
|
||||
* const clerkClient = createClerkClient(...)
|
||||
* await clerkClient.invitations.getInvitationList({ status: 'revoked' })
|
||||
* ```
|
||||
*/
|
||||
status?: InvitationStatus;
|
||||
/**
|
||||
* Filters invitations based on `email_address` or `id`.
|
||||
*
|
||||
* @example
|
||||
* Get all invitations for a specific email address
|
||||
* ```ts
|
||||
* import { createClerkClient } from '@clerk/backend';
|
||||
* const clerkClient = createClerkClient(...)
|
||||
* await clerkClient.invitations.getInvitationList({ query: 'user@example.com' })
|
||||
* ```
|
||||
*/
|
||||
query?: string;
|
||||
}>;
|
||||
export declare class InvitationAPI extends AbstractAPI {
|
||||
getInvitationList(params?: GetInvitationListParams): Promise<PaginatedResourceResponse<Invitation[]>>;
|
||||
createInvitation(params: CreateParams): Promise<Invitation>;
|
||||
createInvitationBulk(params: CreateBulkParams): Promise<Invitation[]>;
|
||||
revokeInvitation(invitationId: string): Promise<Invitation>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=InvitationApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InvitationApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/InvitationApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,YAAY,GAAG,YAAY,GAAG,qBAAqB,CAAC;AAEzD,KAAK,YAAY,GAAG;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,KAAK,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;AAE5C,KAAK,uBAAuB,GAAG,sBAAsB,CAAC;IACpD;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,YAAY,GAAG,eAAe,GAAG,YAAY,CAAC,CAAC;IAClE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,qBAAa,aAAc,SAAQ,WAAW;IAC/B,iBAAiB,CAAC,MAAM,GAAE,uBAA4B;IAQtD,gBAAgB,CAAC,MAAM,EAAE,YAAY;IAQrC,oBAAoB,CAAC,MAAM,EAAE,gBAAgB;IAQ7C,gBAAgB,CAAC,YAAY,EAAE,MAAM;CAOnD"}
|
||||
6
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts
generated
vendored
Normal file
6
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { JwksJSON } from '../resources/JSON';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class JwksAPI extends AbstractAPI {
|
||||
getJwks(): Promise<JwksJSON>;
|
||||
}
|
||||
//# sourceMappingURL=JwksApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"JwksApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/JwksApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,OAAQ,SAAQ,WAAW;IACzB,OAAO;CAMrB"}
|
||||
50
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts
generated
vendored
Normal file
50
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject, JwtTemplate } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type Claims = object;
|
||||
type CreateJWTTemplateParams = {
|
||||
/**
|
||||
* JWT template name
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* JWT template claims in JSON format
|
||||
*/
|
||||
claims: Claims;
|
||||
/**
|
||||
* JWT token lifetime
|
||||
*/
|
||||
lifetime?: number | null | undefined;
|
||||
/**
|
||||
* JWT token allowed clock skew
|
||||
*/
|
||||
allowedClockSkew?: number | null | undefined;
|
||||
/**
|
||||
* Whether a custom signing key/algorithm is also provided for this template
|
||||
*/
|
||||
customSigningKey?: boolean | undefined;
|
||||
/**
|
||||
* The custom signing algorithm to use when minting JWTs. Required if `custom_signing_key` is `true`.
|
||||
*/
|
||||
signingAlgorithm?: string | null | undefined;
|
||||
/**
|
||||
* The custom signing private key to use when minting JWTs. Required if `custom_signing_key` is `true`.
|
||||
*/
|
||||
signingKey?: string | null | undefined;
|
||||
};
|
||||
type UpdateJWTTemplateParams = CreateJWTTemplateParams & {
|
||||
/**
|
||||
* JWT template ID
|
||||
*/
|
||||
templateId: string;
|
||||
};
|
||||
export declare class JwtTemplatesApi extends AbstractAPI {
|
||||
list(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<JwtTemplate[]>>;
|
||||
get(templateId: string): Promise<JwtTemplate>;
|
||||
create(params: CreateJWTTemplateParams): Promise<JwtTemplate>;
|
||||
update(params: UpdateJWTTemplateParams): Promise<JwtTemplate>;
|
||||
delete(templateId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=JwtTemplatesApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"JwtTemplatesApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/JwtTemplatesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,MAAM,GAAG,MAAM,CAAC;AAErB,KAAK,uBAAuB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,KAAK,uBAAuB,GAAG,uBAAuB,GAAG;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IACjC,IAAI,CAAC,MAAM,GAAE,sBAA2B;IAQxC,GAAG,CAAC,UAAU,EAAE,MAAM;IAStB,MAAM,CAAC,MAAM,EAAE,uBAAuB;IAQtC,MAAM,CAAC,MAAM,EAAE,uBAAuB;IAWtC,MAAM,CAAC,UAAU,EAAE,MAAM;CAQvC"}
|
||||
87
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts
generated
vendored
Normal file
87
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { JwtMachineVerifyOptions } from '../../jwt/verifyMachineJwt';
|
||||
import type { RequestFunction } from '../request';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { M2MToken } from '../resources/M2MToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
/**
|
||||
* Format of the M2M token to create.
|
||||
* - 'opaque': Opaque token with mt_ prefix
|
||||
* - 'jwt': JWT signed with instance keys
|
||||
*/
|
||||
export type M2MTokenFormat = 'opaque' | 'jwt';
|
||||
type GetM2MTokenListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* The machine ID to query machine-to-machine tokens by
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* Whether to include revoked machine-to-machine tokens.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
revoked?: boolean;
|
||||
/**
|
||||
* Whether to include expired machine-to-machine tokens.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
expired?: boolean;
|
||||
}>;
|
||||
type CreateM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Number of seconds until the token expires.
|
||||
*
|
||||
* @default null - Token does not expire
|
||||
*/
|
||||
secondsUntilExpiration?: number | null;
|
||||
claims?: Record<string, unknown> | null;
|
||||
/**
|
||||
* @default 'opaque'
|
||||
*/
|
||||
tokenFormat?: M2MTokenFormat;
|
||||
};
|
||||
type RevokeM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Machine-to-machine token ID to revoke.
|
||||
*/
|
||||
m2mTokenId: string;
|
||||
revocationReason?: string | null;
|
||||
};
|
||||
type VerifyM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Machine-to-machine token to verify.
|
||||
*/
|
||||
token: string;
|
||||
};
|
||||
export declare class M2MTokenApi extends AbstractAPI {
|
||||
#private;
|
||||
/**
|
||||
* @param verifyOptions - JWT verification options (secretKey, apiUrl, etc.).
|
||||
* Passed explicitly because BuildRequestOptions are captured inside the buildRequest closure
|
||||
* and are not accessible from the RequestFunction itself.
|
||||
*/
|
||||
constructor(request: RequestFunction, verifyOptions?: JwtMachineVerifyOptions);
|
||||
list(queryParams: GetM2MTokenListParams): Promise<PaginatedResourceResponse<M2MToken[]>>;
|
||||
createToken(params?: CreateM2MTokenParams): Promise<M2MToken>;
|
||||
revokeToken(params: RevokeM2MTokenParams): Promise<M2MToken>;
|
||||
verify(params: VerifyM2MTokenParams): Promise<M2MToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=M2MTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"M2MTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/M2MTokenApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAIlE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAI1E,OAAO,KAAK,EAAiC,eAAe,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9C,KAAK,qBAAqB,GAAG,sBAAsB,CAAC;IAClD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,WAAY,SAAQ,WAAW;;IAG1C;;;;OAIG;gBACS,OAAO,EAAE,eAAe,EAAE,aAAa,GAAE,uBAA4B;IAmB3E,IAAI,CAAC,WAAW,EAAE,qBAAqB;IAevC,WAAW,CAAC,MAAM,CAAC,EAAE,oBAAoB;IAmBzC,WAAW,CAAC,MAAM,EAAE,oBAAoB;IAyCxC,MAAM,CAAC,MAAM,EAAE,oBAAoB;CAkB1C"}
|
||||
81
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts
generated
vendored
Normal file
81
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Machine } from '../resources/Machine';
|
||||
import type { MachineScope } from '../resources/MachineScope';
|
||||
import type { MachineSecretKey } from '../resources/MachineSecretKey';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type CreateMachineParams = {
|
||||
/**
|
||||
* The name of the machine.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Array of machine IDs that this machine will have access to.
|
||||
*/
|
||||
scopedMachines?: string[];
|
||||
/**
|
||||
* The default time-to-live (TTL) in seconds for tokens created by this machine.
|
||||
*/
|
||||
defaultTokenTtl?: number;
|
||||
};
|
||||
type UpdateMachineParams = {
|
||||
/**
|
||||
* The ID of the machine to update.
|
||||
*/
|
||||
machineId: string;
|
||||
/**
|
||||
* The name of the machine.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* The default time-to-live (TTL) in seconds for tokens created by this machine.
|
||||
*/
|
||||
defaultTokenTtl?: number;
|
||||
};
|
||||
type GetMachineListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts machines by name or created_at.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'name' | 'created_at'>;
|
||||
/**
|
||||
* Returns machines that have a ID or name that matches the given query.
|
||||
*/
|
||||
query?: string;
|
||||
}>;
|
||||
type RotateMachineSecretKeyParams = {
|
||||
/**
|
||||
* The ID of the machine to rotate the secret key for.
|
||||
*/
|
||||
machineId: string;
|
||||
/**
|
||||
* The time in seconds that the previous secret key will remain valid after rotation.
|
||||
*/
|
||||
previousTokenTtl: number;
|
||||
};
|
||||
export declare class MachineApi extends AbstractAPI {
|
||||
get(machineId: string): Promise<Machine>;
|
||||
list(queryParams?: GetMachineListParams): Promise<PaginatedResourceResponse<Machine[]>>;
|
||||
create(bodyParams: CreateMachineParams): Promise<Machine>;
|
||||
update(params: UpdateMachineParams): Promise<Machine>;
|
||||
delete(machineId: string): Promise<Machine>;
|
||||
getSecretKey(machineId: string): Promise<MachineSecretKey>;
|
||||
rotateSecretKey(params: RotateMachineSecretKeyParams): Promise<MachineSecretKey>;
|
||||
/**
|
||||
* Creates a new machine scope, allowing the specified machine to access another machine.
|
||||
*
|
||||
* @param machineId - The ID of the machine that will have access to another machine.
|
||||
* @param toMachineId - The ID of the machine that will be scoped to the current machine.
|
||||
*/
|
||||
createScope(machineId: string, toMachineId: string): Promise<MachineScope>;
|
||||
/**
|
||||
* Deletes a machine scope, removing access from one machine to another.
|
||||
*
|
||||
* @param machineId - The ID of the machine that has access to another machine.
|
||||
* @param otherMachineId - The ID of the machine that is being accessed.
|
||||
*/
|
||||
deleteScope(machineId: string, otherMachineId: string): Promise<MachineScope>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=MachineApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MachineApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/MachineApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,oBAAoB,GAAG,sBAAsB,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,KAAK,4BAA4B,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACnC,GAAG,CAAC,SAAS,EAAE,MAAM;IAQrB,IAAI,CAAC,WAAW,GAAE,oBAAyB;IAQ3C,MAAM,CAAC,UAAU,EAAE,mBAAmB;IAQtC,MAAM,CAAC,MAAM,EAAE,mBAAmB;IAUlC,MAAM,CAAC,SAAS,EAAE,MAAM;IAQxB,YAAY,CAAC,SAAS,EAAE,MAAM;IAQ9B,eAAe,CAAC,MAAM,EAAE,4BAA4B;IAY1D;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAWxD;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;CAO5D"}
|
||||
49
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts
generated
vendored
Normal file
49
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { OAuthApplication } from '../resources/OAuthApplication';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type CreateOAuthApplicationParams = {
|
||||
/**
|
||||
* The name of the new OAuth application.
|
||||
*
|
||||
* @remarks Max length: 256
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* An array of redirect URIs of the new OAuth application
|
||||
*/
|
||||
redirectUris?: Array<string> | null | undefined;
|
||||
/**
|
||||
* Define the allowed scopes for the new OAuth applications that dictate the user payload of the OAuth user info endpoint. Available scopes are `profile`, `email`, `public_metadata`, `private_metadata`. Provide the requested scopes as a string, separated by spaces.
|
||||
*/
|
||||
scopes?: string | null | undefined;
|
||||
/**
|
||||
* If true, this client is public and you can use the Proof Key of Code Exchange (PKCE) flow.
|
||||
*/
|
||||
public?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateOAuthApplicationParams = CreateOAuthApplicationParams & {
|
||||
/**
|
||||
* The ID of the OAuth application to update
|
||||
*/
|
||||
oauthApplicationId: string;
|
||||
};
|
||||
type GetOAuthApplicationListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts OAuth applications by name or created_at.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'name' | 'created_at'>;
|
||||
}>;
|
||||
export declare class OAuthApplicationsApi extends AbstractAPI {
|
||||
list(params?: GetOAuthApplicationListParams): Promise<PaginatedResourceResponse<OAuthApplication[]>>;
|
||||
get(oauthApplicationId: string): Promise<OAuthApplication>;
|
||||
create(params: CreateOAuthApplicationParams): Promise<OAuthApplication>;
|
||||
update(params: UpdateOAuthApplicationParams): Promise<OAuthApplication>;
|
||||
delete(oauthApplicationId: string): Promise<DeletedObject>;
|
||||
rotateSecret(oauthApplicationId: string): Promise<OAuthApplication>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=OAuthApplicationsApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"OAuthApplicationsApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/OAuthApplicationsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,4BAA4B,GAAG;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,KAAK,4BAA4B,GAAG,4BAA4B,GAAG;IACjE;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,KAAK,6BAA6B,GAAG,sBAAsB,CAAC;IAC1D;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC3C,CAAC,CAAC;AAEH,qBAAa,oBAAqB,SAAQ,WAAW;IACtC,IAAI,CAAC,MAAM,GAAE,6BAAkC;IAQ/C,GAAG,CAAC,kBAAkB,EAAE,MAAM;IAS9B,MAAM,CAAC,MAAM,EAAE,4BAA4B;IAQ3C,MAAM,CAAC,MAAM,EAAE,4BAA4B;IAY3C,MAAM,CAAC,kBAAkB,EAAE,MAAM;IASjC,YAAY,CAAC,kBAAkB,EAAE,MAAM;CAQrD"}
|
||||
200
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts
generated
vendored
Normal file
200
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,200 @@
|
||||
import type { ClerkPaginationRequest, OrganizationEnrollmentMode } from '@clerk/shared/types';
|
||||
import type { Organization, OrganizationDomain, OrganizationInvitation, OrganizationInvitationStatus, OrganizationMembership } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { OrganizationMembershipRole } from '../resources/Enums';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type MetadataParams<TPublic = OrganizationPublicMetadata, TPrivate = OrganizationPrivateMetadata> = {
|
||||
publicMetadata?: TPublic;
|
||||
privateMetadata?: TPrivate;
|
||||
};
|
||||
type GetOrganizationListParams = ClerkPaginationRequest<{
|
||||
includeMembersCount?: boolean;
|
||||
query?: string;
|
||||
orderBy?: WithSign<'name' | 'created_at' | 'members_count'>;
|
||||
organizationId?: string[];
|
||||
}>;
|
||||
type CreateParams = {
|
||||
name: string;
|
||||
slug?: string;
|
||||
createdBy?: string;
|
||||
maxAllowedMemberships?: number;
|
||||
} & MetadataParams;
|
||||
type GetOrganizationParams = ({
|
||||
organizationId: string;
|
||||
} | {
|
||||
slug: string;
|
||||
}) & {
|
||||
includeMembersCount?: boolean;
|
||||
};
|
||||
type UpdateParams = {
|
||||
name?: string;
|
||||
slug?: string;
|
||||
adminDeleteEnabled?: boolean;
|
||||
maxAllowedMemberships?: number;
|
||||
} & MetadataParams;
|
||||
type UpdateLogoParams = {
|
||||
file: Blob | File;
|
||||
uploaderUserId?: string;
|
||||
};
|
||||
type UpdateMetadataParams = MetadataParams;
|
||||
type GetOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
organizationId: string;
|
||||
/**
|
||||
* Sorts Organization memberships by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
/**
|
||||
* Returns users with the user ids specified. For each user id, the `+` and `-` can be
|
||||
* prepended to the id, which denote whether the respective user id should be included or
|
||||
* excluded from the result set. Accepts up to 100 user ids. Any user ids not found are ignored.
|
||||
*/
|
||||
userId?: string[];
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string[];
|
||||
web3Wallet?: string[];
|
||||
role?: OrganizationMembershipRole[];
|
||||
/**
|
||||
* Returns users that match the given query.
|
||||
* For possible matches, we check the email addresses, phone numbers, usernames, web3 wallets, user ids, first and last names.
|
||||
* The query value doesn't need to match the exact value you are looking for, it is capable of partial matches as well.
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Returns users with emails that match the given query, via case-insensitive partial match.
|
||||
* For example, `email_address_query=ello` will match a user with the email `HELLO@example.com`.
|
||||
*/
|
||||
emailAddressQuery?: string;
|
||||
/**
|
||||
* Returns users with phone numbers that match the given query, via case-insensitive partial match.
|
||||
* For example, `phone_number_query=555` will match a user with the phone number `+1555xxxxxxx`.
|
||||
*/
|
||||
phoneNumberQuery?: string;
|
||||
/**
|
||||
* Returns users with usernames that match the given query, via case-insensitive partial match.
|
||||
* For example, `username_query=CoolUser` will match a user with the username `SomeCoolUser`.
|
||||
*/
|
||||
usernameQuery?: string;
|
||||
nameQuery?: string;
|
||||
/**
|
||||
* Returns users whose last session activity was before the given date (with millisecond precision).
|
||||
* Example: use 1700690400000 to retrieve users whose last session activity was before 2023-11-23.
|
||||
*/
|
||||
lastActiveAtBefore?: number;
|
||||
/**
|
||||
* Returns users whose last session activity was after the given date (with millisecond precision).
|
||||
* Example: use 1700690400000 to retrieve users whose last session activity was after 2023-11-23.
|
||||
*/
|
||||
lastActiveAtAfter?: number;
|
||||
/**
|
||||
* Returns users who have been created before the given date (with millisecond precision).
|
||||
* Example: use 1730160000000 to retrieve users who have been created before 2024-10-29.
|
||||
*/
|
||||
createdAtBefore?: number;
|
||||
/**
|
||||
* Returns users who have been created after the given date (with millisecond precision).
|
||||
* Example: use 1730160000000 to retrieve users who have been created after 2024-10-29.
|
||||
*/
|
||||
createdAtAfter?: number;
|
||||
}>;
|
||||
type GetInstanceOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts Organization memberships by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
}>;
|
||||
type CreateOrganizationMembershipParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
role: OrganizationMembershipRole;
|
||||
};
|
||||
type UpdateOrganizationMembershipParams = CreateOrganizationMembershipParams;
|
||||
type UpdateOrganizationMembershipMetadataParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
} & MetadataParams<OrganizationMembershipPublicMetadata>;
|
||||
type DeleteOrganizationMembershipParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
};
|
||||
type CreateOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
emailAddress: string;
|
||||
role: OrganizationMembershipRole;
|
||||
expiresInDays?: number;
|
||||
inviterUserId?: string;
|
||||
privateMetadata?: OrganizationInvitationPrivateMetadata;
|
||||
publicMetadata?: OrganizationInvitationPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
};
|
||||
type CreateBulkOrganizationInvitationParams = Array<{
|
||||
emailAddress: string;
|
||||
role: OrganizationMembershipRole;
|
||||
expiresInDays?: number;
|
||||
inviterUserId?: string;
|
||||
privateMetadata?: OrganizationInvitationPrivateMetadata;
|
||||
publicMetadata?: OrganizationInvitationPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
}>;
|
||||
type GetOrganizationInvitationListParams = ClerkPaginationRequest<{
|
||||
organizationId: string;
|
||||
status?: OrganizationInvitationStatus[];
|
||||
}>;
|
||||
type GetOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
invitationId: string;
|
||||
};
|
||||
type RevokeOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
invitationId: string;
|
||||
requestingUserId?: string;
|
||||
};
|
||||
type GetOrganizationDomainListParams = {
|
||||
organizationId: string;
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
};
|
||||
type CreateOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
name: string;
|
||||
enrollmentMode: OrganizationEnrollmentMode;
|
||||
verified?: boolean;
|
||||
};
|
||||
type UpdateOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
domainId: string;
|
||||
} & Partial<CreateOrganizationDomainParams>;
|
||||
type DeleteOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
domainId: string;
|
||||
};
|
||||
export declare class OrganizationAPI extends AbstractAPI {
|
||||
getOrganizationList(params?: GetOrganizationListParams): Promise<PaginatedResourceResponse<Organization[]>>;
|
||||
createOrganization(params: CreateParams): Promise<Organization>;
|
||||
getOrganization(params: GetOrganizationParams): Promise<Organization>;
|
||||
updateOrganization(organizationId: string, params: UpdateParams): Promise<Organization>;
|
||||
updateOrganizationLogo(organizationId: string, params: UpdateLogoParams): Promise<Organization>;
|
||||
deleteOrganizationLogo(organizationId: string): Promise<Organization>;
|
||||
updateOrganizationMetadata(organizationId: string, params: UpdateMetadataParams): Promise<Organization>;
|
||||
deleteOrganization(organizationId: string): Promise<Organization>;
|
||||
getOrganizationMembershipList(params: GetOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
getInstanceOrganizationMembershipList(params: GetInstanceOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
createOrganizationMembership(params: CreateOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
updateOrganizationMembership(params: UpdateOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
updateOrganizationMembershipMetadata(params: UpdateOrganizationMembershipMetadataParams): Promise<OrganizationMembership>;
|
||||
deleteOrganizationMembership(params: DeleteOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
getOrganizationInvitationList(params: GetOrganizationInvitationListParams): Promise<PaginatedResourceResponse<OrganizationInvitation[]>>;
|
||||
createOrganizationInvitation(params: CreateOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
createOrganizationInvitationBulk(organizationId: string, params: CreateBulkOrganizationInvitationParams): Promise<OrganizationInvitation[]>;
|
||||
getOrganizationInvitation(params: GetOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
revokeOrganizationInvitation(params: RevokeOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
getOrganizationDomainList(params: GetOrganizationDomainListParams): Promise<PaginatedResourceResponse<OrganizationDomain[]>>;
|
||||
createOrganizationDomain(params: CreateOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
updateOrganizationDomain(params: UpdateOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
deleteOrganizationDomain(params: DeleteOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=OrganizationApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"OrganizationApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/OrganizationApi.ts"],"names":[],"mappings":"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"}
|
||||
22
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts
generated
vendored
Normal file
22
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { DeletedObject, PhoneNumber } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreatePhoneNumberParams = {
|
||||
userId: string;
|
||||
phoneNumber: string;
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
reservedForSecondFactor?: boolean;
|
||||
};
|
||||
type UpdatePhoneNumberParams = {
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
reservedForSecondFactor?: boolean;
|
||||
};
|
||||
export declare class PhoneNumberAPI extends AbstractAPI {
|
||||
getPhoneNumber(phoneNumberId: string): Promise<PhoneNumber>;
|
||||
createPhoneNumber(params: CreatePhoneNumberParams): Promise<PhoneNumber>;
|
||||
updatePhoneNumber(phoneNumberId: string, params?: UpdatePhoneNumberParams): Promise<PhoneNumber>;
|
||||
deletePhoneNumber(phoneNumberId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=PhoneNumberApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PhoneNumberApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/PhoneNumberApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,qBAAa,cAAe,SAAQ,WAAW;IAChC,cAAc,CAAC,aAAa,EAAE,MAAM;IASpC,iBAAiB,CAAC,MAAM,EAAE,uBAAuB;IAQjD,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,GAAE,uBAA4B;IAU7E,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAQrD"}
|
||||
11
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts
generated
vendored
Normal file
11
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { ProxyCheck } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type VerifyParams = {
|
||||
domainId: string;
|
||||
proxyUrl: string;
|
||||
};
|
||||
export declare class ProxyCheckAPI extends AbstractAPI {
|
||||
verify(params: VerifyParams): Promise<ProxyCheck>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ProxyCheckApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProxyCheckApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ProxyCheckApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,aAAc,SAAQ,WAAW;IAC/B,MAAM,CAAC,MAAM,EAAE,YAAY;CAOzC"}
|
||||
14
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts
generated
vendored
Normal file
14
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { RedirectUrl } from '../resources/RedirectUrl';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateRedirectUrlParams = {
|
||||
url: string;
|
||||
};
|
||||
export declare class RedirectUrlAPI extends AbstractAPI {
|
||||
getRedirectUrlList(): Promise<PaginatedResourceResponse<RedirectUrl[]>>;
|
||||
getRedirectUrl(redirectUrlId: string): Promise<RedirectUrl>;
|
||||
createRedirectUrl(params: CreateRedirectUrlParams): Promise<RedirectUrl>;
|
||||
deleteRedirectUrl(redirectUrlId: string): Promise<RedirectUrl>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=RedirectUrlApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"RedirectUrlApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/RedirectUrlApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,qBAAa,cAAe,SAAQ,WAAW;IAChC,kBAAkB;IAQlB,cAAc,CAAC,aAAa,EAAE,MAAM;IAQpC,iBAAiB,CAAC,MAAM,EAAE,uBAAuB;IAQjD,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAOrD"}
|
||||
69
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts
generated
vendored
Normal file
69
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import type { ClerkPaginationRequest, SamlIdpSlug } from '@clerk/shared/types';
|
||||
import type { SamlConnection } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type SamlConnectionListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Returns SAML connections that have a name that matches the given query, via case-insensitive partial match.
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Sorts SAML connections by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
/**
|
||||
* Returns SAML connections that have an associated Organization ID to the given Organizations.
|
||||
* For each Organization ID, the + and - can be prepended to the ID, which denote whether the
|
||||
* respective Organization should be included or excluded from the result set. Accepts up to 100 Organization IDs.
|
||||
*/
|
||||
organizationId?: WithSign<string>[];
|
||||
}>;
|
||||
type CreateSamlConnectionParams = {
|
||||
name: string;
|
||||
provider: SamlIdpSlug;
|
||||
domain: string;
|
||||
organizationId?: string;
|
||||
idpEntityId?: string;
|
||||
idpSsoUrl?: string;
|
||||
idpCertificate?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpMetadata?: string;
|
||||
attributeMapping?: {
|
||||
emailAddress?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
userId?: string;
|
||||
};
|
||||
};
|
||||
type UpdateSamlConnectionParams = {
|
||||
name?: string;
|
||||
provider?: SamlIdpSlug;
|
||||
domain?: string;
|
||||
organizationId?: string;
|
||||
idpEntityId?: string;
|
||||
idpSsoUrl?: string;
|
||||
idpCertificate?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpMetadata?: string;
|
||||
attributeMapping?: {
|
||||
emailAddress?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
userId?: string;
|
||||
};
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
allowSubdomains?: boolean;
|
||||
allowIdpInitiated?: boolean;
|
||||
};
|
||||
export declare class SamlConnectionAPI extends AbstractAPI {
|
||||
getSamlConnectionList(params?: SamlConnectionListParams): Promise<PaginatedResourceResponse<SamlConnection[]>>;
|
||||
createSamlConnection(params: CreateSamlConnectionParams): Promise<SamlConnection>;
|
||||
getSamlConnection(samlConnectionId: string): Promise<SamlConnection>;
|
||||
updateSamlConnection(samlConnectionId: string, params?: UpdateSamlConnectionParams): Promise<SamlConnection>;
|
||||
deleteSamlConnection(samlConnectionId: string): Promise<SamlConnection>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SamlConnectionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SamlConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SamlConnectionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,wBAAwB,GAAG,sBAAsB,CAAC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,cAAc,GAAG,eAAe,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAC,CAAC;IAE9G;;;;OAIG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;CACrC,CAAC,CAAC;AAEH,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,WAAW,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,WAAW;IACnC,qBAAqB,CAAC,MAAM,GAAE,wBAA6B;IAQ3D,oBAAoB,CAAC,MAAM,EAAE,0BAA0B;IAWvD,iBAAiB,CAAC,gBAAgB,EAAE,MAAM;IAQ1C,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAE,0BAA+B;IAYtF,oBAAoB,CAAC,gBAAgB,EAAE,MAAM;CAO3D"}
|
||||
52
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts
generated
vendored
Normal file
52
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
import type { ClerkPaginationRequest, SessionStatus } from '@clerk/shared/types';
|
||||
import type { Cookies } from '../resources/Cookies';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Session } from '../resources/Session';
|
||||
import type { Token } from '../resources/Token';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type SessionListParams = ClerkPaginationRequest<{
|
||||
clientId?: string;
|
||||
userId?: string;
|
||||
status?: SessionStatus;
|
||||
}>;
|
||||
type RefreshTokenParams = {
|
||||
expired_token: string;
|
||||
refresh_token: string;
|
||||
request_origin: string;
|
||||
request_originating_ip?: string;
|
||||
request_headers?: Record<string, string[]>;
|
||||
suffixed_cookies?: boolean;
|
||||
format?: 'token' | 'cookie';
|
||||
};
|
||||
type CreateSessionParams = {
|
||||
userId: string;
|
||||
};
|
||||
export declare class SessionAPI extends AbstractAPI {
|
||||
getSessionList(params?: SessionListParams): Promise<PaginatedResourceResponse<Session[]>>;
|
||||
getSession(sessionId: string): Promise<Session>;
|
||||
createSession(params: CreateSessionParams): Promise<Session>;
|
||||
revokeSession(sessionId: string): Promise<Session>;
|
||||
verifySession(sessionId: string, token: string): Promise<Session>;
|
||||
/**
|
||||
* Retrieves a session token or generates a JWT using a specified template.
|
||||
*
|
||||
* @param sessionId - The ID of the session for which to generate the token
|
||||
* @param template - Optional name of the JWT template configured in the Clerk Dashboard.
|
||||
* @param expiresInSeconds - Optional expiration time for the token in seconds.
|
||||
* If not provided, uses the default expiration.
|
||||
*
|
||||
* @returns A promise that resolves to the generated token
|
||||
*
|
||||
* @throws {Error} When sessionId is invalid or empty
|
||||
*/
|
||||
getToken(sessionId: string, template?: string, expiresInSeconds?: number): Promise<Token>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams & {
|
||||
format: 'token';
|
||||
}): Promise<Token>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams & {
|
||||
format: 'cookie';
|
||||
}): Promise<Cookies>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams): Promise<Token>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SessionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SessionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SessionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,iBAAiB,GAAG,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IAC5B,cAAc,CAAC,MAAM,GAAE,iBAAsB;IAQ7C,UAAU,CAAC,SAAS,EAAE,MAAM;IAQ5B,aAAa,CAAC,MAAM,EAAE,mBAAmB;IAQzC,aAAa,CAAC,SAAS,EAAE,MAAM;IAQ/B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAS3D;;;;;;;;;;;OAWG;IACU,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM;IAmBxE,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,KAAK,CAAC;IACnG,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG;QAAE,MAAM,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IACtG,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC;CAW3F"}
|
||||
12
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts
generated
vendored
Normal file
12
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { SignInToken } from '../resources/SignInTokens';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateSignInTokensParams = {
|
||||
userId: string;
|
||||
expiresInSeconds: number;
|
||||
};
|
||||
export declare class SignInTokenAPI extends AbstractAPI {
|
||||
createSignInToken(params: CreateSignInTokensParams): Promise<SignInToken>;
|
||||
revokeSignInToken(signInTokenId: string): Promise<SignInToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SignInTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SignInTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SignInTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAIF,qBAAa,cAAe,SAAQ,WAAW;IAChC,iBAAiB,CAAC,MAAM,EAAE,wBAAwB;IAQlD,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAOrD"}
|
||||
13
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts
generated
vendored
Normal file
13
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { SignUpAttempt } from '../resources/SignUpAttempt';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type UpdateSignUpParams = {
|
||||
signUpAttemptId: string;
|
||||
externalId?: string | null;
|
||||
customAction?: boolean | null;
|
||||
};
|
||||
export declare class SignUpAPI extends AbstractAPI {
|
||||
get(signUpAttemptId: string): Promise<SignUpAttempt>;
|
||||
update(params: UpdateSignUpParams): Promise<SignUpAttempt>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SignUpApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SignUpApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SignUpApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,CAAC;AAIF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,GAAG,CAAC,eAAe,EAAE,MAAM;IAS3B,MAAM,CAAC,MAAM,EAAE,kBAAkB;CAS/C"}
|
||||
6
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts
generated
vendored
Normal file
6
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { TestingToken } from '../resources/TestingToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class TestingTokenAPI extends AbstractAPI {
|
||||
createTestingToken(): Promise<TestingToken>;
|
||||
}
|
||||
//# sourceMappingURL=TestingTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TestingTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/TestingTokenApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,eAAgB,SAAQ,WAAW;IACjC,kBAAkB;CAMhC"}
|
||||
178
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts
generated
vendored
Normal file
178
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,178 @@
|
||||
import type { ClerkPaginationRequest, OAuthProvider, OrganizationInvitationStatus } from '@clerk/shared/types';
|
||||
import type { DeletedObject, OauthAccessToken, OrganizationInvitation, OrganizationMembership, User } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type UserCountParams = {
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string[];
|
||||
web3Wallet?: string[];
|
||||
query?: string;
|
||||
userId?: string[];
|
||||
externalId?: string[];
|
||||
};
|
||||
type UserListParams = ClerkPaginationRequest<UserCountParams & {
|
||||
orderBy?: WithSign<'created_at' | 'updated_at' | 'email_address' | 'web3wallet' | 'first_name' | 'last_name' | 'phone_number' | 'username' | 'last_active_at' | 'last_sign_in_at'>;
|
||||
/**
|
||||
* @deprecated Use `lastActiveAtAfter` instead. This parameter will be removed in a future version.
|
||||
*/
|
||||
last_active_at_since?: number;
|
||||
lastActiveAtBefore?: number;
|
||||
lastActiveAtAfter?: number;
|
||||
createdAtBefore?: number;
|
||||
createdAtAfter?: number;
|
||||
lastSignInAtAfter?: number;
|
||||
lastSignInAtBefore?: number;
|
||||
organizationId?: string[];
|
||||
}>;
|
||||
type UserMetadataParams = {
|
||||
publicMetadata?: UserPublicMetadata;
|
||||
privateMetadata?: UserPrivateMetadata;
|
||||
unsafeMetadata?: UserUnsafeMetadata;
|
||||
};
|
||||
type PasswordHasher = 'argon2i' | 'argon2id' | 'awscognito' | 'bcrypt' | 'bcrypt_sha256_django' | 'md5' | 'pbkdf2_sha256' | 'pbkdf2_sha256_django' | 'pbkdf2_sha1' | 'phpass' | 'scrypt_firebase' | 'scrypt_werkzeug' | 'sha256' | 'md5_phpass' | 'ldap_ssha';
|
||||
type UserPasswordHashingParams = {
|
||||
passwordDigest: string;
|
||||
passwordHasher: PasswordHasher;
|
||||
};
|
||||
type CreateUserParams = {
|
||||
externalId?: string;
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string;
|
||||
password?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
/** The locale of the user in BCP-47 format. */
|
||||
locale?: string;
|
||||
skipPasswordChecks?: boolean;
|
||||
skipPasswordRequirement?: boolean;
|
||||
skipLegalChecks?: boolean;
|
||||
legalAcceptedAt?: Date;
|
||||
totpSecret?: string;
|
||||
backupCodes?: string[];
|
||||
createdAt?: Date;
|
||||
} & UserMetadataParams & (UserPasswordHashingParams | object);
|
||||
type UpdateUserParams = {
|
||||
/** The first name to assign to the user. */
|
||||
firstName?: string;
|
||||
/** The last name of the user. */
|
||||
lastName?: string;
|
||||
/** The username to give to the user. It must be unique across your instance. */
|
||||
username?: string;
|
||||
/** The plaintext password to give the user. Must be at least 8 characters long, and can not be in any list of hacked passwords. */
|
||||
password?: string;
|
||||
/** Set it to true if you're updating the user's password and want to skip any password policy settings check. This parameter can only be used when providing a password. */
|
||||
skipPasswordChecks?: boolean;
|
||||
/** Set to true to sign out the user from all their active sessions once their password is updated. This parameter can only be used when providing a password. */
|
||||
signOutOfOtherSessions?: boolean;
|
||||
/** The ID of the email address to set as primary. It must be verified, and present on the current user. */
|
||||
primaryEmailAddressID?: string;
|
||||
/** If set to true, the user will be notified that their primary email address has changed. By default, no notification is sent. */
|
||||
notifyPrimaryEmailAddressChanged?: boolean;
|
||||
/** The ID of the phone number to set as primary. It must be verified, and present on the current user. */
|
||||
primaryPhoneNumberID?: string;
|
||||
/** The ID of the web3 wallets to set as primary. It must be verified, and present on the current user. */
|
||||
primaryWeb3WalletID?: string;
|
||||
/** The ID of the image to set as the user's profile image */
|
||||
profileImageID?: string;
|
||||
/**
|
||||
* In case TOTP is configured on the instance, you can provide the secret to enable it on the specific user without the need to reset it.
|
||||
* Please note that currently the supported options are:
|
||||
* - Period: 30 seconds
|
||||
* - Code length: 6 digits
|
||||
* - Algorithm: SHA1
|
||||
*/
|
||||
totpSecret?: string;
|
||||
/** If Backup Codes are configured on the instance, you can provide them to enable it on the specific user without the need to reset them. You must provide the backup codes in plain format or the corresponding bcrypt digest. */
|
||||
backupCodes?: string[];
|
||||
/** The ID of the user as used in your external systems or your previous authentication solution. Must be unique across your instance. */
|
||||
externalId?: string;
|
||||
/** A custom timestamp denoting when the user signed up to the application, specified in RFC3339 format (e.g. 2012-10-20T07:15:20.902Z). */
|
||||
createdAt?: Date;
|
||||
/** When set to true all legal checks are skipped. It is not recommended to skip legal checks unless you are migrating a user to Clerk. */
|
||||
skipLegalChecks?: boolean;
|
||||
/** A custom timestamp denoting when the user accepted legal requirements, specified in RFC3339 format (e.g. 2012-10-20T07:15:20.902Z). */
|
||||
legalAcceptedAt?: Date;
|
||||
/** The locale of the user in BCP-47 format. */
|
||||
locale?: string;
|
||||
/** If true, the user can delete themselves with the Frontend API. */
|
||||
deleteSelfEnabled?: boolean;
|
||||
/** If true, the user can create Organizations with the Frontend API. */
|
||||
createOrganizationEnabled?: boolean;
|
||||
/** The maximum number of Organizations the user can create. 0 means unlimited. */
|
||||
createOrganizationsLimit?: number;
|
||||
} & UserMetadataParams & (UserPasswordHashingParams | object);
|
||||
type GetOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
userId: string;
|
||||
}>;
|
||||
type GetOrganizationInvitationListParams = ClerkPaginationRequest<{
|
||||
userId: string;
|
||||
status?: OrganizationInvitationStatus;
|
||||
}>;
|
||||
type VerifyPasswordParams = {
|
||||
userId: string;
|
||||
password: string;
|
||||
};
|
||||
type VerifyTOTPParams = {
|
||||
userId: string;
|
||||
code: string;
|
||||
};
|
||||
type DeleteUserPasskeyParams = {
|
||||
userId: string;
|
||||
passkeyIdentificationId: string;
|
||||
};
|
||||
type DeleteWeb3WalletParams = {
|
||||
userId: string;
|
||||
web3WalletIdentificationId: string;
|
||||
};
|
||||
type DeleteUserExternalAccountParams = {
|
||||
userId: string;
|
||||
externalAccountId: string;
|
||||
};
|
||||
type SetPasswordCompromisedParams = {
|
||||
revokeAllSessions?: boolean;
|
||||
};
|
||||
type UserID = {
|
||||
userId: string;
|
||||
};
|
||||
export declare class UserAPI extends AbstractAPI {
|
||||
getUserList(params?: UserListParams): Promise<PaginatedResourceResponse<User[]>>;
|
||||
getUser(userId: string): Promise<User>;
|
||||
createUser(params: CreateUserParams): Promise<User>;
|
||||
updateUser(userId: string, params?: UpdateUserParams): Promise<User>;
|
||||
updateUserProfileImage(userId: string, params: {
|
||||
file: Blob | File;
|
||||
}): Promise<User>;
|
||||
updateUserMetadata(userId: string, params: UserMetadataParams): Promise<User>;
|
||||
deleteUser(userId: string): Promise<User>;
|
||||
getCount(params?: UserCountParams): Promise<number>;
|
||||
/** @deprecated Use `getUserOauthAccessToken` without the `oauth_` provider prefix . */
|
||||
getUserOauthAccessToken(userId: string, provider: `oauth_${OAuthProvider}`): Promise<PaginatedResourceResponse<OauthAccessToken[]>>;
|
||||
getUserOauthAccessToken(userId: string, provider: OAuthProvider): Promise<PaginatedResourceResponse<OauthAccessToken[]>>;
|
||||
disableUserMFA(userId: string): Promise<UserID>;
|
||||
getOrganizationMembershipList(params: GetOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
getOrganizationInvitationList(params: GetOrganizationInvitationListParams): Promise<PaginatedResourceResponse<OrganizationInvitation[]>>;
|
||||
verifyPassword(params: VerifyPasswordParams): Promise<{
|
||||
verified: true;
|
||||
}>;
|
||||
verifyTOTP(params: VerifyTOTPParams): Promise<{
|
||||
verified: true;
|
||||
code_type: "totp";
|
||||
}>;
|
||||
banUser(userId: string): Promise<User>;
|
||||
unbanUser(userId: string): Promise<User>;
|
||||
lockUser(userId: string): Promise<User>;
|
||||
unlockUser(userId: string): Promise<User>;
|
||||
deleteUserProfileImage(userId: string): Promise<User>;
|
||||
deleteUserPasskey(params: DeleteUserPasskeyParams): Promise<DeletedObject>;
|
||||
deleteUserWeb3Wallet(params: DeleteWeb3WalletParams): Promise<DeletedObject>;
|
||||
deleteUserExternalAccount(params: DeleteUserExternalAccountParams): Promise<DeletedObject>;
|
||||
deleteUserBackupCodes(userId: string): Promise<UserID>;
|
||||
deleteUserTOTP(userId: string): Promise<UserID>;
|
||||
setPasswordCompromised(userId: string, params?: SetPasswordCompromisedParams): Promise<User>;
|
||||
unsetPasswordCompromised(userId: string): Promise<User>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=UserApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
61
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts
generated
vendored
Normal file
61
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { WaitlistEntryStatus } from '../resources/Enums';
|
||||
import type { WaitlistEntry } from '../resources/WaitlistEntry';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type WaitlistEntryListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Filter waitlist entries by `email_address` or `id`
|
||||
*/
|
||||
query?: string;
|
||||
status?: WaitlistEntryStatus;
|
||||
orderBy?: WithSign<'created_at' | 'invited_at' | 'email_address'>;
|
||||
}>;
|
||||
type WaitlistEntryCreateParams = {
|
||||
emailAddress: string;
|
||||
notify?: boolean;
|
||||
};
|
||||
type WaitlistEntryBulkCreateParams = Array<WaitlistEntryCreateParams>;
|
||||
type WaitlistEntryInviteParams = {
|
||||
/**
|
||||
* When true, do not error if an invitation already exists. Default: false.
|
||||
*/
|
||||
ignoreExisting?: boolean;
|
||||
};
|
||||
export declare class WaitlistEntryAPI extends AbstractAPI {
|
||||
/**
|
||||
* List waitlist entries.
|
||||
* @param params Optional parameters (e.g., `query`, `status`, `orderBy`).
|
||||
*/
|
||||
list(params?: WaitlistEntryListParams): Promise<PaginatedResourceResponse<WaitlistEntry[]>>;
|
||||
/**
|
||||
* Create a waitlist entry.
|
||||
* @param params The parameters for creating a waitlist entry.
|
||||
*/
|
||||
create(params: WaitlistEntryCreateParams): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Bulk create waitlist entries.
|
||||
* @param params An array of parameters for creating waitlist entries.
|
||||
*/
|
||||
createBulk(params: WaitlistEntryBulkCreateParams): Promise<WaitlistEntry[]>;
|
||||
/**
|
||||
* Invite a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
* @param params Optional parameters (e.g., `ignoreExisting`).
|
||||
*/
|
||||
invite(id: string, params?: WaitlistEntryInviteParams): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Reject a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
*/
|
||||
reject(id: string): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Delete a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
*/
|
||||
delete(id: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=WaitlistEntryApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"WaitlistEntryApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/WaitlistEntryApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,uBAAuB,GAAG,sBAAsB,CAAC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,OAAO,CAAC,EAAE,QAAQ,CAAC,YAAY,GAAG,YAAY,GAAG,eAAe,CAAC,CAAC;CACnE,CAAC,CAAC;AAEH,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,6BAA6B,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAEtE,KAAK,yBAAyB,GAAG;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACU,IAAI,CAAC,MAAM,GAAE,uBAA4B;IAQtD;;;OAGG;IACU,MAAM,CAAC,MAAM,EAAE,yBAAyB;IAQrD;;;OAGG;IACU,UAAU,CAAC,MAAM,EAAE,6BAA6B;IAQ7D;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,GAAE,yBAA8B;IAUtE;;;OAGG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM;IAS9B;;;OAGG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM;CAQ/B"}
|
||||
8
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts
generated
vendored
Normal file
8
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { WebhooksSvixJSON } from '../resources/JSON';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class WebhookAPI extends AbstractAPI {
|
||||
createSvixApp(): Promise<WebhooksSvixJSON>;
|
||||
generateSvixAuthURL(): Promise<WebhooksSvixJSON>;
|
||||
deleteSvixApp(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=WebhookApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"WebhookApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/WebhookApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,UAAW,SAAQ,WAAW;IAC5B,aAAa;IAOb,mBAAmB;IAOnB,aAAa;CAM3B"}
|
||||
33
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts
generated
vendored
Normal file
33
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
export * from './ActorTokenApi';
|
||||
export * from './AgentTaskApi';
|
||||
export * from './AccountlessApplicationsAPI';
|
||||
export * from './AbstractApi';
|
||||
export * from './AllowlistIdentifierApi';
|
||||
export * from './APIKeysApi';
|
||||
export * from './BetaFeaturesApi';
|
||||
export * from './BlocklistIdentifierApi';
|
||||
export * from './ClientApi';
|
||||
export * from './DomainApi';
|
||||
export * from './EmailAddressApi';
|
||||
export * from './EnterpriseConnectionApi';
|
||||
export * from './IdPOAuthAccessTokenApi';
|
||||
export * from './InstanceApi';
|
||||
export * from './InvitationApi';
|
||||
export * from './MachineApi';
|
||||
export * from './M2MTokenApi';
|
||||
export * from './JwksApi';
|
||||
export * from './JwtTemplatesApi';
|
||||
export * from './OrganizationApi';
|
||||
export * from './OAuthApplicationsApi';
|
||||
export * from './PhoneNumberApi';
|
||||
export * from './ProxyCheckApi';
|
||||
export * from './RedirectUrlApi';
|
||||
export * from './SamlConnectionApi';
|
||||
export * from './SessionApi';
|
||||
export * from './SignInTokenApi';
|
||||
export * from './SignUpApi';
|
||||
export * from './TestingTokenApi';
|
||||
export * from './UserApi';
|
||||
export * from './WaitlistEntryApi';
|
||||
export * from './WebhookApi';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
|
||||
2
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts
generated
vendored
Normal file
2
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export type WithSign<T extends string> = `+${T}` | `-${T}` | T;
|
||||
//# sourceMappingURL=util-types.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"util-types.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/util-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC"}
|
||||
51
node_modules/@clerk/backend/dist/api/factory.d.ts
generated
vendored
Normal file
51
node_modules/@clerk/backend/dist/api/factory.d.ts
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import { AccountlessApplicationAPI, ActorTokenAPI, AgentTaskAPI, AllowlistIdentifierAPI, APIKeysAPI, BetaFeaturesAPI, BlocklistIdentifierAPI, ClientAPI, DomainAPI, EmailAddressAPI, EnterpriseConnectionAPI, IdPOAuthAccessTokenApi, InstanceAPI, InvitationAPI, JwksAPI, JwtTemplatesApi, M2MTokenApi, MachineApi, OAuthApplicationsApi, OrganizationAPI, PhoneNumberAPI, ProxyCheckAPI, RedirectUrlAPI, SamlConnectionAPI, SessionAPI, SignInTokenAPI, SignUpAPI, TestingTokenAPI, UserAPI, WaitlistEntryAPI, WebhookAPI } from './endpoints';
|
||||
import { BillingAPI } from './endpoints/BillingApi';
|
||||
import { buildRequest } from './request';
|
||||
export type CreateBackendApiOptions = Parameters<typeof buildRequest>[0] & {
|
||||
jwtKey?: string;
|
||||
};
|
||||
export type ApiClient = ReturnType<typeof createBackendApiClient>;
|
||||
export declare function createBackendApiClient(options: CreateBackendApiOptions): {
|
||||
__experimental_accountlessApplications: AccountlessApplicationAPI;
|
||||
actorTokens: ActorTokenAPI;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Agent Tasks feature that is available under a private beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
agentTasks: AgentTaskAPI;
|
||||
allowlistIdentifiers: AllowlistIdentifierAPI;
|
||||
apiKeys: APIKeysAPI;
|
||||
betaFeatures: BetaFeaturesAPI;
|
||||
blocklistIdentifiers: BlocklistIdentifierAPI;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
billing: BillingAPI;
|
||||
clients: ClientAPI;
|
||||
domains: DomainAPI;
|
||||
emailAddresses: EmailAddressAPI;
|
||||
enterpriseConnections: EnterpriseConnectionAPI;
|
||||
idPOAuthAccessToken: IdPOAuthAccessTokenApi;
|
||||
instance: InstanceAPI;
|
||||
invitations: InvitationAPI;
|
||||
jwks: JwksAPI;
|
||||
jwtTemplates: JwtTemplatesApi;
|
||||
machines: MachineApi;
|
||||
m2m: M2MTokenApi;
|
||||
oauthApplications: OAuthApplicationsApi;
|
||||
organizations: OrganizationAPI;
|
||||
phoneNumbers: PhoneNumberAPI;
|
||||
proxyChecks: ProxyCheckAPI;
|
||||
redirectUrls: RedirectUrlAPI;
|
||||
sessions: SessionAPI;
|
||||
signInTokens: SignInTokenAPI;
|
||||
signUps: SignUpAPI;
|
||||
testingTokens: TestingTokenAPI;
|
||||
users: UserAPI;
|
||||
waitlistEntries: WaitlistEntryAPI;
|
||||
webhooks: WebhookAPI;
|
||||
/**
|
||||
* @deprecated Use `enterpriseConnections` instead.
|
||||
*/
|
||||
samlConnections: SamlConnectionAPI;
|
||||
};
|
||||
//# sourceMappingURL=factory.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/factory.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/factory.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/api/factory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,aAAa,EACb,YAAY,EACZ,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,SAAS,EACT,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,aAAa,EACb,OAAO,EACP,eAAe,EACf,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,SAAS,EACT,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAElE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB;;;IAQnE;;OAEG;;;;;;IAWH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;IA2CH;;OAEG;;EAGN"}
|
||||
3
node_modules/@clerk/backend/dist/api/index.d.ts
generated
vendored
Normal file
3
node_modules/@clerk/backend/dist/api/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export * from './factory';
|
||||
export * from './resources';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user