Skip to content

Instantly share code, notes, and snippets.

View yvan33's full-sized avatar

Yvan GADEAU yvan33

  • Lyra Health
  • San Francisco
View GitHub Profile
@yvan33
yvan33 / understandingEmotions.json
Last active September 27, 2018 18:42
Metadata forLesson: Understanding Emotions
{
"title": "Understanding Emotions",
"name": "understandingEmotions",
"content_type": "mixed",
"status": "completed",
"group": "lesson",
"instructions": "This lessons gives you the basic concepts of emotions.",
"meta_data": {
"description": "Understanding our emotions helps us lorem ipsum dolor sit amet. This lesson illustrates the importance of lorem ipsum in our amet quan pungis",
"lessonNumber": 1,
@yvan33
yvan33 / Curriculum.json
Last active August 9, 2018 01:45
Curriculum.json
{
"provider_id": "8460c914-21c8-422c-ac94-a53e4bf59719",
"curriculum": [
{
"session": 1,
"contents": [
{
"name": "introToCBT",
"content_type": "lesson",
@yvan33
yvan33 / ActivityLog.json
Last active August 13, 2018 18:27
Activity Log Metadata
{
"title": "Activity Log",
"tags": [
"general"
],
"name": "activityLog",
"content_type": "form",
"meta_data": {
"schema": {
"properties": {
@yvan33
yvan33 / ThoughtRecordFormMetadata.json
Last active August 13, 2018 18:28
The Thought Record form metadata
{
"title": "Thought record",
"content_type": "form",
"name": "thoughtRecord",
"description": "A thought record sheet",
"tags": [
"anxiety"
],
"meta_data": {
"schema": {
@yvan33
yvan33 / CheckInFormMetaData.json
Last active August 13, 2018 18:29
The metadata of the Check in form
{
"title": "Check In",
"name": "checkIn",
"content_type": "form",
"description": "This is the Check In form",
"tags": ["general"],
"meta_data": {
"schema": {
"type": "object",
"properties": {
function autoExpire() {
var asset;
var user;
try {
asset = DocumentApp.getActiveDocument();
user = Session.getActiveUser();
// Removes the user from the list of editors for the document.
asset.removeEditor(user);
} catch (e) {