@iblai/iblai-api 4.378.2-core → 4.378.3-core
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/dist/index.cjs.js +86 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +86 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +86 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/PathwayEnrollmentRequest.d.ts +8 -0
- package/dist/types/models/UserProfileSummary.d.ts +22 -0
- package/dist/types/services/CatalogService.d.ts +115 -12
- package/dist/types/services/CoreService.d.ts +20 -0
- package/package.json +1 -1
- package/sdk_schema.yml +258 -2
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -0
- package/src/models/PathwayEnrollmentRequest.ts +8 -0
- package/src/models/UserProfileSummary.ts +27 -0
- package/src/services/CatalogService.ts +154 -1
- package/src/services/CoreService.ts +37 -0
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.378.
|
|
4
|
+
version: 4.378.3-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -6897,9 +6897,12 @@ paths:
|
|
|
6897
6897
|
500 Internal Server Error: If an unexpected error occurs
|
|
6898
6898
|
|
|
6899
6899
|
Access Control:
|
|
6900
|
-
- Requires IsDMAdmin, IsEdxUserReadOnly,
|
|
6900
|
+
- Requires IsDMAdmin, IsEdxUserReadOnly, IsPlatformAdminOfUserReadOnly,
|
|
6901
|
+
or IsWatcherOfUserReadOnly permission
|
|
6901
6902
|
- Users can view their own enrollments
|
|
6902
6903
|
- Platform admins can view enrollments for users in their platform
|
|
6904
|
+
- Watchers can view enrollments for a user they watch, scoped to the
|
|
6905
|
+
queried user and platform
|
|
6903
6906
|
- DM admins can view all enrollments
|
|
6904
6907
|
parameters:
|
|
6905
6908
|
- in: query
|
|
@@ -6925,6 +6928,12 @@ paths:
|
|
|
6925
6928
|
schema:
|
|
6926
6929
|
type: boolean
|
|
6927
6930
|
description: Include enrollments from default platform
|
|
6931
|
+
- in: query
|
|
6932
|
+
name: key
|
|
6933
|
+
schema:
|
|
6934
|
+
type: string
|
|
6935
|
+
minLength: 1
|
|
6936
|
+
description: Alias of platform_key
|
|
6928
6937
|
- in: query
|
|
6929
6938
|
name: org
|
|
6930
6939
|
schema:
|
|
@@ -6947,6 +6956,12 @@ paths:
|
|
|
6947
6956
|
type: string
|
|
6948
6957
|
minLength: 1
|
|
6949
6958
|
description: Filter enrollments by platform key
|
|
6959
|
+
- in: query
|
|
6960
|
+
name: platform_org
|
|
6961
|
+
schema:
|
|
6962
|
+
type: string
|
|
6963
|
+
minLength: 1
|
|
6964
|
+
description: Alias of org
|
|
6950
6965
|
- in: query
|
|
6951
6966
|
name: slug
|
|
6952
6967
|
schema:
|
|
@@ -7006,6 +7021,12 @@ paths:
|
|
|
7006
7021
|
type: boolean
|
|
7007
7022
|
default: true
|
|
7008
7023
|
description: Include metadata in the response
|
|
7024
|
+
- in: query
|
|
7025
|
+
name: key
|
|
7026
|
+
schema:
|
|
7027
|
+
type: string
|
|
7028
|
+
minLength: 1
|
|
7029
|
+
description: Alias of platform_key
|
|
7009
7030
|
- in: query
|
|
7010
7031
|
name: org
|
|
7011
7032
|
schema:
|
|
@@ -7036,6 +7057,12 @@ paths:
|
|
|
7036
7057
|
type: string
|
|
7037
7058
|
minLength: 1
|
|
7038
7059
|
description: Platform key for the pathway
|
|
7060
|
+
- in: query
|
|
7061
|
+
name: platform_org
|
|
7062
|
+
schema:
|
|
7063
|
+
type: string
|
|
7064
|
+
minLength: 1
|
|
7065
|
+
description: Alias of org
|
|
7039
7066
|
- in: query
|
|
7040
7067
|
name: slug
|
|
7041
7068
|
schema:
|
|
@@ -7086,6 +7113,12 @@ paths:
|
|
|
7086
7113
|
type: boolean
|
|
7087
7114
|
default: true
|
|
7088
7115
|
description: Include metadata in the response
|
|
7116
|
+
- in: query
|
|
7117
|
+
name: key
|
|
7118
|
+
schema:
|
|
7119
|
+
type: string
|
|
7120
|
+
minLength: 1
|
|
7121
|
+
description: Alias of platform_key
|
|
7089
7122
|
- in: query
|
|
7090
7123
|
name: org
|
|
7091
7124
|
schema:
|
|
@@ -7116,6 +7149,12 @@ paths:
|
|
|
7116
7149
|
type: string
|
|
7117
7150
|
minLength: 1
|
|
7118
7151
|
description: Platform key for the pathway
|
|
7152
|
+
- in: query
|
|
7153
|
+
name: platform_org
|
|
7154
|
+
schema:
|
|
7155
|
+
type: string
|
|
7156
|
+
minLength: 1
|
|
7157
|
+
description: Alias of org
|
|
7119
7158
|
- in: query
|
|
7120
7159
|
name: slug
|
|
7121
7160
|
schema:
|
|
@@ -7183,6 +7222,12 @@ paths:
|
|
|
7183
7222
|
type: boolean
|
|
7184
7223
|
default: true
|
|
7185
7224
|
description: Include metadata in the response
|
|
7225
|
+
- in: query
|
|
7226
|
+
name: key
|
|
7227
|
+
schema:
|
|
7228
|
+
type: string
|
|
7229
|
+
minLength: 1
|
|
7230
|
+
description: Alias of platform_key
|
|
7186
7231
|
- in: query
|
|
7187
7232
|
name: org
|
|
7188
7233
|
schema:
|
|
@@ -7213,6 +7258,12 @@ paths:
|
|
|
7213
7258
|
type: string
|
|
7214
7259
|
minLength: 1
|
|
7215
7260
|
description: Platform key for the pathway
|
|
7261
|
+
- in: query
|
|
7262
|
+
name: platform_org
|
|
7263
|
+
schema:
|
|
7264
|
+
type: string
|
|
7265
|
+
minLength: 1
|
|
7266
|
+
description: Alias of org
|
|
7216
7267
|
- in: query
|
|
7217
7268
|
name: slug
|
|
7218
7269
|
schema:
|
|
@@ -7437,6 +7488,12 @@ paths:
|
|
|
7437
7488
|
type: boolean
|
|
7438
7489
|
default: true
|
|
7439
7490
|
description: Include metadata in the response
|
|
7491
|
+
- in: query
|
|
7492
|
+
name: key
|
|
7493
|
+
schema:
|
|
7494
|
+
type: string
|
|
7495
|
+
minLength: 1
|
|
7496
|
+
description: Alias of platform_key
|
|
7440
7497
|
- in: query
|
|
7441
7498
|
name: org
|
|
7442
7499
|
schema:
|
|
@@ -7449,6 +7506,12 @@ paths:
|
|
|
7449
7506
|
type: string
|
|
7450
7507
|
minLength: 1
|
|
7451
7508
|
description: Platform key for the program
|
|
7509
|
+
- in: query
|
|
7510
|
+
name: platform_org
|
|
7511
|
+
schema:
|
|
7512
|
+
type: string
|
|
7513
|
+
minLength: 1
|
|
7514
|
+
description: Alias of org
|
|
7452
7515
|
- in: query
|
|
7453
7516
|
name: program_id
|
|
7454
7517
|
schema:
|
|
@@ -7535,6 +7598,12 @@ paths:
|
|
|
7535
7598
|
type: boolean
|
|
7536
7599
|
default: true
|
|
7537
7600
|
description: Include metadata in the response
|
|
7601
|
+
- in: query
|
|
7602
|
+
name: key
|
|
7603
|
+
schema:
|
|
7604
|
+
type: string
|
|
7605
|
+
minLength: 1
|
|
7606
|
+
description: Alias of platform_key
|
|
7538
7607
|
- in: query
|
|
7539
7608
|
name: org
|
|
7540
7609
|
schema:
|
|
@@ -7547,6 +7616,12 @@ paths:
|
|
|
7547
7616
|
type: string
|
|
7548
7617
|
minLength: 1
|
|
7549
7618
|
description: Platform key for the program
|
|
7619
|
+
- in: query
|
|
7620
|
+
name: platform_org
|
|
7621
|
+
schema:
|
|
7622
|
+
type: string
|
|
7623
|
+
minLength: 1
|
|
7624
|
+
description: Alias of org
|
|
7550
7625
|
- in: query
|
|
7551
7626
|
name: program_id
|
|
7552
7627
|
schema:
|
|
@@ -7650,6 +7725,12 @@ paths:
|
|
|
7650
7725
|
type: boolean
|
|
7651
7726
|
default: true
|
|
7652
7727
|
description: Include metadata in the response
|
|
7728
|
+
- in: query
|
|
7729
|
+
name: key
|
|
7730
|
+
schema:
|
|
7731
|
+
type: string
|
|
7732
|
+
minLength: 1
|
|
7733
|
+
description: Alias of platform_key
|
|
7653
7734
|
- in: query
|
|
7654
7735
|
name: org
|
|
7655
7736
|
schema:
|
|
@@ -7662,6 +7743,12 @@ paths:
|
|
|
7662
7743
|
type: string
|
|
7663
7744
|
minLength: 1
|
|
7664
7745
|
description: Platform key for the program
|
|
7746
|
+
- in: query
|
|
7747
|
+
name: platform_org
|
|
7748
|
+
schema:
|
|
7749
|
+
type: string
|
|
7750
|
+
minLength: 1
|
|
7751
|
+
description: Alias of org
|
|
7665
7752
|
- in: query
|
|
7666
7753
|
name: program_id
|
|
7667
7754
|
schema:
|
|
@@ -7726,6 +7813,12 @@ paths:
|
|
|
7726
7813
|
schema:
|
|
7727
7814
|
type: boolean
|
|
7728
7815
|
description: Include enrollments from default platform
|
|
7816
|
+
- in: query
|
|
7817
|
+
name: key
|
|
7818
|
+
schema:
|
|
7819
|
+
type: string
|
|
7820
|
+
minLength: 1
|
|
7821
|
+
description: Alias of platform_key
|
|
7729
7822
|
- in: query
|
|
7730
7823
|
name: org
|
|
7731
7824
|
schema:
|
|
@@ -7748,6 +7841,12 @@ paths:
|
|
|
7748
7841
|
type: string
|
|
7749
7842
|
minLength: 1
|
|
7750
7843
|
description: Filter enrollments by platform key
|
|
7844
|
+
- in: query
|
|
7845
|
+
name: platform_org
|
|
7846
|
+
schema:
|
|
7847
|
+
type: string
|
|
7848
|
+
minLength: 1
|
|
7849
|
+
description: Alias of org
|
|
7751
7850
|
- in: query
|
|
7752
7851
|
name: program_id
|
|
7753
7852
|
schema:
|
|
@@ -13314,12 +13413,24 @@ paths:
|
|
|
13314
13413
|
type: string
|
|
13315
13414
|
minLength: 1
|
|
13316
13415
|
description: Item ID associated with the pathway
|
|
13416
|
+
- in: query
|
|
13417
|
+
name: key
|
|
13418
|
+
schema:
|
|
13419
|
+
type: string
|
|
13420
|
+
minLength: 1
|
|
13421
|
+
description: Alias of platform_key
|
|
13317
13422
|
- in: query
|
|
13318
13423
|
name: name
|
|
13319
13424
|
schema:
|
|
13320
13425
|
type: string
|
|
13321
13426
|
minLength: 1
|
|
13322
13427
|
description: Pathway name
|
|
13428
|
+
- in: query
|
|
13429
|
+
name: org
|
|
13430
|
+
schema:
|
|
13431
|
+
type: string
|
|
13432
|
+
minLength: 1
|
|
13433
|
+
description: Platform organization
|
|
13323
13434
|
- in: query
|
|
13324
13435
|
name: pathway_id
|
|
13325
13436
|
schema:
|
|
@@ -13338,6 +13449,12 @@ paths:
|
|
|
13338
13449
|
type: string
|
|
13339
13450
|
minLength: 1
|
|
13340
13451
|
description: Platform key
|
|
13452
|
+
- in: query
|
|
13453
|
+
name: platform_org
|
|
13454
|
+
schema:
|
|
13455
|
+
type: string
|
|
13456
|
+
minLength: 1
|
|
13457
|
+
description: Alias of org
|
|
13341
13458
|
- in: query
|
|
13342
13459
|
name: slug
|
|
13343
13460
|
schema:
|
|
@@ -13383,12 +13500,24 @@ paths:
|
|
|
13383
13500
|
type: string
|
|
13384
13501
|
minLength: 1
|
|
13385
13502
|
description: Item ID associated with the pathway
|
|
13503
|
+
- in: query
|
|
13504
|
+
name: key
|
|
13505
|
+
schema:
|
|
13506
|
+
type: string
|
|
13507
|
+
minLength: 1
|
|
13508
|
+
description: Alias of platform_key
|
|
13386
13509
|
- in: query
|
|
13387
13510
|
name: name
|
|
13388
13511
|
schema:
|
|
13389
13512
|
type: string
|
|
13390
13513
|
minLength: 1
|
|
13391
13514
|
description: Pathway name
|
|
13515
|
+
- in: query
|
|
13516
|
+
name: org
|
|
13517
|
+
schema:
|
|
13518
|
+
type: string
|
|
13519
|
+
minLength: 1
|
|
13520
|
+
description: Platform organization
|
|
13392
13521
|
- in: query
|
|
13393
13522
|
name: pathway_id
|
|
13394
13523
|
schema:
|
|
@@ -13407,6 +13536,12 @@ paths:
|
|
|
13407
13536
|
type: string
|
|
13408
13537
|
minLength: 1
|
|
13409
13538
|
description: Platform key
|
|
13539
|
+
- in: query
|
|
13540
|
+
name: platform_org
|
|
13541
|
+
schema:
|
|
13542
|
+
type: string
|
|
13543
|
+
minLength: 1
|
|
13544
|
+
description: Alias of org
|
|
13410
13545
|
- in: query
|
|
13411
13546
|
name: slug
|
|
13412
13547
|
schema:
|
|
@@ -13476,12 +13611,24 @@ paths:
|
|
|
13476
13611
|
type: string
|
|
13477
13612
|
minLength: 1
|
|
13478
13613
|
description: Item ID associated with the pathway
|
|
13614
|
+
- in: query
|
|
13615
|
+
name: key
|
|
13616
|
+
schema:
|
|
13617
|
+
type: string
|
|
13618
|
+
minLength: 1
|
|
13619
|
+
description: Alias of platform_key
|
|
13479
13620
|
- in: query
|
|
13480
13621
|
name: name
|
|
13481
13622
|
schema:
|
|
13482
13623
|
type: string
|
|
13483
13624
|
minLength: 1
|
|
13484
13625
|
description: Pathway name
|
|
13626
|
+
- in: query
|
|
13627
|
+
name: org
|
|
13628
|
+
schema:
|
|
13629
|
+
type: string
|
|
13630
|
+
minLength: 1
|
|
13631
|
+
description: Platform organization
|
|
13485
13632
|
- in: query
|
|
13486
13633
|
name: pathway_id
|
|
13487
13634
|
schema:
|
|
@@ -13501,6 +13648,12 @@ paths:
|
|
|
13501
13648
|
type: string
|
|
13502
13649
|
minLength: 1
|
|
13503
13650
|
description: Platform key
|
|
13651
|
+
- in: query
|
|
13652
|
+
name: platform_org
|
|
13653
|
+
schema:
|
|
13654
|
+
type: string
|
|
13655
|
+
minLength: 1
|
|
13656
|
+
description: Alias of org
|
|
13504
13657
|
- in: query
|
|
13505
13658
|
name: slug
|
|
13506
13659
|
schema:
|
|
@@ -24058,6 +24211,52 @@ paths:
|
|
|
24058
24211
|
schema:
|
|
24059
24212
|
$ref: '#/components/schemas/UserPlatformSelfLinkForbidden'
|
|
24060
24213
|
description: ''
|
|
24214
|
+
/api/core/users/profile/summary/:
|
|
24215
|
+
get:
|
|
24216
|
+
operationId: core_users_profile_summary_retrieve
|
|
24217
|
+
description: |-
|
|
24218
|
+
Read a user's profile fields, for a viewer authorized to see them.
|
|
24219
|
+
|
|
24220
|
+
This is not a public endpoint: access is controlled by the permission set
|
|
24221
|
+
(the user themselves, a platform admin over them, a DM admin, or a watcher
|
|
24222
|
+
of the user). It returns only the allowlist (see
|
|
24223
|
+
UserProfileSummarySerializer): profile-card fields plus email, and no other
|
|
24224
|
+
account PII. It does not reach edX. Profile
|
|
24225
|
+
metadata is a single global record per user, so no platform scopes the
|
|
24226
|
+
returned fields; the platform is used only to resolve the watcher
|
|
24227
|
+
relationship. Read only.
|
|
24228
|
+
parameters:
|
|
24229
|
+
- in: query
|
|
24230
|
+
name: email
|
|
24231
|
+
schema:
|
|
24232
|
+
type: string
|
|
24233
|
+
format: email
|
|
24234
|
+
minLength: 1
|
|
24235
|
+
- in: query
|
|
24236
|
+
name: platform_key
|
|
24237
|
+
schema:
|
|
24238
|
+
type: string
|
|
24239
|
+
minLength: 1
|
|
24240
|
+
- in: query
|
|
24241
|
+
name: user_id
|
|
24242
|
+
schema:
|
|
24243
|
+
type: integer
|
|
24244
|
+
- in: query
|
|
24245
|
+
name: username
|
|
24246
|
+
schema:
|
|
24247
|
+
type: string
|
|
24248
|
+
minLength: 1
|
|
24249
|
+
tags:
|
|
24250
|
+
- core
|
|
24251
|
+
security:
|
|
24252
|
+
- PlatformApiKeyAuthentication: []
|
|
24253
|
+
responses:
|
|
24254
|
+
'200':
|
|
24255
|
+
content:
|
|
24256
|
+
application/json:
|
|
24257
|
+
schema:
|
|
24258
|
+
$ref: '#/components/schemas/UserProfileSummary'
|
|
24259
|
+
description: ''
|
|
24061
24260
|
/api/core/users/proxy/:
|
|
24062
24261
|
get:
|
|
24063
24262
|
operationId: core_users_proxy_retrieve
|
|
@@ -53743,6 +53942,12 @@ components:
|
|
|
53743
53942
|
platform_key:
|
|
53744
53943
|
type: string
|
|
53745
53944
|
description: Platform key for the pathway
|
|
53945
|
+
key:
|
|
53946
|
+
type: string
|
|
53947
|
+
description: Alias of platform_key
|
|
53948
|
+
platform_org:
|
|
53949
|
+
type: string
|
|
53950
|
+
description: Alias of org
|
|
53746
53951
|
include_default_platform:
|
|
53747
53952
|
type: boolean
|
|
53748
53953
|
description: Include enrollments from default platform
|
|
@@ -63088,6 +63293,57 @@ components:
|
|
|
63088
63293
|
description: List of policies for the user
|
|
63089
63294
|
required:
|
|
63090
63295
|
- user_id
|
|
63296
|
+
UserProfileSummary:
|
|
63297
|
+
type: object
|
|
63298
|
+
description: |-
|
|
63299
|
+
Profile-card fields returned to a viewer authorized to see a user.
|
|
63300
|
+
|
|
63301
|
+
Explicit allowlist. It carries the fields the profile preview needs plus
|
|
63302
|
+
`email`, which the current metadata endpoint already returns for authorized
|
|
63303
|
+
callers (parity for that field). It does not carry the other account fields
|
|
63304
|
+
the full metadata endpoint holds (phone, mailing address, demographics) or
|
|
63305
|
+
private keys from the DM data bag. This describes the field set, not the
|
|
63306
|
+
access level: who may read it is decided by the view's permissions, not by
|
|
63307
|
+
any of these fields being "public".
|
|
63308
|
+
properties:
|
|
63309
|
+
username:
|
|
63310
|
+
type: string
|
|
63311
|
+
readOnly: true
|
|
63312
|
+
email:
|
|
63313
|
+
type: string
|
|
63314
|
+
format: email
|
|
63315
|
+
readOnly: true
|
|
63316
|
+
name:
|
|
63317
|
+
type: string
|
|
63318
|
+
readOnly: true
|
|
63319
|
+
date_joined:
|
|
63320
|
+
type: string
|
|
63321
|
+
readOnly: true
|
|
63322
|
+
profile_image:
|
|
63323
|
+
type: string
|
|
63324
|
+
readOnly: true
|
|
63325
|
+
bio:
|
|
63326
|
+
type: string
|
|
63327
|
+
readOnly: true
|
|
63328
|
+
about:
|
|
63329
|
+
type: string
|
|
63330
|
+
readOnly: true
|
|
63331
|
+
social_links:
|
|
63332
|
+
type: string
|
|
63333
|
+
readOnly: true
|
|
63334
|
+
public_metadata:
|
|
63335
|
+
type: string
|
|
63336
|
+
readOnly: true
|
|
63337
|
+
required:
|
|
63338
|
+
- about
|
|
63339
|
+
- bio
|
|
63340
|
+
- date_joined
|
|
63341
|
+
- email
|
|
63342
|
+
- name
|
|
63343
|
+
- profile_image
|
|
63344
|
+
- public_metadata
|
|
63345
|
+
- social_links
|
|
63346
|
+
- username
|
|
63091
63347
|
UserProxyBulkRequest:
|
|
63092
63348
|
type: object
|
|
63093
63349
|
properties:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -624,6 +624,7 @@ export type { UserPolicyUpdate } from './models/UserPolicyUpdate';
|
|
|
624
624
|
export type { UserPolicyUpdateError } from './models/UserPolicyUpdateError';
|
|
625
625
|
export type { UserPolicyUpdateForbidden } from './models/UserPolicyUpdateForbidden';
|
|
626
626
|
export type { UserPolicyUpdateResponse } from './models/UserPolicyUpdateResponse';
|
|
627
|
+
export type { UserProfileSummary } from './models/UserProfileSummary';
|
|
627
628
|
export type { UserProxyBulkRequest } from './models/UserProxyBulkRequest';
|
|
628
629
|
export type { UserProxyGetResponse } from './models/UserProxyGetResponse';
|
|
629
630
|
export type { UserProxyPostRequest } from './models/UserProxyPostRequest';
|
|
@@ -38,6 +38,14 @@ export type PathwayEnrollmentRequest = {
|
|
|
38
38
|
* Platform key for the pathway
|
|
39
39
|
*/
|
|
40
40
|
platform_key?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Alias of platform_key
|
|
43
|
+
*/
|
|
44
|
+
key?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Alias of org
|
|
47
|
+
*/
|
|
48
|
+
platform_org?: string;
|
|
41
49
|
/**
|
|
42
50
|
* Include enrollments from default platform
|
|
43
51
|
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Profile-card fields returned to a viewer authorized to see a user.
|
|
7
|
+
*
|
|
8
|
+
* Explicit allowlist. It carries the fields the profile preview needs plus
|
|
9
|
+
* `email`, which the current metadata endpoint already returns for authorized
|
|
10
|
+
* callers (parity for that field). It does not carry the other account fields
|
|
11
|
+
* the full metadata endpoint holds (phone, mailing address, demographics) or
|
|
12
|
+
* private keys from the DM data bag. This describes the field set, not the
|
|
13
|
+
* access level: who may read it is decided by the view's permissions, not by
|
|
14
|
+
* any of these fields being "public".
|
|
15
|
+
*/
|
|
16
|
+
export type UserProfileSummary = {
|
|
17
|
+
readonly username: string;
|
|
18
|
+
readonly email: string;
|
|
19
|
+
readonly name: string;
|
|
20
|
+
readonly date_joined: string;
|
|
21
|
+
readonly profile_image: string;
|
|
22
|
+
readonly bio: string;
|
|
23
|
+
readonly about: string;
|
|
24
|
+
readonly social_links: string;
|
|
25
|
+
readonly public_metadata: string;
|
|
26
|
+
};
|
|
27
|
+
|