Skip to content

Commit

Permalink
Updates (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 authored Oct 12, 2024
1 parent ca4dd89 commit e8dc00e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/cli",
"description": "Small package containing useful typescript utilities.",
"version": "6.5.1",
"version": "6.5.2",
"homepage": "https://github.com/transcend-io/cli",
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,7 +65,7 @@
"@transcend-io/handlebars-utils": "^1.1.0",
"@transcend-io/internationalization": "^1.6.0",
"@transcend-io/persisted-state": "^1.0.4",
"@transcend-io/privacy-types": "^4.89.0",
"@transcend-io/privacy-types": "^4.90.0",
"@transcend-io/secret-value": "^1.2.0",
"@transcend-io/type-utils": "^1.5.0",
"bluebird": "^3.7.2",
Expand Down
4 changes: 2 additions & 2 deletions src/codecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
ActionItemPriorityOverride,
ActionItemCode,
ScopeName,
ActionItemCollectionLocation,
TranscendProduct,
PrivacyCenterComponentStyles,
PrivacyCenterTextStyles,
ConfigurableColorPaletteColor,
Expand Down Expand Up @@ -1419,7 +1419,7 @@ export const ActionItemCollectionInput = t.intersection([
/** The display title of the enricher */
title: t.string,
/** Locations where collection is shown */
productLine: valuesOf(ActionItemCollectionLocation),
productLine: valuesOf(TranscendProduct),
}),
t.partial({
/** Description of collection */
Expand Down
6 changes: 3 additions & 3 deletions src/graphql/fetchAllActionItemCollections.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { GraphQLClient } from 'graphql-request';
import { GLOBAL_ACTION_ITEM_COLLECTIONS } from './gqls';
import { makeGraphQLRequest } from './makeGraphQLRequest';
import { ActionItemCollectionLocation } from '@transcend-io/privacy-types';
import { TranscendProduct } from '@transcend-io/privacy-types';

export interface ActionItemCollection {
/** ID of collection */
Expand All @@ -13,7 +13,7 @@ export interface ActionItemCollection {
/** Whether section is hidden */
hidden: boolean;
/** Which locations/products the action item shows up in */
productLine: ActionItemCollectionLocation;
productLine: TranscendProduct;
}

/**
Expand All @@ -27,7 +27,7 @@ export async function fetchAllActionItemCollections(
client: GraphQLClient,
filterBy: {
/** Filter on location */
location?: ActionItemCollectionLocation;
location?: TranscendProduct;
} = {},
): Promise<ActionItemCollection[]> {
const {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ __metadata:
"@transcend-io/handlebars-utils": ^1.1.0
"@transcend-io/internationalization": ^1.6.0
"@transcend-io/persisted-state": ^1.0.4
"@transcend-io/privacy-types": ^4.89.0
"@transcend-io/privacy-types": ^4.90.0
"@transcend-io/secret-value": ^1.2.0
"@transcend-io/type-utils": ^1.5.0
"@types/bluebird": ^3.5.38
Expand Down Expand Up @@ -642,14 +642,14 @@ __metadata:
languageName: node
linkType: hard

"@transcend-io/privacy-types@npm:^4.89.0":
version: 4.89.0
resolution: "@transcend-io/privacy-types@npm:4.89.0"
"@transcend-io/privacy-types@npm:^4.90.0":
version: 4.90.0
resolution: "@transcend-io/privacy-types@npm:4.90.0"
dependencies:
"@transcend-io/type-utils": ^1.0.5
fp-ts: ^2.16.1
io-ts: ^2.2.21
checksum: b92856cd67b34530c002eb6cbec33cbf445a26a2beb4668c5f31d7f576d749dbe912fb9abae811febdee4a45e14c9d342d76c106d9c5b0c6da934da1739bcff5
checksum: 360e25a854ee017386635e74637faf4e2d1da858f3d0806d06aa67bc40649e52035719d14ccb302035f533f0f1171dd456e2e7cc8d4af3f559a02fb3b68aaac7
languageName: node
linkType: hard

Expand Down

0 comments on commit e8dc00e

Please sign in to comment.