mirror of
https://github.com/LukeHagar/ui-development-kit.git
synced 2025-12-06 04:21:49 +00:00
57 lines
2.1 KiB
JavaScript
57 lines
2.1 KiB
JavaScript
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
|
import { b as getToken } from './oauth-Czq1qjCs.js';
|
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
import './index-BRrDHEF2.js';
|
|
import 'util';
|
|
import 'stream';
|
|
import 'path';
|
|
import 'http';
|
|
import 'https';
|
|
import 'url';
|
|
import 'fs';
|
|
import 'assert';
|
|
import 'tty';
|
|
import 'os';
|
|
import 'zlib';
|
|
import 'events';
|
|
import './index-DzcLzHBX.js';
|
|
import 'buffer';
|
|
import 'crypto';
|
|
|
|
const load = async ({ cookies }) => {
|
|
const search = {
|
|
indices: ["identities"],
|
|
query: {
|
|
query: `@accounts(disabled:false) AND (attributes.cloudLifecycleState:inactive)`
|
|
},
|
|
sort: ["name"]
|
|
};
|
|
const session = JSON.parse(cookies.get("session"));
|
|
const idnSession = await getToken(cookies);
|
|
const config = createConfiguration(session.baseUrl, idnSession.access_token);
|
|
const api = new distExports.SearchApi(config);
|
|
const reportResp = distExports.Paginator.paginateSearchApi(api, search, 100, 2e4);
|
|
const reportData = new Promise((resolve) => {
|
|
reportResp.then((response) => {
|
|
resolve(response.data);
|
|
});
|
|
});
|
|
return { reportData };
|
|
};
|
|
|
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
__proto__: null,
|
|
load: load
|
|
});
|
|
|
|
const index = 7;
|
|
let component_cache;
|
|
const component = async () => component_cache ??= (await import('./_page.svelte-CGFGtE07.js')).default;
|
|
const server_id = "src/routes/home/example-pages/inactive-identities-with-access/+page.server.ts";
|
|
const imports = ["_app/immutable/nodes/7.CY3H5TGn.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
|
const fonts = [];
|
|
|
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
//# sourceMappingURL=7-BmOe9X4u.js.map
|