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

kmore-types

Package Overview
Dependencies
Maintainers
0
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmore-types - npm Package Compare versions

Comparing version 61.2.8 to 61.2.9

10

dist/lib/types.d.ts

@@ -76,3 +76,3 @@ import type { SnakeToCamel, SnakeToPascal } from '@waiting/shared-types';

[TbName in keyof D]: TbName extends string ? {
[F in keyof D[TbName]]: Record<`${SnakeToCamel<TbName & string>}${SnakeToPascal<F & string>}`, `${TbName}.${F & string}`>;
[F in keyof D[TbName]]: F extends string ? Record<`${SnakeToCamel<TbName>}${SnakeToPascal<F>}`, `${TbName}.${F}`> : never;
} : never;

@@ -95,3 +95,3 @@ };

export type CamelColumns<T> = {
[F in keyof T as F extends string ? `${SnakeToCamel<F>}` : never]: F extends string ? SnakeToCamel<F> : never;
[F in keyof T as F extends string ? `${SnakeToCamel<F>}` : F]: F extends string ? SnakeToCamel<F> : never;
};

@@ -107,3 +107,3 @@ /**

export type ScopedColumns<T, K extends string> = {
[F in keyof T]: F extends string ? `${K}.${F}` : never;
[F in keyof T]: F extends string | number ? `${K}.${F}` : never;
};

@@ -201,3 +201,3 @@ /**

export type ScopedColumnsType<T, K extends string> = {
[F in keyof T as `${K}.${F & string}`]: T[F];
[F in keyof T as F extends string | number ? `${K}.${F}` : F]: T[F];
};

@@ -214,4 +214,4 @@ /**

export type AliasColumnsType<T, K extends string> = {
[F in keyof T as F extends string ? `${SnakeToCamel<K>}${SnakeToPascal<F>}` : never]: T[F];
[F in keyof T as F extends string ? `${SnakeToCamel<K>}${SnakeToPascal<F>}` : F]: T[F];
};
//# sourceMappingURL=types.d.ts.map
{
"name": "kmore-types",
"author": "waiting",
"version": "61.2.8",
"version": "61.2.9",
"description": "Retrieve types info from ts file",

@@ -73,3 +73,3 @@ "keywords": [

},
"gitHead": "aa313ebae47bbb0b298feaa290da54fa27e743df"
"gitHead": "98658a7d1a7a34db01e08e2486f001689c16c441"
}

@@ -90,3 +90,5 @@ import type { SnakeToCamel, SnakeToPascal } from '@waiting/shared-types'

? {
[F in keyof D[TbName]]: Record<`${SnakeToCamel<TbName & string>}${SnakeToPascal<F & string>}`, `${TbName}.${F & string}`>
[F in keyof D[TbName]]: F extends string
? Record<`${SnakeToCamel<TbName>}${SnakeToPascal<F>}`, `${TbName}.${F}`>
: never
}

@@ -113,3 +115,3 @@ : never

export type CamelColumns<T> = {
[F in keyof T as F extends string ? `${SnakeToCamel<F>}` : never]: F extends string
[F in keyof T as F extends string ? `${SnakeToCamel<F>}` : F]: F extends string
? SnakeToCamel<F>

@@ -127,3 +129,3 @@ : never

export type ScopedColumns<T, K extends string> = {
[F in keyof T]: F extends string ? `${K}.${F}` : never
[F in keyof T]: F extends string | number ? `${K}.${F}` : never
}

@@ -233,3 +235,3 @@ /**

export type ScopedColumnsType<T, K extends string> = {
[F in keyof T as `${K}.${F & string}`]: T[F]
[F in keyof T as F extends string | number ? `${K}.${F}` : F]: T[F]
}

@@ -246,4 +248,4 @@ /**

export type AliasColumnsType<T, K extends string> = {
[F in keyof T as F extends string ? `${SnakeToCamel<K>}${SnakeToPascal<F>}` : never]: T[F]
[F in keyof T as F extends string ? `${SnakeToCamel<K>}${SnakeToPascal<F>}` : F]: T[F]
}

Sorry, the diff of this file is not supported yet

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