@supernova-studio/model 0.16.0 → 0.18.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/dist/index.mjs CHANGED
@@ -983,7 +983,12 @@ var PageBlockItemDividerValue = z34.object({});
983
983
  var PageBlockItemEmbedValue = z34.object({
984
984
  value: z34.string().optional(),
985
985
  caption: z34.string().optional(),
986
- height: z34.number().optional()
986
+ height: z34.number().optional(),
987
+ openGraph: z34.object({
988
+ title: z34.string().optional(),
989
+ description: z34.string().optional(),
990
+ imageUrl: z34.string().optional()
991
+ }).optional()
987
992
  });
988
993
  var PageBlockItemFigmaNodeValue = z34.object({
989
994
  selectedPropertyIds: z34.array(z34.string()).optional(),
@@ -2971,14 +2976,31 @@ var DesignSystemVersionRoom = Entity.extend({
2971
2976
  designSystemVersionId: z119.string(),
2972
2977
  liveblocksId: z119.string()
2973
2978
  });
2979
+ var DesignSystemVersionRoomInitialState = z119.object({
2980
+ pages: z119.array(DocumentationPageV2),
2981
+ groups: z119.array(ElementGroup)
2982
+ });
2983
+ var DesignSystemVersionRoomUpdate = DesignSystemVersionRoomInitialState.extend({
2984
+ deletedPageIds: z119.array(z119.string()),
2985
+ deletedGroupIds: z119.array(z119.string())
2986
+ });
2974
2987
 
2975
2988
  // src/multiplayer/documentation-page-room.ts
2976
2989
  import { z as z120 } from "zod";
2990
+ import { PageBlockEditorModel } from "@supernova-studio/client";
2977
2991
  var DocumentationPageRoom = Entity.extend({
2978
2992
  designSystemVersionId: z120.string(),
2979
2993
  documentationPageId: z120.string(),
2980
2994
  liveblocksId: z120.string()
2981
2995
  });
2996
+ var DocumentationPageRoomRoomUpdate = z120.object({
2997
+ page: DocumentationPageV2,
2998
+ pageParent: ElementGroup
2999
+ });
3000
+ var DocumentationPageRoomInitialState = DocumentationPageRoomRoomUpdate.extend({
3001
+ pageBlocks: z120.array(PageBlockEditorModel),
3002
+ blockDefinitions: z120.array(PageBlockDefinition)
3003
+ });
2982
3004
 
2983
3005
  // src/multiplayer/room-type.ts
2984
3006
  import { z as z121 } from "zod";
@@ -3035,6 +3057,131 @@ var PersonalAccessToken = z124.object({
3035
3057
  scope: z124.string().optional()
3036
3058
  });
3037
3059
 
3060
+ // src/utils/errors.ts
3061
+ var SupernovaException = class _SupernovaException extends Error {
3062
+ //
3063
+ // Properties
3064
+ //
3065
+ constructor(type, message) {
3066
+ super(`${type}: ${message}`);
3067
+ this.type = type;
3068
+ }
3069
+ static wrongFormat(message) {
3070
+ return new _SupernovaException("WrongFormat", message);
3071
+ }
3072
+ static accessDenied(message) {
3073
+ return new _SupernovaException("AccessDenied", message);
3074
+ }
3075
+ static notFound(message) {
3076
+ return new _SupernovaException("ResourceNotFound", message);
3077
+ }
3078
+ static timeout(message) {
3079
+ return new _SupernovaException("Timeout", message);
3080
+ }
3081
+ static conflict(message) {
3082
+ return new _SupernovaException("Conflict", message);
3083
+ }
3084
+ static notImplemented(message) {
3085
+ return new _SupernovaException("NotImplemented", message);
3086
+ }
3087
+ static wrongActionOrder(message) {
3088
+ return new _SupernovaException("WrongActionOrder", message);
3089
+ }
3090
+ static invalidOperation(message) {
3091
+ return new _SupernovaException("InvalidOperation", message);
3092
+ }
3093
+ static shouldNotHappen(message) {
3094
+ return new _SupernovaException("UnexpectedError", message);
3095
+ }
3096
+ static ipRestricted(message) {
3097
+ return new _SupernovaException("IPRestricted", message);
3098
+ }
3099
+ static planRestricted(message) {
3100
+ return new _SupernovaException("PlanRestricted", message);
3101
+ }
3102
+ static missingWorkspacePermission(message) {
3103
+ return new _SupernovaException("MissingWorkspacePermission", message);
3104
+ }
3105
+ static missingExporterPermission(message) {
3106
+ return new _SupernovaException("MissingExporterPermission", message);
3107
+ }
3108
+ static missingIntegration(message) {
3109
+ return new _SupernovaException("AccessDenied", message);
3110
+ }
3111
+ static noAccess(message) {
3112
+ return new _SupernovaException("NoAccess", message);
3113
+ }
3114
+ //
3115
+ // To refactor
3116
+ //
3117
+ static badRequest(message) {
3118
+ return new _SupernovaException("BadRequest", message);
3119
+ }
3120
+ };
3121
+
3122
+ // src/utils/common.ts
3123
+ function forceUnwrapNullish(value) {
3124
+ if (value === null)
3125
+ throw new Error("Illegal null");
3126
+ if (value === void 0)
3127
+ throw new Error("Illegal undefined");
3128
+ return value;
3129
+ }
3130
+ function trimLeadingSlash(string) {
3131
+ return string.startsWith("/") ? string.substring(1) : string;
3132
+ }
3133
+ function trimTrailingSlash(string) {
3134
+ return string.endsWith("/") ? string.substring(0, string.length - 1) : string;
3135
+ }
3136
+ function parseUrl(url) {
3137
+ return new URL(url.startsWith("https://") || url.startsWith("http://") ? url : `https://${url}`);
3138
+ }
3139
+ function mapByUnique(items, keyFn) {
3140
+ const result = /* @__PURE__ */ new Map();
3141
+ for (const item of items) {
3142
+ result.set(keyFn(item), item);
3143
+ }
3144
+ return result;
3145
+ }
3146
+ function groupBy(items, keyFn) {
3147
+ const result = /* @__PURE__ */ new Map();
3148
+ for (const item of items) {
3149
+ const key = keyFn(item);
3150
+ const array = result.get(key);
3151
+ if (array) {
3152
+ array.push(item);
3153
+ } else {
3154
+ result.set(key, [item]);
3155
+ }
3156
+ }
3157
+ return result;
3158
+ }
3159
+ function filterNonNullish(items) {
3160
+ return items.filter(Boolean);
3161
+ }
3162
+ function nonNullishFilter(item) {
3163
+ return !!item;
3164
+ }
3165
+ function nonNullFilter(item) {
3166
+ return item !== null;
3167
+ }
3168
+ function buildConstantEnum(values) {
3169
+ const constMap = values.reduce((acc, code) => ({ ...acc, [code]: code }), {});
3170
+ return constMap;
3171
+ }
3172
+ async function promiseWithTimeout(timeoutMs, promise) {
3173
+ let timeoutHandle;
3174
+ const timeoutPromise = new Promise((_, reject) => {
3175
+ timeoutHandle = setTimeout(() => reject(SupernovaException.timeout()), timeoutMs);
3176
+ });
3177
+ const result = await Promise.race([promise(), timeoutPromise]);
3178
+ clearTimeout(timeoutHandle);
3179
+ return result;
3180
+ }
3181
+ async function sleep(ms) {
3182
+ return new Promise((resolve) => setTimeout(resolve, ms));
3183
+ }
3184
+
3038
3185
  // src/utils/content-loader-instruction.ts
3039
3186
  import { z as z125 } from "zod";
3040
3187
  var ContentLoadInstruction = z125.object({
@@ -3058,6 +3205,638 @@ var ContentLoaderPayload = z125.object({
3058
3205
  location: z125.string()
3059
3206
  })
3060
3207
  );
3208
+
3209
+ // src/utils/slugify.ts
3210
+ import slugifyImplementation from "@sindresorhus/slugify";
3211
+ function slugify(str, options) {
3212
+ const slug = slugifyImplementation(str ?? "", options);
3213
+ return slug?.length > 0 ? slug : "item";
3214
+ }
3215
+ var RESERVED_SLUGS = [
3216
+ "workspaces",
3217
+ "workspace",
3218
+ "api0",
3219
+ "api1",
3220
+ "api2",
3221
+ "custom",
3222
+ "x-sn-reserved",
3223
+ // further elements copied from https://github.com/shouldbee/reserved-usernames/blob/master/reserved-usernames.json
3224
+ "0",
3225
+ "about",
3226
+ "access",
3227
+ "account",
3228
+ "accounts",
3229
+ "activate",
3230
+ "activities",
3231
+ "activity",
3232
+ "ad",
3233
+ "add",
3234
+ "address",
3235
+ "adm",
3236
+ "admin",
3237
+ "administration",
3238
+ "administrator",
3239
+ "ads",
3240
+ "adult",
3241
+ "advertising",
3242
+ "affiliate",
3243
+ "affiliates",
3244
+ "ajax",
3245
+ "all",
3246
+ "alpha",
3247
+ "analysis",
3248
+ "analytics",
3249
+ "android",
3250
+ "anon",
3251
+ "anonymous",
3252
+ "api",
3253
+ "app",
3254
+ "apps",
3255
+ "archive",
3256
+ "archives",
3257
+ "article",
3258
+ "asct",
3259
+ "asset",
3260
+ "assets",
3261
+ "atom",
3262
+ "auth",
3263
+ "authentication",
3264
+ "avatar",
3265
+ "backup",
3266
+ "balancer-manager",
3267
+ "banner",
3268
+ "banners",
3269
+ "beta",
3270
+ "billing",
3271
+ "bin",
3272
+ "blog",
3273
+ "blogs",
3274
+ "board",
3275
+ "book",
3276
+ "bookmark",
3277
+ "bot",
3278
+ "bots",
3279
+ "bug",
3280
+ "business",
3281
+ "cache",
3282
+ "cadastro",
3283
+ "calendar",
3284
+ "call",
3285
+ "campaign",
3286
+ "cancel",
3287
+ "captcha",
3288
+ "career",
3289
+ "careers",
3290
+ "cart",
3291
+ "categories",
3292
+ "category",
3293
+ "cgi",
3294
+ "cgi-bin",
3295
+ "changelog",
3296
+ "chat",
3297
+ "check",
3298
+ "checking",
3299
+ "checkout",
3300
+ "client",
3301
+ "cliente",
3302
+ "clients",
3303
+ "code",
3304
+ "codereview",
3305
+ "comercial",
3306
+ "comment",
3307
+ "comments",
3308
+ "communities",
3309
+ "community",
3310
+ "company",
3311
+ "compare",
3312
+ "compras",
3313
+ "config",
3314
+ "configuration",
3315
+ "connect",
3316
+ "contact",
3317
+ "contact-us",
3318
+ "contact_us",
3319
+ "contactus",
3320
+ "contest",
3321
+ "contribute",
3322
+ "corp",
3323
+ "create",
3324
+ "css",
3325
+ "dashboard",
3326
+ "data",
3327
+ "db",
3328
+ "default",
3329
+ "delete",
3330
+ "demo",
3331
+ "design",
3332
+ "designer",
3333
+ "destroy",
3334
+ "dev",
3335
+ "devel",
3336
+ "developer",
3337
+ "developers",
3338
+ "diagram",
3339
+ "diary",
3340
+ "dict",
3341
+ "dictionary",
3342
+ "die",
3343
+ "dir",
3344
+ "direct_messages",
3345
+ "directory",
3346
+ "dist",
3347
+ "doc",
3348
+ "docs",
3349
+ "documentation",
3350
+ "domain",
3351
+ "download",
3352
+ "downloads",
3353
+ "ecommerce",
3354
+ "edit",
3355
+ "editor",
3356
+ "edu",
3357
+ "education",
3358
+ "email",
3359
+ "employment",
3360
+ "empty",
3361
+ "end",
3362
+ "enterprise",
3363
+ "entries",
3364
+ "entry",
3365
+ "error",
3366
+ "errors",
3367
+ "eval",
3368
+ "event",
3369
+ "exit",
3370
+ "explore",
3371
+ "facebook",
3372
+ "faq",
3373
+ "favorite",
3374
+ "favorites",
3375
+ "feature",
3376
+ "features",
3377
+ "feed",
3378
+ "feedback",
3379
+ "feeds",
3380
+ "file",
3381
+ "files",
3382
+ "first",
3383
+ "flash",
3384
+ "fleet",
3385
+ "fleets",
3386
+ "flog",
3387
+ "follow",
3388
+ "followers",
3389
+ "following",
3390
+ "forgot",
3391
+ "form",
3392
+ "forum",
3393
+ "forums",
3394
+ "founder",
3395
+ "free",
3396
+ "friend",
3397
+ "friends",
3398
+ "ftp",
3399
+ "gadget",
3400
+ "gadgets",
3401
+ "game",
3402
+ "games",
3403
+ "get",
3404
+ "ghost",
3405
+ "gift",
3406
+ "gifts",
3407
+ "gist",
3408
+ "github",
3409
+ "graph",
3410
+ "group",
3411
+ "groups",
3412
+ "guest",
3413
+ "guests",
3414
+ "help",
3415
+ "home",
3416
+ "homepage",
3417
+ "host",
3418
+ "hosting",
3419
+ "hostmaster",
3420
+ "hostname",
3421
+ "howto",
3422
+ "hpg",
3423
+ "html",
3424
+ "http",
3425
+ "httpd",
3426
+ "https",
3427
+ "i",
3428
+ "iamges",
3429
+ "icon",
3430
+ "icons",
3431
+ "id",
3432
+ "idea",
3433
+ "ideas",
3434
+ "image",
3435
+ "images",
3436
+ "imap",
3437
+ "img",
3438
+ "index",
3439
+ "indice",
3440
+ "info",
3441
+ "information",
3442
+ "inquiry",
3443
+ "instagram",
3444
+ "intranet",
3445
+ "invitations",
3446
+ "invite",
3447
+ "ipad",
3448
+ "iphone",
3449
+ "irc",
3450
+ "is",
3451
+ "issue",
3452
+ "issues",
3453
+ "it",
3454
+ "item",
3455
+ "items",
3456
+ "java",
3457
+ "javascript",
3458
+ "job",
3459
+ "jobs",
3460
+ "join",
3461
+ "js",
3462
+ "json",
3463
+ "jump",
3464
+ "knowledgebase",
3465
+ "language",
3466
+ "languages",
3467
+ "last",
3468
+ "ldap-status",
3469
+ "legal",
3470
+ "license",
3471
+ "link",
3472
+ "links",
3473
+ "linux",
3474
+ "list",
3475
+ "lists",
3476
+ "log",
3477
+ "log-in",
3478
+ "log-out",
3479
+ "log_in",
3480
+ "log_out",
3481
+ "login",
3482
+ "logout",
3483
+ "logs",
3484
+ "m",
3485
+ "mac",
3486
+ "mail",
3487
+ "mail1",
3488
+ "mail2",
3489
+ "mail3",
3490
+ "mail4",
3491
+ "mail5",
3492
+ "mailer",
3493
+ "mailing",
3494
+ "maintenance",
3495
+ "manager",
3496
+ "manual",
3497
+ "map",
3498
+ "maps",
3499
+ "marketing",
3500
+ "master",
3501
+ "me",
3502
+ "media",
3503
+ "member",
3504
+ "members",
3505
+ "message",
3506
+ "messages",
3507
+ "messenger",
3508
+ "microblog",
3509
+ "microblogs",
3510
+ "mine",
3511
+ "mis",
3512
+ "mob",
3513
+ "mobile",
3514
+ "movie",
3515
+ "movies",
3516
+ "mp3",
3517
+ "msg",
3518
+ "msn",
3519
+ "music",
3520
+ "musicas",
3521
+ "mx",
3522
+ "my",
3523
+ "mysql",
3524
+ "name",
3525
+ "named",
3526
+ "nan",
3527
+ "navi",
3528
+ "navigation",
3529
+ "net",
3530
+ "network",
3531
+ "new",
3532
+ "news",
3533
+ "newsletter",
3534
+ "nick",
3535
+ "nickname",
3536
+ "notes",
3537
+ "noticias",
3538
+ "notification",
3539
+ "notifications",
3540
+ "notify",
3541
+ "ns",
3542
+ "ns1",
3543
+ "ns10",
3544
+ "ns2",
3545
+ "ns3",
3546
+ "ns4",
3547
+ "ns5",
3548
+ "ns6",
3549
+ "ns7",
3550
+ "ns8",
3551
+ "ns9",
3552
+ "null",
3553
+ "oauth",
3554
+ "oauth_clients",
3555
+ "offer",
3556
+ "offers",
3557
+ "official",
3558
+ "old",
3559
+ "online",
3560
+ "openid",
3561
+ "operator",
3562
+ "order",
3563
+ "orders",
3564
+ "organization",
3565
+ "organizations",
3566
+ "overview",
3567
+ "owner",
3568
+ "owners",
3569
+ "page",
3570
+ "pager",
3571
+ "pages",
3572
+ "panel",
3573
+ "password",
3574
+ "payment",
3575
+ "perl",
3576
+ "phone",
3577
+ "photo",
3578
+ "photoalbum",
3579
+ "photos",
3580
+ "php",
3581
+ "phpmyadmin",
3582
+ "phppgadmin",
3583
+ "phpredisadmin",
3584
+ "pic",
3585
+ "pics",
3586
+ "ping",
3587
+ "plan",
3588
+ "plans",
3589
+ "plugin",
3590
+ "plugins",
3591
+ "policy",
3592
+ "pop",
3593
+ "pop3",
3594
+ "popular",
3595
+ "portal",
3596
+ "post",
3597
+ "postfix",
3598
+ "postmaster",
3599
+ "posts",
3600
+ "pr",
3601
+ "premium",
3602
+ "press",
3603
+ "price",
3604
+ "pricing",
3605
+ "privacy",
3606
+ "privacy-policy",
3607
+ "privacy_policy",
3608
+ "privacypolicy",
3609
+ "private",
3610
+ "product",
3611
+ "products",
3612
+ "profile",
3613
+ "project",
3614
+ "projects",
3615
+ "promo",
3616
+ "pub",
3617
+ "public",
3618
+ "purpose",
3619
+ "put",
3620
+ "python",
3621
+ "query",
3622
+ "random",
3623
+ "ranking",
3624
+ "read",
3625
+ "readme",
3626
+ "recent",
3627
+ "recruit",
3628
+ "recruitment",
3629
+ "register",
3630
+ "registration",
3631
+ "release",
3632
+ "remove",
3633
+ "replies",
3634
+ "report",
3635
+ "reports",
3636
+ "repositories",
3637
+ "repository",
3638
+ "req",
3639
+ "request",
3640
+ "requests",
3641
+ "reset",
3642
+ "roc",
3643
+ "root",
3644
+ "rss",
3645
+ "ruby",
3646
+ "rule",
3647
+ "sag",
3648
+ "sale",
3649
+ "sales",
3650
+ "sample",
3651
+ "samples",
3652
+ "save",
3653
+ "school",
3654
+ "script",
3655
+ "scripts",
3656
+ "search",
3657
+ "secure",
3658
+ "security",
3659
+ "self",
3660
+ "send",
3661
+ "server",
3662
+ "server-info",
3663
+ "server-status",
3664
+ "service",
3665
+ "services",
3666
+ "session",
3667
+ "sessions",
3668
+ "setting",
3669
+ "settings",
3670
+ "setup",
3671
+ "share",
3672
+ "shop",
3673
+ "show",
3674
+ "sign-in",
3675
+ "sign-up",
3676
+ "sign_in",
3677
+ "sign_up",
3678
+ "signin",
3679
+ "signout",
3680
+ "signup",
3681
+ "site",
3682
+ "sitemap",
3683
+ "sites",
3684
+ "smartphone",
3685
+ "smtp",
3686
+ "soporte",
3687
+ "source",
3688
+ "spec",
3689
+ "special",
3690
+ "sql",
3691
+ "src",
3692
+ "ssh",
3693
+ "ssl",
3694
+ "ssladmin",
3695
+ "ssladministrator",
3696
+ "sslwebmaster",
3697
+ "staff",
3698
+ "stage",
3699
+ "staging",
3700
+ "start",
3701
+ "stat",
3702
+ "state",
3703
+ "static",
3704
+ "stats",
3705
+ "status",
3706
+ "store",
3707
+ "stores",
3708
+ "stories",
3709
+ "style",
3710
+ "styleguide",
3711
+ "stylesheet",
3712
+ "stylesheets",
3713
+ "subdomain",
3714
+ "subscribe",
3715
+ "subscriptions",
3716
+ "suporte",
3717
+ "support",
3718
+ "svn",
3719
+ "swf",
3720
+ "sys",
3721
+ "sysadmin",
3722
+ "sysadministrator",
3723
+ "system",
3724
+ "tablet",
3725
+ "tablets",
3726
+ "tag",
3727
+ "talk",
3728
+ "task",
3729
+ "tasks",
3730
+ "team",
3731
+ "teams",
3732
+ "tech",
3733
+ "telnet",
3734
+ "term",
3735
+ "terms",
3736
+ "terms-of-service",
3737
+ "terms_of_service",
3738
+ "termsofservice",
3739
+ "test",
3740
+ "test1",
3741
+ "test2",
3742
+ "test3",
3743
+ "teste",
3744
+ "testing",
3745
+ "tests",
3746
+ "theme",
3747
+ "themes",
3748
+ "thread",
3749
+ "threads",
3750
+ "tmp",
3751
+ "todo",
3752
+ "tool",
3753
+ "tools",
3754
+ "top",
3755
+ "topic",
3756
+ "topics",
3757
+ "tos",
3758
+ "tour",
3759
+ "translations",
3760
+ "trends",
3761
+ "tutorial",
3762
+ "tux",
3763
+ "tv",
3764
+ "twitter",
3765
+ "undef",
3766
+ "unfollow",
3767
+ "unsubscribe",
3768
+ "update",
3769
+ "upload",
3770
+ "uploads",
3771
+ "url",
3772
+ "usage",
3773
+ "user",
3774
+ "username",
3775
+ "users",
3776
+ "usuario",
3777
+ "vendas",
3778
+ "ver",
3779
+ "version",
3780
+ "video",
3781
+ "videos",
3782
+ "visitor",
3783
+ "watch",
3784
+ "weather",
3785
+ "web",
3786
+ "webhook",
3787
+ "webhooks",
3788
+ "webmail",
3789
+ "webmaster",
3790
+ "website",
3791
+ "websites",
3792
+ "welcome",
3793
+ "widget",
3794
+ "widgets",
3795
+ "wiki",
3796
+ "win",
3797
+ "windows",
3798
+ "word",
3799
+ "work",
3800
+ "works",
3801
+ "workshop",
3802
+ "ww",
3803
+ "wws",
3804
+ "www",
3805
+ "www1",
3806
+ "www2",
3807
+ "www3",
3808
+ "www4",
3809
+ "www5",
3810
+ "www6",
3811
+ "www7",
3812
+ "wwws",
3813
+ "wwww",
3814
+ "xfn",
3815
+ "xml",
3816
+ "xmpp",
3817
+ "xpg",
3818
+ "xxx",
3819
+ "yaml",
3820
+ "year",
3821
+ "yml",
3822
+ "you",
3823
+ "yourdomain",
3824
+ "yourname",
3825
+ "yoursite",
3826
+ "yourusername",
3827
+ "latest",
3828
+ "live",
3829
+ "preview",
3830
+ "learn",
3831
+ "supernova",
3832
+ "super-nova"
3833
+ ];
3834
+ var RESERVED_SLUGS_SET = new Set(RESERVED_SLUGS);
3835
+ var RESERVED_SLUG_PREFIX = "x-sn-reserved-";
3836
+ var isSlugReservedInternal = (slug) => slug?.startsWith(RESERVED_SLUG_PREFIX);
3837
+ function isSlugReserved(slug) {
3838
+ return RESERVED_SLUGS_SET.has(slug) || isSlugReservedInternal(slug);
3839
+ }
3061
3840
  export {
3062
3841
  Address,
3063
3842
  Asset,
@@ -3138,6 +3917,8 @@ export {
3138
3917
  DesignSystemSwitcher,
3139
3918
  DesignSystemUpdateInput,
3140
3919
  DesignSystemVersionRoom,
3920
+ DesignSystemVersionRoomInitialState,
3921
+ DesignSystemVersionRoomUpdate,
3141
3922
  DesignSystemWithWorkspace,
3142
3923
  DesignToken,
3143
3924
  DesignTokenImportModel,
@@ -3169,6 +3950,8 @@ export {
3169
3950
  DocumentationPageGroup,
3170
3951
  DocumentationPageImageAsset,
3171
3952
  DocumentationPageRoom,
3953
+ DocumentationPageRoomInitialState,
3954
+ DocumentationPageRoomRoomUpdate,
3172
3955
  DocumentationPageV1,
3173
3956
  DocumentationPageV2,
3174
3957
  DurationTokenData,
@@ -3438,6 +4221,8 @@ export {
3438
4221
  PulsarContributionVariant,
3439
4222
  PulsarCustomBlock,
3440
4223
  PulsarPropertyType,
4224
+ RESERVED_SLUGS,
4225
+ RESERVED_SLUG_PREFIX,
3441
4226
  RoomType,
3442
4227
  RoomTypeEnum,
3443
4228
  RoomTypeSchema,
@@ -3468,6 +4253,7 @@ export {
3468
4253
  StripeSubscriptionStatus,
3469
4254
  StripeSubscriptionStatusSchema,
3470
4255
  Subscription,
4256
+ SupernovaException,
3471
4257
  TextCase,
3472
4258
  TextCaseTokenData,
3473
4259
  TextCaseValue,
@@ -3522,6 +4308,7 @@ export {
3522
4308
  ZIndexUnit,
3523
4309
  ZIndexValue,
3524
4310
  addImportModelCollections,
4311
+ buildConstantEnum,
3525
4312
  colorValueFormatDescription,
3526
4313
  colorValueRegex,
3527
4314
  defaultDocumentationItemConfiguration,
@@ -3531,19 +4318,32 @@ export {
3531
4318
  extractTokenTypedData,
3532
4319
  figmaFileStructureImportModelToMap,
3533
4320
  figmaFileStructureToMap,
4321
+ filterNonNullish,
4322
+ forceUnwrapNullish,
4323
+ groupBy,
3534
4324
  isDesignTokenImportModelOfType,
3535
4325
  isDesignTokenOfType,
3536
4326
  isImportedAsset,
3537
4327
  isImportedComponent,
3538
4328
  isImportedDesignToken,
4329
+ isSlugReserved,
3539
4330
  isTokenType,
4331
+ mapByUnique,
4332
+ nonNullFilter,
4333
+ nonNullishFilter,
3540
4334
  nullishToOptional,
4335
+ parseUrl,
4336
+ promiseWithTimeout,
3541
4337
  publishedDocEnvironments,
4338
+ sleep,
3542
4339
  slugRegex,
4340
+ slugify,
3543
4341
  tokenAliasOrValue,
3544
4342
  tokenElementTypes,
3545
4343
  traversePageBlocksV1,
3546
4344
  traverseStructure,
4345
+ trimLeadingSlash,
4346
+ trimTrailingSlash,
3547
4347
  tryParseShortPersistentId,
3548
4348
  zodCreateInputOmit,
3549
4349
  zodUpdateInputOmit