@particle-academy/google-calendar-ui 0.0.0 → 0.1.0
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 +23 -0
- package/LICENSE +21 -0
- package/README.md +155 -2
- package/art/fancified.svg +26 -0
- package/dist/index.cjs +489 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +199 -0
- package/dist/index.d.ts +199 -0
- package/dist/index.js +457 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -6
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import * as _particle_academy_fancy_flow_connectors from '@particle-academy/fancy-flow/connectors';
|
|
2
|
+
import { ConnectorMeta, OutputField } from '@particle-academy/fancy-flow/connectors';
|
|
3
|
+
import { NodeKindDefinition } from '@particle-academy/fancy-flow/engine';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED FILE — do not edit.
|
|
7
|
+
*
|
|
8
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
9
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
10
|
+
* being rejected, because it works until it silently does not. Fix
|
|
11
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
12
|
+
*
|
|
13
|
+
* npm run provider -- google_calendar
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Google Calendar's identity on the authoring surface, shared by every Google
|
|
17
|
+
* Calendar node.
|
|
18
|
+
*
|
|
19
|
+
* This file must import nothing from the js package: a PHP or Python project
|
|
20
|
+
* installs the ui package and never that one, and the import would be a
|
|
21
|
+
* dangling module the moment it did.
|
|
22
|
+
*
|
|
23
|
+
* ## The sandbox trap
|
|
24
|
+
*
|
|
25
|
+
* Google has no sandbox for Calendar. A test calendar is a real one in a real
|
|
26
|
+
* account, so every watch and every read is real -- point this at a scratch
|
|
27
|
+
* calendar, not a production one. The faker is the only way to develop against
|
|
28
|
+
* it without touching an account.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The connector API version this package was GENERATED against.
|
|
33
|
+
*
|
|
34
|
+
* A literal, never imported — an imported constant lets an upgrade rewrite the
|
|
35
|
+
* very claim it exists to detect.
|
|
36
|
+
*/
|
|
37
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
38
|
+
/** The parts of a connector's identity that belong to the SERVICE, not the node. */
|
|
39
|
+
declare const GOOGLE_CALENDAR_SERVICE: {
|
|
40
|
+
readonly service: "google_calendar";
|
|
41
|
+
readonly serviceTitle: "Google Calendar";
|
|
42
|
+
readonly domain: "calendar";
|
|
43
|
+
readonly sandbox: "none";
|
|
44
|
+
};
|
|
45
|
+
/** The credentials a Google Calendar connection holds. */
|
|
46
|
+
declare const GOOGLE_CALENDAR_CREDENTIALS: readonly [{
|
|
47
|
+
readonly key: "clientId";
|
|
48
|
+
readonly label: "OAuth client ID";
|
|
49
|
+
readonly scope: "provider";
|
|
50
|
+
readonly secret: false;
|
|
51
|
+
readonly help: "From Google Cloud Console -> APIs & Services -> Credentials. ONE value for the whole installation, not per connected account.";
|
|
52
|
+
}, {
|
|
53
|
+
readonly key: "clientSecret";
|
|
54
|
+
readonly label: "OAuth client secret";
|
|
55
|
+
readonly scope: "provider";
|
|
56
|
+
readonly secret: true;
|
|
57
|
+
readonly help: "The client secret for the same OAuth app. One value for the whole installation.";
|
|
58
|
+
}, {
|
|
59
|
+
readonly key: "accessToken";
|
|
60
|
+
readonly label: "Access token";
|
|
61
|
+
readonly scope: "account";
|
|
62
|
+
readonly secret: true;
|
|
63
|
+
readonly help: "Per connected Google account, and it expires after ONE HOUR. The host refreshes it with the refresh token.";
|
|
64
|
+
}, {
|
|
65
|
+
readonly key: "refreshToken";
|
|
66
|
+
readonly label: "Refresh token";
|
|
67
|
+
readonly scope: "account";
|
|
68
|
+
readonly secret: true;
|
|
69
|
+
readonly help: "Per connected Google account. Google issues one only when the consent request asks for offline access; without it the connection dies within the hour.";
|
|
70
|
+
}, {
|
|
71
|
+
readonly key: "channelToken";
|
|
72
|
+
readonly label: "Channel token";
|
|
73
|
+
readonly scope: "account";
|
|
74
|
+
readonly secret: true;
|
|
75
|
+
readonly help: "A secret the host chooses per connected account and sends as `token` on every events.watch. Google echoes it back in the X-Goog-Channel-Token header of every notification, and that echo is the ONLY thing that authenticates a delivery -- Google does not sign them. Up to 256 characters.";
|
|
76
|
+
}];
|
|
77
|
+
/**
|
|
78
|
+
* The OAuth2 exchange Google Calendar requires — DECLARED here, performed by
|
|
79
|
+
* the host.
|
|
80
|
+
*
|
|
81
|
+
* A consent screen needs a browser, a redirect URI and somewhere to persist
|
|
82
|
+
* the result, and all three belong to the host; a package that ran the dance
|
|
83
|
+
* itself would have to own a web server. So this says precisely enough for a
|
|
84
|
+
* host to do it.
|
|
85
|
+
*
|
|
86
|
+
* The access token lasts 3600 seconds. A host that never refreshes will work
|
|
87
|
+
* all afternoon and be broken by morning, which is why the lifetime is stated
|
|
88
|
+
* rather than left to be discovered.
|
|
89
|
+
*
|
|
90
|
+
* Its refresh tokens do NOT rotate: the same one is reusable, so a refresh may
|
|
91
|
+
* safely be retried and may run concurrently. That is stated rather than
|
|
92
|
+
* assumed because the opposite — a provider that spends the token and revokes
|
|
93
|
+
* the grant on a replay — looks identical until it happens.
|
|
94
|
+
*/
|
|
95
|
+
declare const GOOGLE_CALENDAR_OAUTH: {
|
|
96
|
+
readonly flow: "authorization_code";
|
|
97
|
+
readonly authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth";
|
|
98
|
+
readonly tokenUrl: "https://oauth2.googleapis.com/token";
|
|
99
|
+
readonly scopes: readonly ["https://www.googleapis.com/auth/calendar.events"];
|
|
100
|
+
readonly accessTokenCredential: "accessToken";
|
|
101
|
+
readonly refreshTokenCredential: "refreshToken";
|
|
102
|
+
readonly refreshTokenRotates: false;
|
|
103
|
+
readonly accessTokenTtlSeconds: 3600;
|
|
104
|
+
};
|
|
105
|
+
/** Build a Google Calendar node's connector metadata from the operation it performs. */
|
|
106
|
+
declare function googleCalendarMeta(role: ConnectorMeta["role"], operation: string, docs: string): ConnectorMeta;
|
|
107
|
+
|
|
108
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_KIND = "@particle-academy/google_calendar_channel_stop";
|
|
109
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_OPERATION = "channel_stop";
|
|
110
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
111
|
+
/**
|
|
112
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
113
|
+
*
|
|
114
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
115
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
116
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
117
|
+
* and hoping.
|
|
118
|
+
*/
|
|
119
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_OUTPUT: OutputField[];
|
|
120
|
+
declare const googleCalendarChannelStopKind: NodeKindDefinition;
|
|
121
|
+
|
|
122
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_KIND = "@particle-academy/google_calendar_channel_watch";
|
|
123
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_OPERATION = "channel_watch";
|
|
124
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
125
|
+
/**
|
|
126
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
127
|
+
*
|
|
128
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
129
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
130
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
131
|
+
* and hoping.
|
|
132
|
+
*/
|
|
133
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_OUTPUT: OutputField[];
|
|
134
|
+
declare const googleCalendarChannelWatchKind: NodeKindDefinition;
|
|
135
|
+
|
|
136
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_KIND = "@particle-academy/google_calendar_event_get";
|
|
137
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_OPERATION = "event_get";
|
|
138
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
139
|
+
/**
|
|
140
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
141
|
+
*
|
|
142
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
143
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
144
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
145
|
+
* and hoping.
|
|
146
|
+
*/
|
|
147
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_OUTPUT: OutputField[];
|
|
148
|
+
declare const googleCalendarEventGetKind: NodeKindDefinition;
|
|
149
|
+
|
|
150
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_KIND = "@particle-academy/google_calendar_event_list";
|
|
151
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_OPERATION = "event_list";
|
|
152
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
153
|
+
/**
|
|
154
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
155
|
+
*
|
|
156
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
157
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
158
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
159
|
+
* and hoping.
|
|
160
|
+
*/
|
|
161
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_OUTPUT: OutputField[];
|
|
162
|
+
declare const googleCalendarEventListKind: NodeKindDefinition;
|
|
163
|
+
|
|
164
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_KIND = "@particle-academy/google_calendar_events_changed_trigger";
|
|
165
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OPERATION = "events_changed";
|
|
166
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
167
|
+
/**
|
|
168
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
169
|
+
*
|
|
170
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
171
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
172
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
173
|
+
* and hoping.
|
|
174
|
+
*/
|
|
175
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OUTPUT: OutputField[];
|
|
176
|
+
declare const googleCalendarEventsChangedTriggerKind: NodeKindDefinition;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* GENERATED FILE — do not edit.
|
|
180
|
+
*
|
|
181
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
182
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
183
|
+
* being rejected, because it works until it silently does not. Fix
|
|
184
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
185
|
+
*
|
|
186
|
+
* npm run provider -- google_calendar
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* Google Calendar's node kinds for fancy-flow.
|
|
190
|
+
*
|
|
191
|
+
* Install this on every host. The TypeScript executors live in the js
|
|
192
|
+
* package's `./flow` subpath; PHP and Python hosts run their own and need only
|
|
193
|
+
* this.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
/** Every Google Calendar kind, for a host that registers the lot. */
|
|
197
|
+
declare const GOOGLE_CALENDAR_KINDS: NodeKindDefinition[];
|
|
198
|
+
|
|
199
|
+
export { CONNECTOR_API_VERSION, GOOGLE_CALENDAR_CHANNEL_STOP_KIND, GOOGLE_CALENDAR_CHANNEL_STOP_META, GOOGLE_CALENDAR_CHANNEL_STOP_OPERATION, GOOGLE_CALENDAR_CHANNEL_STOP_OUTPUT, GOOGLE_CALENDAR_CHANNEL_WATCH_KIND, GOOGLE_CALENDAR_CHANNEL_WATCH_META, GOOGLE_CALENDAR_CHANNEL_WATCH_OPERATION, GOOGLE_CALENDAR_CHANNEL_WATCH_OUTPUT, GOOGLE_CALENDAR_CREDENTIALS, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_KIND, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_META, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OPERATION, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OUTPUT, GOOGLE_CALENDAR_EVENT_GET_KIND, GOOGLE_CALENDAR_EVENT_GET_META, GOOGLE_CALENDAR_EVENT_GET_OPERATION, GOOGLE_CALENDAR_EVENT_GET_OUTPUT, GOOGLE_CALENDAR_EVENT_LIST_KIND, GOOGLE_CALENDAR_EVENT_LIST_META, GOOGLE_CALENDAR_EVENT_LIST_OPERATION, GOOGLE_CALENDAR_EVENT_LIST_OUTPUT, GOOGLE_CALENDAR_KINDS, GOOGLE_CALENDAR_OAUTH, GOOGLE_CALENDAR_SERVICE, googleCalendarChannelStopKind, googleCalendarChannelWatchKind, googleCalendarEventGetKind, googleCalendarEventListKind, googleCalendarEventsChangedTriggerKind, googleCalendarMeta };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import * as _particle_academy_fancy_flow_connectors from '@particle-academy/fancy-flow/connectors';
|
|
2
|
+
import { ConnectorMeta, OutputField } from '@particle-academy/fancy-flow/connectors';
|
|
3
|
+
import { NodeKindDefinition } from '@particle-academy/fancy-flow/engine';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED FILE — do not edit.
|
|
7
|
+
*
|
|
8
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
9
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
10
|
+
* being rejected, because it works until it silently does not. Fix
|
|
11
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
12
|
+
*
|
|
13
|
+
* npm run provider -- google_calendar
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Google Calendar's identity on the authoring surface, shared by every Google
|
|
17
|
+
* Calendar node.
|
|
18
|
+
*
|
|
19
|
+
* This file must import nothing from the js package: a PHP or Python project
|
|
20
|
+
* installs the ui package and never that one, and the import would be a
|
|
21
|
+
* dangling module the moment it did.
|
|
22
|
+
*
|
|
23
|
+
* ## The sandbox trap
|
|
24
|
+
*
|
|
25
|
+
* Google has no sandbox for Calendar. A test calendar is a real one in a real
|
|
26
|
+
* account, so every watch and every read is real -- point this at a scratch
|
|
27
|
+
* calendar, not a production one. The faker is the only way to develop against
|
|
28
|
+
* it without touching an account.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The connector API version this package was GENERATED against.
|
|
33
|
+
*
|
|
34
|
+
* A literal, never imported — an imported constant lets an upgrade rewrite the
|
|
35
|
+
* very claim it exists to detect.
|
|
36
|
+
*/
|
|
37
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
38
|
+
/** The parts of a connector's identity that belong to the SERVICE, not the node. */
|
|
39
|
+
declare const GOOGLE_CALENDAR_SERVICE: {
|
|
40
|
+
readonly service: "google_calendar";
|
|
41
|
+
readonly serviceTitle: "Google Calendar";
|
|
42
|
+
readonly domain: "calendar";
|
|
43
|
+
readonly sandbox: "none";
|
|
44
|
+
};
|
|
45
|
+
/** The credentials a Google Calendar connection holds. */
|
|
46
|
+
declare const GOOGLE_CALENDAR_CREDENTIALS: readonly [{
|
|
47
|
+
readonly key: "clientId";
|
|
48
|
+
readonly label: "OAuth client ID";
|
|
49
|
+
readonly scope: "provider";
|
|
50
|
+
readonly secret: false;
|
|
51
|
+
readonly help: "From Google Cloud Console -> APIs & Services -> Credentials. ONE value for the whole installation, not per connected account.";
|
|
52
|
+
}, {
|
|
53
|
+
readonly key: "clientSecret";
|
|
54
|
+
readonly label: "OAuth client secret";
|
|
55
|
+
readonly scope: "provider";
|
|
56
|
+
readonly secret: true;
|
|
57
|
+
readonly help: "The client secret for the same OAuth app. One value for the whole installation.";
|
|
58
|
+
}, {
|
|
59
|
+
readonly key: "accessToken";
|
|
60
|
+
readonly label: "Access token";
|
|
61
|
+
readonly scope: "account";
|
|
62
|
+
readonly secret: true;
|
|
63
|
+
readonly help: "Per connected Google account, and it expires after ONE HOUR. The host refreshes it with the refresh token.";
|
|
64
|
+
}, {
|
|
65
|
+
readonly key: "refreshToken";
|
|
66
|
+
readonly label: "Refresh token";
|
|
67
|
+
readonly scope: "account";
|
|
68
|
+
readonly secret: true;
|
|
69
|
+
readonly help: "Per connected Google account. Google issues one only when the consent request asks for offline access; without it the connection dies within the hour.";
|
|
70
|
+
}, {
|
|
71
|
+
readonly key: "channelToken";
|
|
72
|
+
readonly label: "Channel token";
|
|
73
|
+
readonly scope: "account";
|
|
74
|
+
readonly secret: true;
|
|
75
|
+
readonly help: "A secret the host chooses per connected account and sends as `token` on every events.watch. Google echoes it back in the X-Goog-Channel-Token header of every notification, and that echo is the ONLY thing that authenticates a delivery -- Google does not sign them. Up to 256 characters.";
|
|
76
|
+
}];
|
|
77
|
+
/**
|
|
78
|
+
* The OAuth2 exchange Google Calendar requires — DECLARED here, performed by
|
|
79
|
+
* the host.
|
|
80
|
+
*
|
|
81
|
+
* A consent screen needs a browser, a redirect URI and somewhere to persist
|
|
82
|
+
* the result, and all three belong to the host; a package that ran the dance
|
|
83
|
+
* itself would have to own a web server. So this says precisely enough for a
|
|
84
|
+
* host to do it.
|
|
85
|
+
*
|
|
86
|
+
* The access token lasts 3600 seconds. A host that never refreshes will work
|
|
87
|
+
* all afternoon and be broken by morning, which is why the lifetime is stated
|
|
88
|
+
* rather than left to be discovered.
|
|
89
|
+
*
|
|
90
|
+
* Its refresh tokens do NOT rotate: the same one is reusable, so a refresh may
|
|
91
|
+
* safely be retried and may run concurrently. That is stated rather than
|
|
92
|
+
* assumed because the opposite — a provider that spends the token and revokes
|
|
93
|
+
* the grant on a replay — looks identical until it happens.
|
|
94
|
+
*/
|
|
95
|
+
declare const GOOGLE_CALENDAR_OAUTH: {
|
|
96
|
+
readonly flow: "authorization_code";
|
|
97
|
+
readonly authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth";
|
|
98
|
+
readonly tokenUrl: "https://oauth2.googleapis.com/token";
|
|
99
|
+
readonly scopes: readonly ["https://www.googleapis.com/auth/calendar.events"];
|
|
100
|
+
readonly accessTokenCredential: "accessToken";
|
|
101
|
+
readonly refreshTokenCredential: "refreshToken";
|
|
102
|
+
readonly refreshTokenRotates: false;
|
|
103
|
+
readonly accessTokenTtlSeconds: 3600;
|
|
104
|
+
};
|
|
105
|
+
/** Build a Google Calendar node's connector metadata from the operation it performs. */
|
|
106
|
+
declare function googleCalendarMeta(role: ConnectorMeta["role"], operation: string, docs: string): ConnectorMeta;
|
|
107
|
+
|
|
108
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_KIND = "@particle-academy/google_calendar_channel_stop";
|
|
109
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_OPERATION = "channel_stop";
|
|
110
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
111
|
+
/**
|
|
112
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
113
|
+
*
|
|
114
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
115
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
116
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
117
|
+
* and hoping.
|
|
118
|
+
*/
|
|
119
|
+
declare const GOOGLE_CALENDAR_CHANNEL_STOP_OUTPUT: OutputField[];
|
|
120
|
+
declare const googleCalendarChannelStopKind: NodeKindDefinition;
|
|
121
|
+
|
|
122
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_KIND = "@particle-academy/google_calendar_channel_watch";
|
|
123
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_OPERATION = "channel_watch";
|
|
124
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
125
|
+
/**
|
|
126
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
127
|
+
*
|
|
128
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
129
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
130
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
131
|
+
* and hoping.
|
|
132
|
+
*/
|
|
133
|
+
declare const GOOGLE_CALENDAR_CHANNEL_WATCH_OUTPUT: OutputField[];
|
|
134
|
+
declare const googleCalendarChannelWatchKind: NodeKindDefinition;
|
|
135
|
+
|
|
136
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_KIND = "@particle-academy/google_calendar_event_get";
|
|
137
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_OPERATION = "event_get";
|
|
138
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
139
|
+
/**
|
|
140
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
141
|
+
*
|
|
142
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
143
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
144
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
145
|
+
* and hoping.
|
|
146
|
+
*/
|
|
147
|
+
declare const GOOGLE_CALENDAR_EVENT_GET_OUTPUT: OutputField[];
|
|
148
|
+
declare const googleCalendarEventGetKind: NodeKindDefinition;
|
|
149
|
+
|
|
150
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_KIND = "@particle-academy/google_calendar_event_list";
|
|
151
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_OPERATION = "event_list";
|
|
152
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
153
|
+
/**
|
|
154
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
155
|
+
*
|
|
156
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
157
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
158
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
159
|
+
* and hoping.
|
|
160
|
+
*/
|
|
161
|
+
declare const GOOGLE_CALENDAR_EVENT_LIST_OUTPUT: OutputField[];
|
|
162
|
+
declare const googleCalendarEventListKind: NodeKindDefinition;
|
|
163
|
+
|
|
164
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_KIND = "@particle-academy/google_calendar_events_changed_trigger";
|
|
165
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OPERATION = "events_changed";
|
|
166
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
167
|
+
/**
|
|
168
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
169
|
+
*
|
|
170
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
171
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
172
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
173
|
+
* and hoping.
|
|
174
|
+
*/
|
|
175
|
+
declare const GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OUTPUT: OutputField[];
|
|
176
|
+
declare const googleCalendarEventsChangedTriggerKind: NodeKindDefinition;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* GENERATED FILE — do not edit.
|
|
180
|
+
*
|
|
181
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
182
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
183
|
+
* being rejected, because it works until it silently does not. Fix
|
|
184
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
185
|
+
*
|
|
186
|
+
* npm run provider -- google_calendar
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* Google Calendar's node kinds for fancy-flow.
|
|
190
|
+
*
|
|
191
|
+
* Install this on every host. The TypeScript executors live in the js
|
|
192
|
+
* package's `./flow` subpath; PHP and Python hosts run their own and need only
|
|
193
|
+
* this.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
/** Every Google Calendar kind, for a host that registers the lot. */
|
|
197
|
+
declare const GOOGLE_CALENDAR_KINDS: NodeKindDefinition[];
|
|
198
|
+
|
|
199
|
+
export { CONNECTOR_API_VERSION, GOOGLE_CALENDAR_CHANNEL_STOP_KIND, GOOGLE_CALENDAR_CHANNEL_STOP_META, GOOGLE_CALENDAR_CHANNEL_STOP_OPERATION, GOOGLE_CALENDAR_CHANNEL_STOP_OUTPUT, GOOGLE_CALENDAR_CHANNEL_WATCH_KIND, GOOGLE_CALENDAR_CHANNEL_WATCH_META, GOOGLE_CALENDAR_CHANNEL_WATCH_OPERATION, GOOGLE_CALENDAR_CHANNEL_WATCH_OUTPUT, GOOGLE_CALENDAR_CREDENTIALS, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_KIND, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_META, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OPERATION, GOOGLE_CALENDAR_EVENTS_CHANGED_TRIGGER_OUTPUT, GOOGLE_CALENDAR_EVENT_GET_KIND, GOOGLE_CALENDAR_EVENT_GET_META, GOOGLE_CALENDAR_EVENT_GET_OPERATION, GOOGLE_CALENDAR_EVENT_GET_OUTPUT, GOOGLE_CALENDAR_EVENT_LIST_KIND, GOOGLE_CALENDAR_EVENT_LIST_META, GOOGLE_CALENDAR_EVENT_LIST_OPERATION, GOOGLE_CALENDAR_EVENT_LIST_OUTPUT, GOOGLE_CALENDAR_KINDS, GOOGLE_CALENDAR_OAUTH, GOOGLE_CALENDAR_SERVICE, googleCalendarChannelStopKind, googleCalendarChannelWatchKind, googleCalendarEventGetKind, googleCalendarEventListKind, googleCalendarEventsChangedTriggerKind, googleCalendarMeta };
|