@equt/clis 0.1.4 → 0.1.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@equt/clis",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.1.6",
5
5
  "packageManager": "bun@1.3.10",
6
6
  "bin": {
7
7
  "bookkeeping": "./dist/bookkeeping/index.js"
@@ -1,9 +0,0 @@
1
- import type { PropertyItemObjectResponse } from '@notionhq/client';
2
- type PropertyType = PropertyItemObjectResponse['type'];
3
- type PropertyOfType<T extends PropertyType> = Extract<PropertyItemObjectResponse, {
4
- type: T;
5
- }>;
6
- export declare function isPropertyOf<T extends PropertyType>(type: T): (column: unknown) => column is PropertyOfType<T>;
7
- export declare function isPropertyOf<T extends PropertyType>(column: unknown, type: T): column is PropertyOfType<T>;
8
- export {};
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAElE,KAAK,YAAY,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAA;AACtD,KAAK,cAAc,CAAC,CAAC,SAAS,YAAY,IAAI,OAAO,CAAC,0BAA0B,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAA;AAE9F,wBAAgB,YAAY,CAAC,CAAC,SAAS,YAAY,EACjD,IAAI,EAAE,CAAC,GACN,CAAC,MAAM,EAAE,OAAO,KAAK,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC,CAAA;AACnD,wBAAgB,YAAY,CAAC,CAAC,SAAS,YAAY,EACjD,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,CAAC,GACN,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC,CAAA"}
@@ -1,12 +0,0 @@
1
- export function isPropertyOf(columnOrType, type) {
2
- if (type === undefined) {
3
- const t = columnOrType;
4
- return (column) => typeof column === 'object'
5
- && column !== null
6
- && column.type === t;
7
- }
8
- return (typeof columnOrType === 'object'
9
- && columnOrType !== null
10
- && columnOrType.type === type);
11
- }
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAYA,MAAM,UAAU,YAAY,CAC1B,YAAqB,EACrB,IAAQ;IAER,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,MAAM,CAAC,GAAG,YAAiB,CAAA;QAC3B,OAAO,CAAC,MAAe,EAA+B,EAAE,CACtD,OAAO,MAAM,KAAK,QAAQ;eACvB,MAAM,KAAK,IAAI;eACd,MAA4B,CAAC,IAAI,KAAK,CAAC,CAAA;IAC/C,CAAC;IACD,OAAO,CACL,OAAO,YAAY,KAAK,QAAQ;WAC7B,YAAY,KAAK,IAAI;WACpB,YAAkC,CAAC,IAAI,KAAK,IAAI,CACrD,CAAA;AACH,CAAC"}