@particle-academy/google-calendar-ui 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,24 @@ The four packages share one version, because they are generated from one
|
|
|
8
8
|
`provider/` definition and a version that meant something different in each
|
|
9
9
|
would be a version nobody could reason about.
|
|
10
10
|
|
|
11
|
+
## [0.4.2] — 2026-11-14
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Complete setup steps**, in SETUP.md and the registry index. Every Google connector shares
|
|
16
|
+
the same first four, because they share one consent grant:
|
|
17
|
+
- the Cloud project;
|
|
18
|
+
- enabling the API;
|
|
19
|
+
- the consent screen (Branding, Audience with test users, Data Access with this
|
|
20
|
+
connector's scopes);
|
|
21
|
+
- a Web application OAuth client with `{{oauthRedirectUrl}}` as an authorized redirect URI.
|
|
22
|
+
- a random channel token per connection, and `{{webhookUrl}}` over HTTPS with a valid
|
|
23
|
+
certificate; channels are never renewed automatically;
|
|
24
|
+
- an AGENT step that connects an account and checks it works.
|
|
25
|
+
|
|
26
|
+
Each step cites the Google page it was checked against on 2026-11-14.
|
|
27
|
+
- A one-line `summary`.
|
|
28
|
+
|
|
11
29
|
## [0.4.1] — 2026-11-08
|
|
12
30
|
|
|
13
31
|
### Fixed
|
package/README.md
CHANGED
|
@@ -33,6 +33,17 @@ dependencies nobody is tracking.
|
|
|
33
33
|
|
|
34
34
|
Everything below is generated from `provider/manifest.json`, so it cannot disagree with what the packages do.
|
|
35
35
|
|
|
36
|
+
### On Google Calendar's side
|
|
37
|
+
|
|
38
|
+
1. **Create (or reuse) the Google Cloud project for **your app's name**** — Every Google connector shares ONE consent grant (oauth.grant "google"), so use one project and one OAuth client for all of them: one consent and one refresh token per person. ([developers.google.com](https://developers.google.com/workspace/guides/create-project))
|
|
39
|
+
2. **Enable the Google Calendar API** — Console: APIs & Services, Library; open the Google Calendar API and click Enable. ([developers.google.com](https://developers.google.com/workspace/guides/enable-apis))
|
|
40
|
+
3. **Configure the consent screen** — Console: Google Auth platform, Branding (app name **your app's name**, support email, contact email), then Audience: Internal for people inside your Google Workspace organisation only, or External (while it is in testing, add each tester under Test users). Then Data Access, Add or Remove Scopes, and add `https://www.googleapis.com/auth/calendar.events` beside the scopes of any other Google connector you use. You cannot remove the consent screen once it is configured. ([developers.google.com](https://developers.google.com/workspace/guides/configure-oauth-consent))
|
|
41
|
+
4. **Create a Web application OAuth client** — Console: Google Auth platform, Clients, Create Client; type Web application. Under Authorized redirect URIs click Add URI and paste **your host's OAuth redirect URL**, then Create. Copy the client ID and client secret when the client is created. ([developers.google.com](https://developers.google.com/workspace/guides/create-credentials))
|
|
42
|
+
5. **Give each connection a channel token, and serve **your host's webhook URL for this connector** over HTTPS** — events_changed opens a channel whose notifications go to **your host's webhook URL for this connector**, which must be HTTPS with a valid certificate (self-signed, untrusted, revoked or wrong-host certificates are refused). Google echoes the channel token in X-Goog-Channel-Token on every notification, so generate a random token per connection and never put an OAuth token in it. A channel is never renewed automatically: replace it with a new watch before it expires. ([developers.google.com](https://developers.google.com/workspace/calendar/api/guides/push))
|
|
43
|
+
6. **Connect an account and check it works** — Connect one Google account through **your app's name**'s OAuth flow, then run the check below. ([developers.google.com](https://developers.google.com/workspace/calendar/api/guides/push))
|
|
44
|
+
|
|
45
|
+
Every step in full — who does it, what to paste, which credentials it yields, and how you know it worked — is in [SETUP.md](SETUP.md).
|
|
46
|
+
|
|
36
47
|
### Credentials
|
|
37
48
|
|
|
38
49
|
A Google Calendar connection holds 5 values.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-academy/google-calendar-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Google Calendar's authoring surface for fancy-flow — the node kinds, their config schemas and their declared output shapes. React on every host; carries no executor.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|