@streamoid/settings 0.4.0 → 0.4.1

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.d.mts CHANGED
@@ -1112,6 +1112,15 @@ interface UserPermissions {
1112
1112
  artifax: boolean;
1113
1113
  photogenix: boolean;
1114
1114
  catalogix: boolean;
1115
+ /**
1116
+ * SPF Returns.
1117
+ *
1118
+ * Its services identify themselves by group: the provider carries five of
1119
+ * them — the dashboard, Claims, Capture and two settings pages — all named
1120
+ * "returns" and all in a "Returns" group. Granting the app means granting the
1121
+ * group, which is what `permissionServiceIds` does.
1122
+ */
1123
+ returns: boolean;
1115
1124
  canUseCredits: boolean;
1116
1125
  canInviteUser: boolean;
1117
1126
  role: "admin" | "member";
package/dist/index.d.ts CHANGED
@@ -1112,6 +1112,15 @@ interface UserPermissions {
1112
1112
  artifax: boolean;
1113
1113
  photogenix: boolean;
1114
1114
  catalogix: boolean;
1115
+ /**
1116
+ * SPF Returns.
1117
+ *
1118
+ * Its services identify themselves by group: the provider carries five of
1119
+ * them — the dashboard, Claims, Capture and two settings pages — all named
1120
+ * "returns" and all in a "Returns" group. Granting the app means granting the
1121
+ * group, which is what `permissionServiceIds` does.
1122
+ */
1123
+ returns: boolean;
1115
1124
  canUseCredits: boolean;
1116
1125
  canInviteUser: boolean;
1117
1126
  role: "admin" | "member";
package/dist/index.js CHANGED
@@ -2549,6 +2549,7 @@ function InviteUpdateModal({
2549
2549
  const [artifaxOn, setArtifaxOn] = (0, import_react7.useState)(true);
2550
2550
  const [photogenixOn, setPhotogenixOn] = (0, import_react7.useState)(true);
2551
2551
  const [catalogixOn, setCatalogixOn] = (0, import_react7.useState)(true);
2552
+ const [returnsOn, setReturnsOn] = (0, import_react7.useState)(true);
2552
2553
  const [storeSearch, setStoreSearch] = (0, import_react7.useState)("");
2553
2554
  const [selectedStores, setSelectedStores] = (0, import_react7.useState)(/* @__PURE__ */ new Set());
2554
2555
  const filteredStores = stores.filter(
@@ -2562,6 +2563,7 @@ function InviteUpdateModal({
2562
2563
  setArtifaxOn(initialPermissions.artifax);
2563
2564
  setPhotogenixOn(initialPermissions.photogenix);
2564
2565
  setCatalogixOn(initialPermissions.catalogix);
2566
+ setReturnsOn(initialPermissions.returns);
2565
2567
  setSelectedStores(new Set(initialPermissions.catalogixStores));
2566
2568
  }
2567
2569
  if (!open) {
@@ -2573,6 +2575,7 @@ function InviteUpdateModal({
2573
2575
  setArtifaxOn(true);
2574
2576
  setPhotogenixOn(true);
2575
2577
  setCatalogixOn(true);
2578
+ setReturnsOn(true);
2576
2579
  setStoreSearch("");
2577
2580
  setSelectedStores(/* @__PURE__ */ new Set());
2578
2581
  }
@@ -3147,6 +3150,96 @@ function InviteUpdateModal({
3147
3150
  }
3148
3151
  ) })
3149
3152
  ] }),
3153
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "flex flex-col justify-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3154
+ "div",
3155
+ {
3156
+ className: "flex flex-col items-start justify-center w-full",
3157
+ style: { padding: T6.sp3xl, gap: T6.sp3xl },
3158
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
3159
+ "div",
3160
+ {
3161
+ className: "flex items-center shrink-0 w-full",
3162
+ style: { gap: T6.sp3xl },
3163
+ children: [
3164
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
3165
+ "div",
3166
+ {
3167
+ className: "flex flex-1 min-w-0 items-center",
3168
+ style: { gap: T6.spXl },
3169
+ children: [
3170
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3171
+ "div",
3172
+ {
3173
+ className: "shrink-0 flex items-center",
3174
+ style: {
3175
+ background: T6.fillHover,
3176
+ borderRadius: T6.rXl,
3177
+ padding: T6.spMd
3178
+ },
3179
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3180
+ import_icons3.SiconArrowLeftRight,
3181
+ {
3182
+ className: "w-6 h-6",
3183
+ color: T6.primary
3184
+ }
3185
+ )
3186
+ }
3187
+ ),
3188
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
3189
+ "div",
3190
+ {
3191
+ className: "flex flex-1 min-w-0 flex-col items-start overflow-hidden text-ellipsis whitespace-nowrap",
3192
+ style: { opacity: returnsOn ? 1 : 0.5 },
3193
+ children: [
3194
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3195
+ "p",
3196
+ {
3197
+ className: "w-full overflow-hidden shrink-0",
3198
+ style: {
3199
+ fontFamily: T6.font,
3200
+ fontSize: T6.fsSm,
3201
+ fontWeight: 500,
3202
+ lineHeight: T6.lhSm,
3203
+ color: T6.primary
3204
+ },
3205
+ children: "Returns"
3206
+ }
3207
+ ),
3208
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3209
+ "p",
3210
+ {
3211
+ className: "w-full overflow-hidden shrink-0",
3212
+ style: {
3213
+ fontFamily: T6.font,
3214
+ fontSize: T6.fsXs,
3215
+ fontWeight: 400,
3216
+ lineHeight: T6.lhXs,
3217
+ color: T6.tertiary
3218
+ },
3219
+ children: "Info about returns"
3220
+ }
3221
+ )
3222
+ ]
3223
+ }
3224
+ )
3225
+ ]
3226
+ }
3227
+ ),
3228
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3229
+ ToggleSwitch,
3230
+ {
3231
+ active: returnsOn,
3232
+ onClick: () => {
3233
+ setReturnsOn(!returnsOn);
3234
+ markChanged();
3235
+ }
3236
+ }
3237
+ )
3238
+ ]
3239
+ }
3240
+ )
3241
+ }
3242
+ ) }) }),
3150
3243
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "flex flex-col justify-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
3151
3244
  "div",
