Skip to content

Commit b22182e

Browse files
author
Eric Koleda
authored
Merge pull request #66 from gsuitedevs/grant_export
Export quickstarts. Fixes #65
2 parents 1c10839 + 1c0b841 commit b22182e

File tree

16 files changed

+76
-0
lines changed

16 files changed

+76
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
"extends": "google",
33
"parserOptions": {
44
"ecmaVersion": 8,
5+
"sourceType": "module"
56
},
67
"env": {
78
"node": true,

adminSDK/directory/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,8 @@ function listUsers(auth) {
122122
});
123123
}
124124
// [END admin_sdk_directory_quickstart]
125+
126+
module.exports = {
127+
SCOPES,
128+
listUsers,
129+
};

adminSDK/reports/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,8 @@ function listLoginEvents(auth) {
122122
});
123123
}
124124
// [END admin_sdk_reports_quickstart]
125+
126+
module.exports = {
127+
SCOPES,
128+
listLoginEvents,
129+
};

adminSDK/reseller/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,8 @@ function listSubscriptions(auth) {
120120
});
121121
}
122122
// [END admin_sdk_reseller_quickstart]
123+
124+
module.exports = {
125+
SCOPES,
126+
listSubscriptions,
127+
};

apps-script/quickstart/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,8 @@ function callAppsScript(auth) {
117117
});
118118
}
119119
// [END apps_script_api_quickstart]
120+
121+
module.exports = {
122+
SCOPES,
123+
callAppsScript,
124+
};

calendar/quickstart/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,8 @@ function listEvents(auth) {
110110
});
111111
}
112112
// [END calendar_quickstart]
113+
114+
module.exports = {
115+
SCOPES,
116+
listEvents,
117+
};

classroom/quickstart/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,8 @@ function listCourses(auth) {
106106
});
107107
}
108108
// [END classroom_quickstart]
109+
110+
module.exports = {
111+
SCOPES,
112+
listCourses,
113+
};

docs/quickstart/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,8 @@ function printDocTitle(auth) {
9898
});
9999
}
100100
// [END docs_quickstart]
101+
102+
module.exports = {
103+
SCOPES,
104+
printDocTitle,
105+
};

drive/activity-v2/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,8 @@ function getTargetInfo(target) {
218218
return `${getOneOf(target)}:unknown`;
219219
}
220220
// [END drive_activity_v2_quickstart]
221+
222+
module.exports = {
223+
SCOPES,
224+
listDriveActivity,
225+
};

drive/activity/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,8 @@ function listActivity(auth) {
115115
});
116116
}
117117
// [END drive_activity_quickstart]
118+
119+
module.exports = {
120+
SCOPES,
121+
listActivity,
122+
};

0 commit comments

Comments
 (0)