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.4 to 0.1.5-rc.0

6

CHANGELOG.md
# @knocklabs/types
## 0.1.5-rc.0
### Patch Changes
- f442962: feat: add in app messages client, hooks, provider, and components
## 0.1.4

@@ -4,0 +10,0 @@

4

package.json

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

"author": "@knocklabs",
"version": "0.1.4",
"version": "0.1.5-rc.0",
"license": "MIT",

@@ -17,3 +17,3 @@ "types": "./src/index.d.ts",

"eslint": "^8.56.0",
"typescript": "^5.3.3"
"typescript": "^5.6.2"
},

@@ -20,0 +20,0 @@ "publishConfig": {

@@ -21,1 +21,50 @@ export type GenericData = {

| "http";
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 {
argument: string;
variable: string;
operator: 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