3152
3245
  {
@@ -3459,6 +3552,7 @@ function InviteUpdateModal({
3459
3552
  artifax: artifaxOn,
3460
3553
  photogenix: photogenixOn,
3461
3554
  catalogix: catalogixOn,
3555
+ returns: returnsOn,
3462
3556
  catalogixStores: Array.from(selectedStores)
3463
3557
  };
3464
3558
  if (isInvite && onInvite) {
@@ -3699,6 +3793,7 @@ function appNameTokens(app) {
3699
3793
  if (app === "artifax")
3700
3794
  return ["artifax", "artifact", "artifacts", "artifex", "chat"];
3701
3795
  if (app === "photogenix") return ["photogenix"];
3796
+ if (app === "returns") return ["returns", "return"];
3702
3797
  return ["catalogix"];
3703
3798
  }
3704
3799
  function normalizeServiceName(value) {
@@ -3726,6 +3821,7 @@ function permissionServiceIds(services, permissions) {
3726
3821
  return true;
3727
3822
  if (serviceMatchesApp(s, "catalogix") && permissions.catalogix)
3728
3823
  return true;
3824
+ if (serviceMatchesApp(s, "returns") && permissions.returns) return true;
3729
3825
  return false;
3730
3826
  }).map((s) => s._id);
3731
3827
  }
@@ -3826,7 +3922,8 @@ function readInviteAppFlag(invRecord, app) {
3826
3922
  "artifactAccess"
3827
3923
  ],
3828
3924
  photogenix: ["photogenix", "photogenixAccess"],
3829
- catalogix: ["catalogix", "catalogixAccess"]
3925
+ catalogix: ["catalogix", "catalogixAccess"],
3926
+ returns: ["returns", "return", "returnsAccess"]
3830
3927
  };
3831
3928
  const containers = [invRecord];
3832
3929
  for (const nestedKey of ["permissions", "permission", "access", "apps"]) {
@@ -3900,6 +3997,7 @@ function memberToTeamMember(m, services) {
3900
3997
  const hasArtifax = isAdmin || userHasApp("artifax");
3901
3998
  const hasPhotogenix = isAdmin || userHasApp("photogenix");
3902
3999
  const hasCatalogix = isAdmin || userHasApp("catalogix");
4000
+ const hasReturns = isAdmin || userHasApp("returns");
3903
4001
  return {
3904
4002
  id: m._id,
3905
4003
  kind: "member",
@@ -3925,6 +4023,7 @@ function memberToTeamMember(m, services) {
3925
4023
  artifax: hasArtifax,
3926
4024
  photogenix: hasPhotogenix,
3927
4025
  catalogix: hasCatalogix,
4026
+ returns: hasReturns,
3928
4027
  canUseCredits: m.creditAccess,
3929
4028
  canInviteUser: m.inviteAccess,
3930
4029
  role: m.role,
@@ -3942,12 +4041,15 @@ function inviteToTeamMember(inv, services) {
3942
4041
  (n) => matchesApp(n, "photogenix")
3943
4042
  );
3944
4043
  const derivedCatalogix = serviceNames.some((n) => matchesApp(n, "catalogix"));
4044
+ const derivedReturns = serviceNames.some((n) => matchesApp(n, "returns"));
3945
4045
  const explicitArtifax = readInviteAppFlag(invRecord, "artifax");
3946
4046
  const explicitPhotogenix = readInviteAppFlag(invRecord, "photogenix");
3947
4047
  const explicitCatalogix = readInviteAppFlag(invRecord, "catalogix");
4048
+ const explicitReturns = readInviteAppFlag(invRecord, "returns");
3948
4049
  const artifaxFlag = Boolean(explicitArtifax) || derivedArtifax;
3949
4050
  const photogenixFlag = Boolean(explicitPhotogenix) || derivedPhotogenix;
3950
4051
  const catalogixFlag = Boolean(explicitCatalogix) || derivedCatalogix;
4052
+ const returnsFlag = Boolean(explicitReturns) || derivedReturns;
3951
4053
  const catalogixStores = uniqueNonEmpty([
3952
4054
  ...extractIdsFromMixedArray(invRecord.stores),
3953
4055
  ...extractIdsFromMixedArray(invRecord.storeIds)
@@ -3963,6 +4065,7 @@ function inviteToTeamMember(inv, services) {
3963
4065
  artifax: artifaxFlag,
3964
4066
  photogenix: photogenixFlag,
3965
4067
  catalogix: catalogixFlag,
4068
+ returns: returnsFlag,
3966
4069
  canUseCredits: inv.creditAccess ?? false,
3967
4070
  canInviteUser: inv.inviteAccess ?? false,
3968
4071
  role: inv.role ?? "member",
@@ -4234,6 +4337,7 @@ function TeamsContent({
4234
4337
  artifax: true,
4235
4338
  photogenix: false,
4236
4339
  catalogix: true,
4340
+ returns: true,
4237
4341
  canUseCredits: true,
4238
4342
  canInviteUser: false,
4239
4343
  role: "admin",
@@ -4251,6 +4355,7 @@ function TeamsContent({
4251
4355
  artifax: false,
4252
4356
  photogenix: true,
4253
4357
  catalogix: false,
4358
+ returns: false,
4254
4359
  canUseCredits: false,
4255
4360
  canInviteUser: true,
4256
4361
  role: "member",
@@ -4269,6 +4374,7 @@ function TeamsContent({
4269
4374
  artifax: true,
4270
4375
  photogenix: false,
4271
4376
  catalogix: true,
4377
+ returns: true,
4272
4378
  canUseCredits: true,
4273
4379
  canInviteUser: false,
4274
4380
  role: "admin",
@@ -4285,6 +4391,7 @@ function TeamsContent({
4285
4391
  artifax: false,
4286
4392
  photogenix: true,
4287
4393
  catalogix: false,
4394
+ returns: false,
4288
4395
  canUseCredits: false,
4289
4396
  canInviteUser: true,
4290
4397
  role: "member",
@@ -11797,6 +11904,7 @@ var DEFAULT_PERMISSIONS = {
11797
11904
  artifax: true,
11798
11905
  photogenix: true,
11799
11906
  catalogix: true,
11907
+ returns: true,
11800
11908
  canUseCredits: true,
11801
11909
  canInviteUser: true,
11802
11910
  role: "admin",
package/dist/index.mjs CHANGED
@@ -2392,6 +2392,7 @@ import { useState as useState5, useEffect as useEffect5 } from "react";
2392
2392
  import { ScButton as ScButton2 } from "@streamoid/ui";
2393
2393
  import {
2394
2394
  SiconClose as SiconClose2,
2395
+ SiconArrowLeftRight,
2395
2396
  SiconArtifacts,
2396
2397
  SiconPhotogenix,
2397
2398
  SiconSearch
@@ -2534,6 +2535,7 @@ function InviteUpdateModal({
2534
2535
  const [artifaxOn, setArtifaxOn] = useState5(true);
2535
2536
  const [photogenixOn, setPhotogenixOn] = useState5(true);
2536
2537
  const [catalogixOn, setCatalogixOn] = useState5(true);
2538
+ const [returnsOn, setReturnsOn] = useState5(true);
2537
2539
  const [storeSearch, setStoreSearch] = useState5("");
2538
2540
  const [selectedStores, setSelectedStores] = useState5(/* @__PURE__ */ new Set());
2539
2541
  const filteredStores = stores.filter(
@@ -2547,6 +2549,7 @@ function InviteUpdateModal({
2547
2549
  setArtifaxOn(initialPermissions.artifax);
2548
2550
  setPhotogenixOn(initialPermissions.photogenix);
2549
2551
  setCatalogixOn(initialPermissions.catalogix);
2552
+ setReturnsOn(initialPermissions.returns);
2550
2553
  setSelectedStores(new Set(initialPermissions.catalogixStores));
2551
2554
  }
2552
2555
  if (!open) {
@@ -2558,6 +2561,7 @@ function InviteUpdateModal({
2558
2561
  setArtifaxOn(true);
2559
2562
  setPhotogenixOn(true);
2560
2563
  setCatalogixOn(true);
2564
+ setReturnsOn(true);
2561
2565
  setStoreSearch("");
2562
2566
  setSelectedStores(/* @__PURE__ */ new Set());
2563
2567
  }
@@ -3132,6 +3136,96 @@ function InviteUpdateModal({
3132
3136
  }
3133
3137
  ) })
3134
3138
  ] }),
3139
+ /* @__PURE__ */ jsx10("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx10("div", { className: "flex flex-col justify-center size-full", children: /* @__PURE__ */ jsx10(
3140
+ "div",
3141
+ {
3142
+ className: "flex flex-col items-start justify-center w-full",
3143
+ style: { padding: T6.sp3xl, gap: T6.sp3xl },
3144
+ children: /* @__PURE__ */ jsxs8(
3145
+ "div",
3146
+ {
3147
+ className: "flex items-center shrink-0 w-full",
3148
+ style: { gap: T6.sp3xl },
3149
+ children: [
3150
+ /* @__PURE__ */ jsxs8(
3151
+ "div",
3152
+ {
3153
+ className: "flex flex-1 min-w-0 items-center",
3154
+ style: { gap: T6.spXl },
3155
+ children: [
3156
+ /* @__PURE__ */ jsx10(
3157
+ "div",
3158
+ {
3159
+ className: "shrink-0 flex items-center",
3160
+ style: {
3161
+ background: T6.fillHover,
3162
+ borderRadius: T6.rXl,
3163
+ padding: T6.spMd
3164
+ },
3165
+ children: /* @__PURE__ */ jsx10(
3166
+ SiconArrowLeftRight,
3167
+ {
3168
+ className: "w-6 h-6",
3169
+ color: T6.primary
3170
+ }
3171
+ )
3172
+ }
3173
+ ),
3174
+ /* @__PURE__ */ jsxs8(
3175
+ "div",
3176
+ {
3177
+ className: "flex flex-1 min-w-0 flex-col items-start overflow-hidden text-ellipsis whitespace-nowrap",
3178
+ style: { opacity: returnsOn ? 1 : 0.5 },
3179
+ children: [
3180
+ /* @__PURE__ */ jsx10(
3181
+ "p",
3182
+ {
3183
+ className: "w-full overflow-hidden shrink-0",
3184
+ style: {
3185
+ fontFamily: T6.font,
3186
+ fontSize: T6.fsSm,
3187
+ fontWeight: 500,
3188
+ lineHeight: T6.lhSm,
3189
+ color: T6.primary
3190
+ },
3191
+ children: "Returns"
3192
+ }
3193
+ ),
3194
+ /* @__PURE__ */ jsx10(
3195
+ "p",
3196
+ {
3197
+ className: "w-full overflow-hidden shrink-0",
3198
+ style: {
3199
+ fontFamily: T6.font,
3200
+ fontSize: T6.fsXs,
3201
+ fontWeight: 400,
3202
+ lineHeight: T6.lhXs,
3203
+ color: T6.tertiary
3204
+ },
3205
+ children: "Info about returns"
3206
+ }
3207
+ )
3208
+ ]
3209
+ }
3210
+ )
3211
+ ]
3212
+ }
3213
+ ),
3214
+ /* @__PURE__ */ jsx10(
3215
+ ToggleSwitch,
3216
+ {
3217
+ active: returnsOn,
3218
+ onClick: () => {
3219
+ setReturnsOn(!returnsOn);
3220
+ markChanged();
3221
+ }
3222
+ }
3223
+ )
3224
+ ]
3225
+ }
3226
+ )
3227
+ }
3228
+ ) }) }),
3135
3229
  /* @__PURE__ */ jsx10("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx10("div", { className: "flex flex-col justify-center size-full", children: /* @__PURE__ */ jsxs8(
3136
3230
  "div",
3137
3231
  {
@@ -3444,6 +3538,7 @@ function InviteUpdateModal({
3444
3538
  artifax: artifaxOn,
3445
3539
  photogenix: photogenixOn,
3446
3540
  catalogix: catalogixOn,
3541
+ returns: returnsOn,
3447
3542
  catalogixStores: Array.from(selectedStores)
3448
3543
  };
3449
3544
  if (isInvite && onInvite) {
@@ -3684,6 +3779,7 @@ function appNameTokens(app) {
3684
3779
  if (app === "artifax")
3685
3780
  return ["artifax", "artifact", "artifacts", "artifex", "chat"];
3686
3781
  if (app === "photogenix") return ["photogenix"];
3782
+ if (app === "returns") return ["returns", "return"];
3687
3783
  return ["catalogix"];
3688
3784
  }
3689
3785
  function normalizeServiceName(value) {
@@ -3711,6 +3807,7 @@ function permissionServiceIds(services, permissions) {
3711
3807
  return true;
3712
3808
  if (serviceMatchesApp(s, "catalogix") && permissions.catalogix)
3713
3809
  return true;
3810
+ if (serviceMatchesApp(s, "returns") && permissions.returns) return true;
3714
3811
  return false;
3715
3812
  }).map((s) => s._id);
3716
3813
  }
@@ -3811,7 +3908,8 @@ function readInviteAppFlag(invRecord, app) {
3811
3908
  "artifactAccess"
3812
3909
  ],
3813
3910
  photogenix: ["photogenix", "photogenixAccess"],
3814
- catalogix: ["catalogix", "catalogixAccess"]
3911
+ catalogix: ["catalogix", "catalogixAccess"],
3912
+ returns: ["returns", "return", "returnsAccess"]
3815
3913
  };
3816
3914
  const containers = [invRecord];
3817
3915
  for (const nestedKey of ["permissions", "permission", "access", "apps"]) {
@@ -3885,6 +3983,7 @@ function memberToTeamMember(m, services) {
3885
3983
  const hasArtifax = isAdmin || userHasApp("artifax");
3886
3984
  const hasPhotogenix = isAdmin || userHasApp("photogenix");
3887
3985
  const hasCatalogix = isAdmin || userHasApp("catalogix");
3986
+ const hasReturns = isAdmin || userHasApp("returns");
3888
3987
  return {
3889
3988
  id: m._id,
3890
3989
  kind: "member",
@@ -3910,6 +4009,7 @@ function memberToTeamMember(m, services) {
3910
4009
  artifax: hasArtifax,
3911
4010
  photogenix: hasPhotogenix,
3912
4011
  catalogix: hasCatalogix,
4012
+ returns: hasReturns,
3913
4013
  canUseCredits: m.creditAccess,
3914
4014
  canInviteUser: m.inviteAccess,
3915
4015
  role: m.role,
@@ -3927,12 +4027,15 @@ function inviteToTeamMember(inv, services) {
3927
4027
  (n) => matchesApp(n, "photogenix")
3928
4028
  );
3929
4029
  const derivedCatalogix = serviceNames.some((n) => matchesApp(n, "catalogix"));
4030
+ const derivedReturns = serviceNames.some((n) => matchesApp(n, "returns"));
3930
4031
  const explicitArtifax = readInviteAppFlag(invRecord, "artifax");
3931
4032
  const explicitPhotogenix = readInviteAppFlag(invRecord, "photogenix");
3932
4033
  const explicitCatalogix = readInviteAppFlag(invRecord, "catalogix");
4034
+ const explicitReturns = readInviteAppFlag(invRecord, "returns");
3933
4035
  const artifaxFlag = Boolean(explicitArtifax) || derivedArtifax;
3934
4036
  const photogenixFlag = Boolean(explicitPhotogenix) || derivedPhotogenix;
3935
4037
  const catalogixFlag = Boolean(explicitCatalogix) || derivedCatalogix;
4038
+ const returnsFlag = Boolean(explicitReturns) || derivedReturns;
3936
4039
  const catalogixStores = uniqueNonEmpty([
3937
4040
  ...extractIdsFromMixedArray(invRecord.stores),
3938
4041
  ...extractIdsFromMixedArray(invRecord.storeIds)
@@ -3948,6 +4051,7 @@ function inviteToTeamMember(inv, services) {
3948
4051
  artifax: artifaxFlag,
3949
4052
  photogenix: photogenixFlag,
3950
4053
  catalogix: catalogixFlag,
4054
+ returns: returnsFlag,
3951
4055
  canUseCredits: inv.creditAccess ?? false,
3952
4056
  canInviteUser: inv.inviteAccess ?? false,
3953
4057
  role: inv.role ?? "member",
@@ -4219,6 +4323,7 @@ function TeamsContent({
4219
4323
  artifax: true,
4220
4324
  photogenix: false,
4221
4325
  catalogix: true,
4326
+ returns: true,
4222
4327
  canUseCredits: true,
4223
4328
  canInviteUser: false,
4224
4329
  role: "admin",
@@ -4236,6 +4341,7 @@ function TeamsContent({
4236
4341
  artifax: false,
4237
4342
  photogenix: true,
4238
4343
  catalogix: false,
4344
+ returns: false,
4239
4345
  canUseCredits: false,
4240
4346
  canInviteUser: true,
4241
4347
  role: "member",
@@ -4254,6 +4360,7 @@ function TeamsContent({
4254
4360
  artifax: true,
4255
4361
  photogenix: false,
4256
4362
  catalogix: true,
4363
+ returns: true,
4257
4364
  canUseCredits: true,
4258
4365
  canInviteUser: false,
4259
4366
  role: "admin",
@@ -4270,6 +4377,7 @@ function TeamsContent({
4270
4377
  artifax: false,
4271
4378
  photogenix: true,
4272
4379
  catalogix: false,
4380
+ returns: false,
4273
4381
  canUseCredits: false,
4274
4382
  canInviteUser: true,
4275
4383
  role: "member",
@@ -11808,6 +11916,7 @@ var DEFAULT_PERMISSIONS = {
11808
11916
  artifax: true,
11809
11917
  photogenix: true,
11810
11918
  catalogix: true,
11919
+ returns: true,
11811
11920
  canUseCredits: true,
11812
11921
  canInviteUser: true,
11813
11922
  role: "admin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/settings",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",