Skip to content

Commit

Permalink
Merge pull request #66 from gsuitedevs/grant_export
Browse files Browse the repository at this point in the history
Export quickstarts. Fixes #65
  • Loading branch information
Eric Koleda authored Mar 8, 2019
2 parents 1c10839 + 1c0b841 commit b22182e
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
"extends": "google",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"node": true,
Expand Down
5 changes: 5 additions & 0 deletions adminSDK/directory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,8 @@ function listUsers(auth) {
});
}
// [END admin_sdk_directory_quickstart]

module.exports = {
SCOPES,
listUsers,
};
5 changes: 5 additions & 0 deletions adminSDK/reports/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,8 @@ function listLoginEvents(auth) {
});
}
// [END admin_sdk_reports_quickstart]

module.exports = {
SCOPES,
listLoginEvents,
};
5 changes: 5 additions & 0 deletions adminSDK/reseller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ function listSubscriptions(auth) {
});
}
// [END admin_sdk_reseller_quickstart]

module.exports = {
SCOPES,
listSubscriptions,
};
5 changes: 5 additions & 0 deletions apps-script/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,8 @@ function callAppsScript(auth) {
});
}
// [END apps_script_api_quickstart]

module.exports = {
SCOPES,
callAppsScript,
};
5 changes: 5 additions & 0 deletions calendar/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,8 @@ function listEvents(auth) {
});
}
// [END calendar_quickstart]

module.exports = {
SCOPES,
listEvents,
};
5 changes: 5 additions & 0 deletions classroom/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@ function listCourses(auth) {
});
}
// [END classroom_quickstart]

module.exports = {
SCOPES,
listCourses,
};
5 changes: 5 additions & 0 deletions docs/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,8 @@ function printDocTitle(auth) {
});
}
// [END docs_quickstart]

module.exports = {
SCOPES,
printDocTitle,
};
5 changes: 5 additions & 0 deletions drive/activity-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,8 @@ function getTargetInfo(target) {
return `${getOneOf(target)}:unknown`;
}
// [END drive_activity_v2_quickstart]

module.exports = {
SCOPES,
listDriveActivity,
};
5 changes: 5 additions & 0 deletions drive/activity/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ function listActivity(auth) {
});
}
// [END drive_activity_quickstart]

module.exports = {
SCOPES,
listActivity,
};
5 changes: 5 additions & 0 deletions drive/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@ function listFiles(auth) {
});
}
// [END drive_quickstart]

module.exports = {
SCOPES,
listFiles,
};
5 changes: 5 additions & 0 deletions gmail/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@ function listLabels(auth) {
});
}
// [END gmail_quickstart]

module.exports = {
SCOPES,
listLabels,
};
5 changes: 5 additions & 0 deletions people/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,8 @@ function listConnectionNames(auth) {
});
}
// [END people_quickstart]

module.exports = {
SCOPES,
listConnectionNames,
};
5 changes: 5 additions & 0 deletions sheets/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,8 @@ function listMajors(auth) {
});
}
// [END sheets_quickstart]

module.exports = {
SCOPES,
listMajors,
};
5 changes: 5 additions & 0 deletions slides/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ function listSlides(auth) {
});
}
// [END slides_quickstart]

module.exports = {
SCOPES,
listSlides,
};
5 changes: 5 additions & 0 deletions tasks/quickstart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@ function listTaskLists(auth) {
});
}
// [END tasks_quickstart]

module.exports = {
SCOPES,
listTaskLists,
};

0 comments on commit b22182e

Please sign in to comment.