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
const clientId: string = core.getInput('clientId', { required: true }); | |
const clientSecret: string = core.getInput('clientSecret', { required: true }); | |
const tenantId: string = core.getInput('tenantId', { required: true }); | |
const start: string = core.getInput('start'); | |
const end: string = core.getInput('end'); | |
const subject: string = core.getInput('subject', { required: true }); | |
const body: string = core.getInput('body', { required: true }); | |
const userEmail: string = core.getInput('userEmail', { required: true }); |
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
//* auth - auth.ts | |
private cca: ConfidentialClientApplication; | |
constructor(clientId: string, clientSecret: string, tenantId: string) { | |
this.config = { | |
auth: { | |
clientId, | |
clientSecret, | |
authority: `https://login.microsoftonline.com/${tenantId}/` |
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
name: 'Microsoft Graph Event Workflow' | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
create-event: | |
runs-on: ubuntu-latest | |
steps: |
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
import * as React from 'react'; | |
import { FC, useEffect, useState } from 'react'; | |
import { useBoolean } from '@uifabric/react-hooks'; | |
import styles from './SampleAnimatedDialog.module.scss'; | |
import { IHelloWorldProps } from './IHelloWorldProps'; | |
import { PrimaryButton } from 'office-ui-fabric-react/lib/Button'; | |
import { DialogType } from 'office-ui-fabric-react/lib/Dialog'; | |
import { AnimatedDialog } from "@pnp/spfx-controls-react/lib/AnimatedDialog"; | |
import { sp } from "@pnp/sp"; |
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
import { sp } from "@pnp/sp"; | |
import "@pnp/sp/webs"; | |
import "@pnp/sp/lists"; | |
import "@pnp/sp/items"; | |
const sectionPosition = 1; | |
const columnPosition = 1; | |
const webPartPosition = 3; | |
const updateQuickLinks = async (title, fileRef) => { |
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
@import "~office-ui-fabric-react/dist/sass/References.scss"; | |
$themePrimary: "[theme:themePrimary, default:#0078d7]"; | |
$themeDark: "[theme:themeDark, default:#005a9e]"; | |
$themeLighter: "[theme:themeLighter, default:#deecf9]"; | |
$themeNeutralLighter: "[theme: neutralLighter, default: #f4f4f4]"; | |
$themeNeutralTertiaryAlt: "[theme: neutralTertiaryAlt, default: #c8c8c8]"; | |
.paginationRow { | |
.paginate { |
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
@import '~office-ui-fabric-react/dist/sass/References.scss'; | |
$themePrimary: '[theme:themePrimary, default:#0078d7]'; | |
.animatedDialogTitleContainer{ | |
text-align: center; | |
i { | |
font-size: 52px; | |
color: $themePrimary; | |
} |
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
Show hidden characters
{ | |
"name": "SPFx", | |
"build": { | |
"dockerfile": "Dockerfile" | |
}, | |
// Set *default* container specific settings.json values on container create. | |
"settings": { | |
"terminal.integrated.shell.linux": "/bin/bash" | |
}, |