This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\nlfie\Downloads\helix-authentication-service-2024.2.1\helix-authentication-service-2024.2.1> npm ci --omit=dev --omit=optional | |
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. | |
npm warn deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. | |
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported | |
added 346 packages, and audited 347 packages in 4s | |
44 packages are looking for funding | |
run `npm fund` for details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::preso::leptos::get_count; | |
use leptos::html::Div; | |
use leptos::prelude::*; | |
use leptos_use::{ | |
on_click_outside, use_color_mode_with_options, ColorMode, UseColorModeOptions, | |
UseColorModeReturn, | |
}; | |
#[component] | |
pub fn NavBar() -> impl IntoView { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Copyright 2020 Perforce Software | |
]]-- | |
local ExtUtils = {} | |
local cjson = require "cjson" | |
function getManifest() | |
local fn = Helix.Core.Server.GetArchDirFileName( "manifest.json" ) | |
local fh = assert( io.open( fn, "r" ) ) | |
local m = cjson.decode( fh:read( "*all" ) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module UploadAsset = [%graphql | |
{| | |
mutation Upload($file: Upload!) { | |
upload(file: $file) | |
} | |
|} | |
]; | |
module UploadAssetMutation = ReasonApollo.CreateMutation(UploadAsset); |