This file contains hidden or 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
# This pipeline simply logs all available variables as well as the folder structure | |
# It is intended for debugging pipelines | |
# Predefined variables: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml | |
steps: | |
- task: PowerShell@2 # This task is for debugging. Enable it to see the entire working directory and all environment variables | |
displayName: 'Print variables and folder structure' | |
inputs: | |
targetType: inline |
This file contains hidden or 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
import azureStorage, { TableService } from "azure-storage" | |
import { promisify } from "util" | |
const entGen = azureStorage.TableUtilities.entityGenerator | |
export interface TableRow<TRowData> { | |
partitionKey: string | |
rowKey: string | |
timestamp: Date | |
data: TRowData |
This file contains hidden or 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
import { IChangeToken } from "@pnp/sp-commonjs" | |
/** | |
* The number of "ticks" between unix epoch and tick epoch. | |
*/ | |
const TICK_TIMESTAMP_DIFF = 621355968000000000 | |
/** | |
* Converts a unix epoch timestamp to a tick. | |
* @param timestamp The unix epoch timestamp in seconds. |
This file contains hidden or 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
import { useEffect, useRef, useState } from "react" | |
import wfl from "webfontloader" | |
type WebFontConfigWithoutEvents = Omit< | |
WebFont.Config, | |
"loading" | "active" | "inactive" | "fontloading" | "fontactive" | "fontinactive" | |
> | |
interface FontFamilyLoaded { | |
[fontFamily: string]: { | |
[fontVariant: string]: boolean |
This file contains hidden or 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
<?xml version="1.0"?> | |
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2019/09/ProvisioningSchema"> | |
<pnp:Preferences Generator="OfficeDevPnP.Core, Version=3.17.2001.2, Culture=neutral, PublicKeyToken=5e633289e95c321a" /> | |
<pnp:Templates ID="all-site-columns-template-container"> | |
<pnp:ProvisioningTemplate ID="all-site-columns-template" Version="1" Scope="RootSite"> | |
<pnp:SiteFields> | |
<Field Type="Note" DisplayName="test-managedmetadata-multi_0" StaticName="p476b49a9b31428dadff0fc41f113eb7" Name="p476b49a9b31428dadff0fc41f113eb7" ID="{72733dbb-ff54-421e-a3e4-cbebfb642da7}" ShowInViewForms="FALSE" Required="FALSE" Hidden="TRUE" CanToggleHidden="TRUE" SourceID="{c3b2fac5-2faf-45f9-bec1-d097cad2993f}" /> | |
<Field Type="Note" DisplayName="test-managedmetadata_0" StaticName="nb91ac28dbe147e5b76fa0c92f261dc0" Name="nb91ac28dbe147e5b76fa0c92f261dc0" ID="{35428a2c-6205-46f5-918b-1fa979bdc865}" ShowInViewForms="FALSE" Required="FALSE" Hidden="TRUE" CanToggleHidden="TRUE" SourceID=" |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Returns a hashtable of all parameters from the template file merged with the parameters object you provide | |
#> | |
function Get-AzTemplateParameters{ | |
param( | |
[string] | |
$ParametersFilePath, | |
[hashtable] |
NewerOlder