@ankhorage/projects 0.7.3 → 0.9.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/README.md +20 -12
- package/dist/capabilities/index.d.ts +330 -0
- package/dist/capabilities/index.js +194 -0
- package/dist/capabilities/socialManagerMediaAnalytics.d.ts +92 -0
- package/dist/capabilities/socialManagerMediaAnalytics.js +75 -0
- package/dist/features/projects/composition/composeGeneratedRuntimeMaterialization.d.ts +1 -0
- package/dist/features/projects/composition/composeGeneratedRuntimeMaterialization.js +13 -5
- package/dist/features/projects/composition/createExpoProjectMaterializer.d.ts +4 -6
- package/dist/features/projects/composition/createExpoProjectMaterializer.js +29 -36
- package/dist/features/projects/composition/createNavigatorMaterializationFiles.d.ts +14 -0
- package/dist/features/projects/composition/createNavigatorMaterializationFiles.js +19 -0
- package/dist/features/projects/composition/createRootNavigatorGenerationOptions.d.ts +9 -0
- package/dist/features/projects/composition/createRootNavigatorGenerationOptions.js +10 -0
- package/dist/features/projects/composition/createSocialManagerServerFiles.d.ts +6 -0
- package/dist/features/projects/composition/createSocialManagerServerFiles.js +16 -0
- package/dist/features/trusted-social-manager-host/adapters/createConnectionFileSystemRepositories.d.ts +16 -0
- package/dist/features/trusted-social-manager-host/adapters/createConnectionFileSystemRepositories.js +201 -0
- package/dist/features/trusted-social-manager-host/adapters/createConnectionFileSystemStoreAsync.d.ts +25 -0
- package/dist/features/trusted-social-manager-host/adapters/createConnectionFileSystemStoreAsync.js +72 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerDraftStoreAsync.d.ts +7 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerDraftStoreAsync.js +160 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerFlowSecurityAsync.d.ts +19 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerFlowSecurityAsync.js +176 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerMediaPreflight.d.ts +4 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerMediaPreflight.js +37 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerMediaStoreAsync.d.ts +7 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialManagerMediaStoreAsync.js +242 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialOperationStoresAsync.d.ts +13 -0
- package/dist/features/trusted-social-manager-host/adapters/createSocialOperationStoresAsync.js +244 -0
- package/dist/features/trusted-social-manager-host/adapters/projectSocialManagerConnection.d.ts +53 -0
- package/dist/features/trusted-social-manager-host/adapters/projectSocialManagerConnection.js +42 -0
- package/dist/features/trusted-social-manager-host/application/createSocialManagerPublicationRuntime.d.ts +10 -0
- package/dist/features/trusted-social-manager-host/application/createSocialManagerPublicationRuntime.js +240 -0
- package/dist/features/trusted-social-manager-host/application/resolveSocialManagerPublication.d.ts +22 -0
- package/dist/features/trusted-social-manager-host/application/resolveSocialManagerPublication.js +97 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerCapabilityOperations.d.ts +22 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerCapabilityOperations.js +224 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerConnectionOperations.d.ts +20 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerConnectionOperations.js +152 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerLocalProviderFixtures.d.ts +22 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerLocalProviderFixtures.js +271 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerMediaOperations.d.ts +14 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerMediaOperations.js +72 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerProvider.d.ts +20 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerProvider.js +20 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerPublicationOperations.d.ts +15 -0
- package/dist/features/trusted-social-manager-host/composition/createSocialManagerPublicationOperations.js +185 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerFileSystemPersistenceAsync.d.ts +14 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerFileSystemPersistenceAsync.js +17 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerHost.d.ts +51 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerHost.js +188 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerLocalHostAsync.d.ts +18 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerLocalHostAsync.js +177 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerLocalServerAsync.d.ts +26 -0
- package/dist/features/trusted-social-manager-host/composition/createTrustedSocialManagerLocalServerAsync.js +66 -0
- package/dist/features/trusted-social-manager-host/domain/publicationConfig.d.ts +18 -0
- package/dist/features/trusted-social-manager-host/domain/publicationConfig.js +77 -0
- package/dist/features/trusted-social-manager-host/domain/readSocialManagerConnectionRequest.d.ts +54 -0
- package/dist/features/trusted-social-manager-host/domain/readSocialManagerConnectionRequest.js +77 -0
- package/dist/features/trusted-social-manager-host/domain/readSocialManagerDraftContent.d.ts +3 -0
- package/dist/features/trusted-social-manager-host/domain/readSocialManagerDraftContent.js +47 -0
- package/dist/features/trusted-social-manager-host/domain/socialManagerConnectionIdentity.d.ts +17 -0
- package/dist/features/trusted-social-manager-host/domain/socialManagerConnectionIdentity.js +17 -0
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixHost.d.ts +1 -2
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixHost.js +3 -59
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixWorkerEntry.d.ts +36 -0
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixWorkerEntry.js +105 -0
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixWorkerHandler.d.ts +35 -0
- package/dist/features/trusted-zefix-host/composition/createTrustedZefixWorkerHandler.js +92 -0
- package/dist/features/trusted-zefix-host/composition/zefixOperations.d.ts +20 -0
- package/dist/features/trusted-zefix-host/composition/zefixOperations.js +57 -0
- package/dist/features/worker-materialization/composition/composeWorkerMaterialization.d.ts +13 -0
- package/dist/features/worker-materialization/composition/composeWorkerMaterialization.js +90 -0
- package/dist/features/worker-materialization/composition/createWorkerMaterializationFile.d.ts +13 -0
- package/dist/features/worker-materialization/composition/createWorkerMaterializationFile.js +48 -0
- package/dist/features/worker-materialization/constants/worker.d.ts +6 -0
- package/dist/features/worker-materialization/constants/worker.js +6 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +16 -0
- package/dist/types/socialManager.d.ts +77 -0
- package/dist/types/socialManager.js +1 -0
- package/dist/types/socialManagerPublication.d.ts +27 -0
- package/dist/types/socialManagerPublication.js +1 -0
- package/dist/worker/index.d.ts +3 -0
- package/dist/worker/index.js +3 -0
- package/package.json +511 -9
package/README.md
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
<!-- markdownlint-disable MD013 MD033 -->
|
|
2
2
|
<!-- This file is generated by Paradox. Do not edit manually. -->
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# Ankhorage Projects
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Provides standalone project identity, persistence, and repository-oriented project actions.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Offer a reusable boundary for storing, revising, materializing, and managing application project identities without coupling callers to a specific persistence provider.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
12
|
+
## Documentation
|
|
13
|
+
|
|
14
|
+
Open `./paradox/index.html` locally in your browser to browse the complete documentation.
|
|
15
|
+
|
|
16
|
+
## Contributors
|
|
17
|
+
|
|
18
|
+
<a href="https://github.com/artiphishle"><img src="https://avatars.githubusercontent.com/u/137318798?s=64" width="40" height="40" alt="artiphishle" /></a>
|
|
19
|
+
<a href="https://github.com/ankhorage-renovate-sync%5Bbot%5D"><img src="https://avatars.githubusercontent.com/u/323340348?s=64" width="40" height="40" alt="ankhorage-renovate-sync%5Bbot%5D" /></a>
|
|
20
|
+
<a href="https://github.com/faeb187"><img src="https://avatars.githubusercontent.com/u/389333?s=64" width="40" height="40" alt="faeb187" /></a>
|
|
21
|
+
<a href="https://github.com/claude"><img src="https://avatars.githubusercontent.com/u/81847?s=64" width="40" height="40" alt="claude" /></a>
|
|
22
|
+
|
|
23
|
+
## Donation
|
|
24
|
+
|
|
25
|
+
If this project is useful to you, you can support its continued development.
|
|
26
|
+
|
|
27
|
+
[Support @ankhorage](https://github.com/sponsors/ankhorage)
|
|
@@ -109,4 +109,334 @@ export declare const CAPABILITIES: readonly [{
|
|
|
109
109
|
};
|
|
110
110
|
readonly label: "Read a Zefix company by UID";
|
|
111
111
|
readonly description: "Read curated Zefix company data through a trusted project host.";
|
|
112
|
+
}, {
|
|
113
|
+
readonly id: "projects.social.drafts.create";
|
|
114
|
+
readonly owner: "@ankhorage/projects";
|
|
115
|
+
readonly access: readonly ["write"];
|
|
116
|
+
readonly binding: {
|
|
117
|
+
readonly kind: "action";
|
|
118
|
+
readonly bindableAs: readonly ["target"];
|
|
119
|
+
};
|
|
120
|
+
readonly label: "Create social draft";
|
|
121
|
+
readonly description: "Create the first immutable social draft revision.";
|
|
122
|
+
}, {
|
|
123
|
+
readonly id: "projects.social.drafts.list";
|
|
124
|
+
readonly owner: "@ankhorage/projects";
|
|
125
|
+
readonly access: readonly ["read"];
|
|
126
|
+
readonly binding: {
|
|
127
|
+
readonly kind: "action";
|
|
128
|
+
readonly bindableAs: readonly ["target"];
|
|
129
|
+
};
|
|
130
|
+
readonly label: "List social drafts";
|
|
131
|
+
readonly description: "List current drafts in an authenticated project scope.";
|
|
132
|
+
}, {
|
|
133
|
+
readonly id: "projects.social.drafts.read";
|
|
134
|
+
readonly owner: "@ankhorage/projects";
|
|
135
|
+
readonly access: readonly ["read"];
|
|
136
|
+
readonly binding: {
|
|
137
|
+
readonly kind: "action";
|
|
138
|
+
readonly bindableAs: readonly ["target"];
|
|
139
|
+
};
|
|
140
|
+
readonly label: "Read social draft";
|
|
141
|
+
readonly description: "Read the current draft revision in an authenticated project scope.";
|
|
142
|
+
}, {
|
|
143
|
+
readonly id: "projects.social.drafts.update";
|
|
144
|
+
readonly owner: "@ankhorage/projects";
|
|
145
|
+
readonly access: readonly ["write"];
|
|
146
|
+
readonly binding: {
|
|
147
|
+
readonly kind: "action";
|
|
148
|
+
readonly bindableAs: readonly ["target"];
|
|
149
|
+
};
|
|
150
|
+
readonly label: "Update social draft";
|
|
151
|
+
readonly description: "Append a new draft revision using an expected revision number.";
|
|
152
|
+
}, {
|
|
153
|
+
readonly id: "projects.social.media.upload";
|
|
154
|
+
readonly owner: "@ankhorage/projects";
|
|
155
|
+
readonly access: readonly ["write"];
|
|
156
|
+
readonly binding: {
|
|
157
|
+
readonly kind: "action";
|
|
158
|
+
readonly bindableAs: readonly ["target"];
|
|
159
|
+
};
|
|
160
|
+
readonly label: "Upload social media";
|
|
161
|
+
readonly description: "Persist immutable caller-owned social media content.";
|
|
162
|
+
}, {
|
|
163
|
+
readonly id: "projects.social.media.list";
|
|
164
|
+
readonly owner: "@ankhorage/projects";
|
|
165
|
+
readonly access: readonly ["read"];
|
|
166
|
+
readonly binding: {
|
|
167
|
+
readonly kind: "action";
|
|
168
|
+
readonly bindableAs: readonly ["target"];
|
|
169
|
+
};
|
|
170
|
+
readonly label: "List social media";
|
|
171
|
+
readonly description: "List immutable social media metadata in the authenticated caller scope.";
|
|
172
|
+
}, {
|
|
173
|
+
readonly id: "projects.social.media.read";
|
|
174
|
+
readonly owner: "@ankhorage/projects";
|
|
175
|
+
readonly access: readonly ["read"];
|
|
176
|
+
readonly binding: {
|
|
177
|
+
readonly kind: "action";
|
|
178
|
+
readonly bindableAs: readonly ["target"];
|
|
179
|
+
};
|
|
180
|
+
readonly label: "Read social media";
|
|
181
|
+
readonly description: "Read one immutable social media metadata record.";
|
|
182
|
+
}, {
|
|
183
|
+
readonly id: "projects.social.media.remove";
|
|
184
|
+
readonly owner: "@ankhorage/projects";
|
|
185
|
+
readonly access: readonly ["write"];
|
|
186
|
+
readonly binding: {
|
|
187
|
+
readonly kind: "action";
|
|
188
|
+
readonly bindableAs: readonly ["target"];
|
|
189
|
+
};
|
|
190
|
+
readonly label: "Remove social media";
|
|
191
|
+
readonly description: "Remove unreferenced immutable social media content.";
|
|
192
|
+
}, {
|
|
193
|
+
readonly id: "projects.social.capabilities.read";
|
|
194
|
+
readonly owner: "@ankhorage/projects";
|
|
195
|
+
readonly access: readonly ["read"];
|
|
196
|
+
readonly binding: {
|
|
197
|
+
readonly kind: "action";
|
|
198
|
+
readonly bindableAs: readonly ["target"];
|
|
199
|
+
};
|
|
200
|
+
readonly label: "Read social capability";
|
|
201
|
+
readonly description: "Read the authenticated destination provider capability.";
|
|
202
|
+
}, {
|
|
203
|
+
readonly id: "projects.social.content.validate";
|
|
204
|
+
readonly owner: "@ankhorage/projects";
|
|
205
|
+
readonly access: readonly ["write"];
|
|
206
|
+
readonly binding: {
|
|
207
|
+
readonly kind: "action";
|
|
208
|
+
readonly bindableAs: readonly ["target"];
|
|
209
|
+
};
|
|
210
|
+
readonly label: "Validate social content";
|
|
211
|
+
readonly description: "Validate an immutable social draft destination against provider constraints.";
|
|
212
|
+
}, {
|
|
213
|
+
readonly id: "projects.social.preview.prepare";
|
|
214
|
+
readonly owner: "@ankhorage/projects";
|
|
215
|
+
readonly access: readonly ["write"];
|
|
216
|
+
readonly binding: {
|
|
217
|
+
readonly kind: "action";
|
|
218
|
+
readonly bindableAs: readonly ["target"];
|
|
219
|
+
};
|
|
220
|
+
readonly label: "Prepare social preview";
|
|
221
|
+
readonly description: "Prepare a validated redaction-safe social publication preview.";
|
|
222
|
+
}, {
|
|
223
|
+
readonly id: "projects.social.analytics.capabilities";
|
|
224
|
+
readonly owner: "@ankhorage/projects";
|
|
225
|
+
readonly access: readonly ["read"];
|
|
226
|
+
readonly binding: {
|
|
227
|
+
readonly kind: "action";
|
|
228
|
+
readonly bindableAs: readonly ["target"];
|
|
229
|
+
};
|
|
230
|
+
readonly label: "Read social analytics capabilities";
|
|
231
|
+
readonly description: "Read provider-native availability for social analytics metrics.";
|
|
232
|
+
}, {
|
|
233
|
+
readonly id: "projects.social.analytics.retrieve";
|
|
234
|
+
readonly owner: "@ankhorage/projects";
|
|
235
|
+
readonly access: readonly ["write"];
|
|
236
|
+
readonly binding: {
|
|
237
|
+
readonly kind: "action";
|
|
238
|
+
readonly bindableAs: readonly ["target"];
|
|
239
|
+
};
|
|
240
|
+
readonly label: "Retrieve social analytics";
|
|
241
|
+
readonly description: "Retrieve provider-native social analytics observations.";
|
|
242
|
+
}, {
|
|
243
|
+
readonly id: "projects.social.connections.list";
|
|
244
|
+
readonly owner: "@ankhorage/projects";
|
|
245
|
+
readonly access: readonly ["read"];
|
|
246
|
+
readonly binding: {
|
|
247
|
+
readonly kind: "action";
|
|
248
|
+
readonly bindableAs: readonly ["target"];
|
|
249
|
+
};
|
|
250
|
+
readonly label: "List social connections";
|
|
251
|
+
readonly description: "List the authenticated caller’s redacted social account connections.";
|
|
252
|
+
}, {
|
|
253
|
+
readonly id: "projects.social.connections.connect";
|
|
254
|
+
readonly owner: "@ankhorage/projects";
|
|
255
|
+
readonly access: readonly ["write"];
|
|
256
|
+
readonly binding: {
|
|
257
|
+
readonly kind: "action";
|
|
258
|
+
readonly bindableAs: readonly ["target"];
|
|
259
|
+
};
|
|
260
|
+
readonly label: "Connect social account";
|
|
261
|
+
readonly description: "Start a bound delegated authorization attempt for a social account.";
|
|
262
|
+
}, {
|
|
263
|
+
readonly id: "projects.social.connections.complete";
|
|
264
|
+
readonly owner: "@ankhorage/projects";
|
|
265
|
+
readonly access: readonly ["write"];
|
|
266
|
+
readonly binding: {
|
|
267
|
+
readonly kind: "action";
|
|
268
|
+
readonly bindableAs: readonly ["target"];
|
|
269
|
+
};
|
|
270
|
+
readonly label: "Complete social connection";
|
|
271
|
+
readonly description: "Complete one authenticated caller’s delegated authorization attempt.";
|
|
272
|
+
}, {
|
|
273
|
+
readonly id: "projects.social.connections.cancel";
|
|
274
|
+
readonly owner: "@ankhorage/projects";
|
|
275
|
+
readonly access: readonly ["write"];
|
|
276
|
+
readonly binding: {
|
|
277
|
+
readonly kind: "action";
|
|
278
|
+
readonly bindableAs: readonly ["target"];
|
|
279
|
+
};
|
|
280
|
+
readonly label: "Cancel social connection";
|
|
281
|
+
readonly description: "Cancel one pending delegated authorization attempt.";
|
|
282
|
+
}, {
|
|
283
|
+
readonly id: "projects.social.connections.reconnect";
|
|
284
|
+
readonly owner: "@ankhorage/projects";
|
|
285
|
+
readonly access: readonly ["write"];
|
|
286
|
+
readonly binding: {
|
|
287
|
+
readonly kind: "action";
|
|
288
|
+
readonly bindableAs: readonly ["target"];
|
|
289
|
+
};
|
|
290
|
+
readonly label: "Reconnect social account";
|
|
291
|
+
readonly description: "Start a fresh delegated authorization attempt for an existing account.";
|
|
292
|
+
}, {
|
|
293
|
+
readonly id: "projects.social.connections.refresh";
|
|
294
|
+
readonly owner: "@ankhorage/projects";
|
|
295
|
+
readonly access: readonly ["write"];
|
|
296
|
+
readonly binding: {
|
|
297
|
+
readonly kind: "action";
|
|
298
|
+
readonly bindableAs: readonly ["target"];
|
|
299
|
+
};
|
|
300
|
+
readonly label: "Refresh social connection";
|
|
301
|
+
readonly description: "Refresh a caller-owned social connection through its trusted adapter.";
|
|
302
|
+
}, {
|
|
303
|
+
readonly id: "projects.social.connections.health";
|
|
304
|
+
readonly owner: "@ankhorage/projects";
|
|
305
|
+
readonly access: readonly ["read"];
|
|
306
|
+
readonly binding: {
|
|
307
|
+
readonly kind: "action";
|
|
308
|
+
readonly bindableAs: readonly ["target"];
|
|
309
|
+
};
|
|
310
|
+
readonly label: "Read social connection health";
|
|
311
|
+
readonly description: "Read the current credential-free health of a caller-owned social connection.";
|
|
312
|
+
}, {
|
|
313
|
+
readonly id: "projects.social.connections.destinations.list";
|
|
314
|
+
readonly owner: "@ankhorage/projects";
|
|
315
|
+
readonly access: readonly ["read"];
|
|
316
|
+
readonly binding: {
|
|
317
|
+
readonly kind: "action";
|
|
318
|
+
readonly bindableAs: readonly ["target"];
|
|
319
|
+
};
|
|
320
|
+
readonly label: "List social destinations";
|
|
321
|
+
readonly description: "Discover authorized social destinations for a caller-owned account.";
|
|
322
|
+
}, {
|
|
323
|
+
readonly id: "projects.social.connections.disconnect";
|
|
324
|
+
readonly owner: "@ankhorage/projects";
|
|
325
|
+
readonly access: readonly ["write"];
|
|
326
|
+
readonly binding: {
|
|
327
|
+
readonly kind: "action";
|
|
328
|
+
readonly bindableAs: readonly ["target"];
|
|
329
|
+
};
|
|
330
|
+
readonly label: "Disconnect social account";
|
|
331
|
+
readonly description: "Revoke one exact caller-owned social authorization and remove its credential.";
|
|
332
|
+
}, {
|
|
333
|
+
readonly id: "projects.social.connections.revocation.reconcile";
|
|
334
|
+
readonly owner: "@ankhorage/projects";
|
|
335
|
+
readonly access: readonly ["write"];
|
|
336
|
+
readonly binding: {
|
|
337
|
+
readonly kind: "action";
|
|
338
|
+
readonly bindableAs: readonly ["target"];
|
|
339
|
+
};
|
|
340
|
+
readonly label: "Reconcile social disconnection";
|
|
341
|
+
readonly description: "Reconcile one durable caller-owned social authorization revocation.";
|
|
342
|
+
}, {
|
|
343
|
+
readonly id: "projects.social.publications.prepare";
|
|
344
|
+
readonly owner: "@ankhorage/projects";
|
|
345
|
+
readonly access: readonly ["write"];
|
|
346
|
+
readonly binding: {
|
|
347
|
+
readonly kind: "action";
|
|
348
|
+
readonly bindableAs: readonly ["target"];
|
|
349
|
+
};
|
|
350
|
+
readonly label: "Prepare social publication";
|
|
351
|
+
readonly description: "Prepare an exact Flow-backed social publication and request approval.";
|
|
352
|
+
}, {
|
|
353
|
+
readonly id: "projects.social.publications.publish";
|
|
354
|
+
readonly owner: "@ankhorage/projects";
|
|
355
|
+
readonly access: readonly ["write"];
|
|
356
|
+
readonly binding: {
|
|
357
|
+
readonly kind: "action";
|
|
358
|
+
readonly bindableAs: readonly ["target"];
|
|
359
|
+
};
|
|
360
|
+
readonly label: "Publish social content";
|
|
361
|
+
readonly description: "Request immediate approved publication of one immutable social draft destination.";
|
|
362
|
+
}, {
|
|
363
|
+
readonly id: "projects.social.publications.schedule";
|
|
364
|
+
readonly owner: "@ankhorage/projects";
|
|
365
|
+
readonly access: readonly ["write"];
|
|
366
|
+
readonly binding: {
|
|
367
|
+
readonly kind: "action";
|
|
368
|
+
readonly bindableAs: readonly ["target"];
|
|
369
|
+
};
|
|
370
|
+
readonly label: "Schedule social publication";
|
|
371
|
+
readonly description: "Schedule one approved social publication through Flow.";
|
|
372
|
+
}, {
|
|
373
|
+
readonly id: "projects.social.publications.cancel";
|
|
374
|
+
readonly owner: "@ankhorage/projects";
|
|
375
|
+
readonly access: readonly ["write"];
|
|
376
|
+
readonly binding: {
|
|
377
|
+
readonly kind: "action";
|
|
378
|
+
readonly bindableAs: readonly ["target"];
|
|
379
|
+
};
|
|
380
|
+
readonly label: "Cancel social publication";
|
|
381
|
+
readonly description: "Cancel one caller-owned pending social publication.";
|
|
382
|
+
}, {
|
|
383
|
+
readonly id: "projects.social.publications.execution.status";
|
|
384
|
+
readonly owner: "@ankhorage/projects";
|
|
385
|
+
readonly access: readonly ["read"];
|
|
386
|
+
readonly binding: {
|
|
387
|
+
readonly kind: "action";
|
|
388
|
+
readonly bindableAs: readonly ["target"];
|
|
389
|
+
};
|
|
390
|
+
readonly label: "Read social publication status";
|
|
391
|
+
readonly description: "Read one caller-owned social publication execution status.";
|
|
392
|
+
}, {
|
|
393
|
+
readonly id: "projects.social.publications.approval.status";
|
|
394
|
+
readonly owner: "@ankhorage/projects";
|
|
395
|
+
readonly access: readonly ["read"];
|
|
396
|
+
readonly binding: {
|
|
397
|
+
readonly kind: "action";
|
|
398
|
+
readonly bindableAs: readonly ["target"];
|
|
399
|
+
};
|
|
400
|
+
readonly label: "Read social publication approval";
|
|
401
|
+
readonly description: "Read approval availability for one caller-owned publication.";
|
|
402
|
+
}, {
|
|
403
|
+
readonly id: "projects.social.publications.approval.resolve";
|
|
404
|
+
readonly owner: "@ankhorage/projects";
|
|
405
|
+
readonly access: readonly ["write"];
|
|
406
|
+
readonly binding: {
|
|
407
|
+
readonly kind: "action";
|
|
408
|
+
readonly bindableAs: readonly ["target"];
|
|
409
|
+
};
|
|
410
|
+
readonly label: "Resolve social publication approval";
|
|
411
|
+
readonly description: "Resolve one caller-owned social publication approval.";
|
|
412
|
+
}, {
|
|
413
|
+
readonly id: "projects.social.publications.scheduled.list";
|
|
414
|
+
readonly owner: "@ankhorage/projects";
|
|
415
|
+
readonly access: readonly ["read"];
|
|
416
|
+
readonly binding: {
|
|
417
|
+
readonly kind: "action";
|
|
418
|
+
readonly bindableAs: readonly ["target"];
|
|
419
|
+
};
|
|
420
|
+
readonly label: "List scheduled social publications";
|
|
421
|
+
readonly description: "List active caller-owned social publication executions.";
|
|
422
|
+
}, {
|
|
423
|
+
readonly id: "projects.social.publications.history.list";
|
|
424
|
+
readonly owner: "@ankhorage/projects";
|
|
425
|
+
readonly access: readonly ["read"];
|
|
426
|
+
readonly binding: {
|
|
427
|
+
readonly kind: "action";
|
|
428
|
+
readonly bindableAs: readonly ["target"];
|
|
429
|
+
};
|
|
430
|
+
readonly label: "List social publication history";
|
|
431
|
+
readonly description: "List completed caller-owned social publication executions.";
|
|
432
|
+
}, {
|
|
433
|
+
readonly id: "projects.social.publications.receipts.list";
|
|
434
|
+
readonly owner: "@ankhorage/projects";
|
|
435
|
+
readonly access: readonly ["read"];
|
|
436
|
+
readonly binding: {
|
|
437
|
+
readonly kind: "action";
|
|
438
|
+
readonly bindableAs: readonly ["target"];
|
|
439
|
+
};
|
|
440
|
+
readonly label: "List social publication receipts";
|
|
441
|
+
readonly description: "List redacted receipts from caller-owned social publications.";
|
|
112
442
|
}];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SOCIAL_MANAGER_MEDIA_ANALYTICS_CAPABILITIES } from './socialManagerMediaAnalytics.js';
|
|
1
2
|
/*** Publish the canonical descriptors for project repository operations. */
|
|
2
3
|
export const CAPABILITIES = [
|
|
3
4
|
{
|
|
@@ -88,4 +89,197 @@ export const CAPABILITIES = [
|
|
|
88
89
|
label: 'Read a Zefix company by UID',
|
|
89
90
|
description: 'Read curated Zefix company data through a trusted project host.',
|
|
90
91
|
},
|
|
92
|
+
{
|
|
93
|
+
id: 'projects.social.drafts.create',
|
|
94
|
+
owner: '@ankhorage/projects',
|
|
95
|
+
access: ['write'],
|
|
96
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
97
|
+
label: 'Create social draft',
|
|
98
|
+
description: 'Create the first immutable social draft revision.',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: 'projects.social.drafts.list',
|
|
102
|
+
owner: '@ankhorage/projects',
|
|
103
|
+
access: ['read'],
|
|
104
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
105
|
+
label: 'List social drafts',
|
|
106
|
+
description: 'List current drafts in an authenticated project scope.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: 'projects.social.drafts.read',
|
|
110
|
+
owner: '@ankhorage/projects',
|
|
111
|
+
access: ['read'],
|
|
112
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
113
|
+
label: 'Read social draft',
|
|
114
|
+
description: 'Read the current draft revision in an authenticated project scope.',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: 'projects.social.drafts.update',
|
|
118
|
+
owner: '@ankhorage/projects',
|
|
119
|
+
access: ['write'],
|
|
120
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
121
|
+
label: 'Update social draft',
|
|
122
|
+
description: 'Append a new draft revision using an expected revision number.',
|
|
123
|
+
},
|
|
124
|
+
...SOCIAL_MANAGER_MEDIA_ANALYTICS_CAPABILITIES,
|
|
125
|
+
{
|
|
126
|
+
id: 'projects.social.connections.list',
|
|
127
|
+
owner: '@ankhorage/projects',
|
|
128
|
+
access: ['read'],
|
|
129
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
130
|
+
label: 'List social connections',
|
|
131
|
+
description: 'List the authenticated caller’s redacted social account connections.',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: 'projects.social.connections.connect',
|
|
135
|
+
owner: '@ankhorage/projects',
|
|
136
|
+
access: ['write'],
|
|
137
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
138
|
+
label: 'Connect social account',
|
|
139
|
+
description: 'Start a bound delegated authorization attempt for a social account.',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: 'projects.social.connections.complete',
|
|
143
|
+
owner: '@ankhorage/projects',
|
|
144
|
+
access: ['write'],
|
|
145
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
146
|
+
label: 'Complete social connection',
|
|
147
|
+
description: 'Complete one authenticated caller’s delegated authorization attempt.',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: 'projects.social.connections.cancel',
|
|
151
|
+
owner: '@ankhorage/projects',
|
|
152
|
+
access: ['write'],
|
|
153
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
154
|
+
label: 'Cancel social connection',
|
|
155
|
+
description: 'Cancel one pending delegated authorization attempt.',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: 'projects.social.connections.reconnect',
|
|
159
|
+
owner: '@ankhorage/projects',
|
|
160
|
+
access: ['write'],
|
|
161
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
162
|
+
label: 'Reconnect social account',
|
|
163
|
+
description: 'Start a fresh delegated authorization attempt for an existing account.',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: 'projects.social.connections.refresh',
|
|
167
|
+
owner: '@ankhorage/projects',
|
|
168
|
+
access: ['write'],
|
|
169
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
170
|
+
label: 'Refresh social connection',
|
|
171
|
+
description: 'Refresh a caller-owned social connection through its trusted adapter.',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: 'projects.social.connections.health',
|
|
175
|
+
owner: '@ankhorage/projects',
|
|
176
|
+
access: ['read'],
|
|
177
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
178
|
+
label: 'Read social connection health',
|
|
179
|
+
description: 'Read the current credential-free health of a caller-owned social connection.',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: 'projects.social.connections.destinations.list',
|
|
183
|
+
owner: '@ankhorage/projects',
|
|
184
|
+
access: ['read'],
|
|
185
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
186
|
+
label: 'List social destinations',
|
|
187
|
+
description: 'Discover authorized social destinations for a caller-owned account.',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: 'projects.social.connections.disconnect',
|
|
191
|
+
owner: '@ankhorage/projects',
|
|
192
|
+
access: ['write'],
|
|
193
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
194
|
+
label: 'Disconnect social account',
|
|
195
|
+
description: 'Revoke one exact caller-owned social authorization and remove its credential.',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: 'projects.social.connections.revocation.reconcile',
|
|
199
|
+
owner: '@ankhorage/projects',
|
|
200
|
+
access: ['write'],
|
|
201
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
202
|
+
label: 'Reconcile social disconnection',
|
|
203
|
+
description: 'Reconcile one durable caller-owned social authorization revocation.',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: 'projects.social.publications.prepare',
|
|
207
|
+
owner: '@ankhorage/projects',
|
|
208
|
+
access: ['write'],
|
|
209
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
210
|
+
label: 'Prepare social publication',
|
|
211
|
+
description: 'Prepare an exact Flow-backed social publication and request approval.',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
id: 'projects.social.publications.publish',
|
|
215
|
+
owner: '@ankhorage/projects',
|
|
216
|
+
access: ['write'],
|
|
217
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
218
|
+
label: 'Publish social content',
|
|
219
|
+
description: 'Request immediate approved publication of one immutable social draft destination.',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
id: 'projects.social.publications.schedule',
|
|
223
|
+
owner: '@ankhorage/projects',
|
|
224
|
+
access: ['write'],
|
|
225
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
226
|
+
label: 'Schedule social publication',
|
|
227
|
+
description: 'Schedule one approved social publication through Flow.',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: 'projects.social.publications.cancel',
|
|
231
|
+
owner: '@ankhorage/projects',
|
|
232
|
+
access: ['write'],
|
|
233
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
234
|
+
label: 'Cancel social publication',
|
|
235
|
+
description: 'Cancel one caller-owned pending social publication.',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: 'projects.social.publications.execution.status',
|
|
239
|
+
owner: '@ankhorage/projects',
|
|
240
|
+
access: ['read'],
|
|
241
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
242
|
+
label: 'Read social publication status',
|
|
243
|
+
description: 'Read one caller-owned social publication execution status.',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: 'projects.social.publications.approval.status',
|
|
247
|
+
owner: '@ankhorage/projects',
|
|
248
|
+
access: ['read'],
|
|
249
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
250
|
+
label: 'Read social publication approval',
|
|
251
|
+
description: 'Read approval availability for one caller-owned publication.',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
id: 'projects.social.publications.approval.resolve',
|
|
255
|
+
owner: '@ankhorage/projects',
|
|
256
|
+
access: ['write'],
|
|
257
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
258
|
+
label: 'Resolve social publication approval',
|
|
259
|
+
description: 'Resolve one caller-owned social publication approval.',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
id: 'projects.social.publications.scheduled.list',
|
|
263
|
+
owner: '@ankhorage/projects',
|
|
264
|
+
access: ['read'],
|
|
265
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
266
|
+
label: 'List scheduled social publications',
|
|
267
|
+
description: 'List active caller-owned social publication executions.',
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
id: 'projects.social.publications.history.list',
|
|
271
|
+
owner: '@ankhorage/projects',
|
|
272
|
+
access: ['read'],
|
|
273
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
274
|
+
label: 'List social publication history',
|
|
275
|
+
description: 'List completed caller-owned social publication executions.',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
id: 'projects.social.publications.receipts.list',
|
|
279
|
+
owner: '@ankhorage/projects',
|
|
280
|
+
access: ['read'],
|
|
281
|
+
binding: { kind: 'action', bindableAs: ['target'] },
|
|
282
|
+
label: 'List social publication receipts',
|
|
283
|
+
description: 'List redacted receipts from caller-owned social publications.',
|
|
284
|
+
},
|
|
91
285
|
];
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*** Publish static media, validation, preview, and analytics descriptors for the Social Manager host. */
|
|
2
|
+
export declare const SOCIAL_MANAGER_MEDIA_ANALYTICS_CAPABILITIES: readonly [{
|
|
3
|
+
readonly id: "projects.social.media.upload";
|
|
4
|
+
readonly owner: "@ankhorage/projects";
|
|
5
|
+
readonly access: readonly ["write"];
|
|
6
|
+
readonly binding: {
|
|
7
|
+
readonly kind: "action";
|
|
8
|
+
readonly bindableAs: readonly ["target"];
|
|
9
|
+
};
|
|
10
|
+
readonly label: "Upload social media";
|
|
11
|
+
readonly description: "Persist immutable caller-owned social media content.";
|
|
12
|
+
}, {
|
|
13
|
+
readonly id: "projects.social.media.list";
|
|
14
|
+
readonly owner: "@ankhorage/projects";
|
|
15
|
+
readonly access: readonly ["read"];
|
|
16
|
+
readonly binding: {
|
|
17
|
+
readonly kind: "action";
|
|
18
|
+
readonly bindableAs: readonly ["target"];
|
|
19
|
+
};
|
|
20
|
+
readonly label: "List social media";
|
|
21
|
+
readonly description: "List immutable social media metadata in the authenticated caller scope.";
|
|
22
|
+
}, {
|
|
23
|
+
readonly id: "projects.social.media.read";
|
|
24
|
+
readonly owner: "@ankhorage/projects";
|
|
25
|
+
readonly access: readonly ["read"];
|
|
26
|
+
readonly binding: {
|
|
27
|
+
readonly kind: "action";
|
|
28
|
+
readonly bindableAs: readonly ["target"];
|
|
29
|
+
};
|
|
30
|
+
readonly label: "Read social media";
|
|
31
|
+
readonly description: "Read one immutable social media metadata record.";
|
|
32
|
+
}, {
|
|
33
|
+
readonly id: "projects.social.media.remove";
|
|
34
|
+
readonly owner: "@ankhorage/projects";
|
|
35
|
+
readonly access: readonly ["write"];
|
|
36
|
+
readonly binding: {
|
|
37
|
+
readonly kind: "action";
|
|
38
|
+
readonly bindableAs: readonly ["target"];
|
|
39
|
+
};
|
|
40
|
+
readonly label: "Remove social media";
|
|
41
|
+
readonly description: "Remove unreferenced immutable social media content.";
|
|
42
|
+
}, {
|
|
43
|
+
readonly id: "projects.social.capabilities.read";
|
|
44
|
+
readonly owner: "@ankhorage/projects";
|
|
45
|
+
readonly access: readonly ["read"];
|
|
46
|
+
readonly binding: {
|
|
47
|
+
readonly kind: "action";
|
|
48
|
+
readonly bindableAs: readonly ["target"];
|
|
49
|
+
};
|
|
50
|
+
readonly label: "Read social capability";
|
|
51
|
+
readonly description: "Read the authenticated destination provider capability.";
|
|
52
|
+
}, {
|
|
53
|
+
readonly id: "projects.social.content.validate";
|
|
54
|
+
readonly owner: "@ankhorage/projects";
|
|
55
|
+
readonly access: readonly ["write"];
|
|
56
|
+
readonly binding: {
|
|
57
|
+
readonly kind: "action";
|
|
58
|
+
readonly bindableAs: readonly ["target"];
|
|
59
|
+
};
|
|
60
|
+
readonly label: "Validate social content";
|
|
61
|
+
readonly description: "Validate an immutable social draft destination against provider constraints.";
|
|
62
|
+
}, {
|
|
63
|
+
readonly id: "projects.social.preview.prepare";
|
|
64
|
+
readonly owner: "@ankhorage/projects";
|
|
65
|
+
readonly access: readonly ["write"];
|
|
66
|
+
readonly binding: {
|
|
67
|
+
readonly kind: "action";
|
|
68
|
+
readonly bindableAs: readonly ["target"];
|
|
69
|
+
};
|
|
70
|
+
readonly label: "Prepare social preview";
|
|
71
|
+
readonly description: "Prepare a validated redaction-safe social publication preview.";
|
|
72
|
+
}, {
|
|
73
|
+
readonly id: "projects.social.analytics.capabilities";
|
|
74
|
+
readonly owner: "@ankhorage/projects";
|
|
75
|
+
readonly access: readonly ["read"];
|
|
76
|
+
readonly binding: {
|
|
77
|
+
readonly kind: "action";
|
|
78
|
+
readonly bindableAs: readonly ["target"];
|
|
79
|
+
};
|
|
80
|
+
readonly label: "Read social analytics capabilities";
|
|
81
|
+
readonly description: "Read provider-native availability for social analytics metrics.";
|
|
82
|
+
}, {
|
|
83
|
+
readonly id: "projects.social.analytics.retrieve";
|
|
84
|
+
readonly owner: "@ankhorage/projects";
|
|
85
|
+
readonly access: readonly ["write"];
|
|
86
|
+
readonly binding: {
|
|
87
|
+
readonly kind: "action";
|
|
88
|
+
readonly bindableAs: readonly ["target"];
|
|
89
|
+
};
|
|
90
|
+
readonly label: "Retrieve social analytics";
|
|
91
|
+
readonly description: "Retrieve provider-native social analytics observations.";
|
|
92
|
+
}];
|