Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@knocklabs/types

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knocklabs/types - npm Package Compare versions

Comparing version 0.1.5-rc-1.0 to 0.1.5

4

CHANGELOG.md
# @knocklabs/types
## 0.1.5-rc-1.0
## 0.1.5
### Patch Changes
- f442962: feat: add in app messages client, hooks, provider, and components
- 26166e3: fix: update preference set types

@@ -9,0 +9,0 @@ ## 0.1.4

@@ -5,3 +5,3 @@ {

"author": "@knocklabs",
"version": "0.1.5-rc-1.0",
"version": "0.1.5",
"license": "MIT",

@@ -8,0 +8,0 @@ "types": "./src/index.d.ts",

@@ -22,45 +22,2 @@ export type GenericData = {

export interface Tenant<T = GenericData> {
id: string;
properties: T;
settings?: TenantSettings;
created_at?: string;
updated_at: string;
}
export interface TenantSettings {
branding?: TenantBrandingSettings;
preference_set?: PreferenceSetProperties;
}
export interface TenantBrandingSettings {
primary_color?: string;
primary_color_contrast?: string;
logo_url?: string;
icon_url?: string;
}
export interface PreferenceSetProperties {
workflows?: WorkflowPreferences;
categories?: WorkflowPreferences;
channel_types?: ChannelTypePreferences;
}
export interface WorkflowPreferences {
[key: string]: WorkflowPreferenceSetting;
}
export type WorkflowPreferenceSetting =
| boolean
| { channel_types: ChannelTypePreferences }
| ConditionalPreferenceSettings;
export type ChannelTypePreferences = {
[_K in ChannelType]?: boolean | ConditionalPreferenceSettings;
};
export type ConditionalPreferenceSettings = {
conditions: Condition[];
};
export interface Condition {

@@ -67,0 +24,0 @@ argument: string;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc