@dereekb/dbx-components-mcp 13.41.0 → 13.43.0
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/dbx-components-mcp.js +544 -78
- package/generated/dereekb-date.semantic-types.mcp.generated.json +130 -0
- package/generated/dereekb-dbx-web.css-utilities.mcp.generated.json +15 -7
- package/generated/dereekb-dbx-web.tokens.mcp.generated.json +29 -0
- package/generated/dereekb-firebase.semantic-types.mcp.generated.json +84 -0
- package/generated/dereekb-firebase.utils.mcp.generated.json +130 -0
- package/generated/dereekb-util.semantic-types.mcp.generated.json +26 -0
- package/generated/dereekb-util.utils.mcp.generated.json +190 -0
- package/package.json +3 -3
|
@@ -3817,6 +3817,32 @@
|
|
|
3817
3817
|
"seconds-in-minute"
|
|
3818
3818
|
]
|
|
3819
3819
|
},
|
|
3820
|
+
{
|
|
3821
|
+
"slug": "minutes-in-year",
|
|
3822
|
+
"name": "MINUTES_IN_YEAR",
|
|
3823
|
+
"kind": "const",
|
|
3824
|
+
"category": "date",
|
|
3825
|
+
"module": "@dereekb/util",
|
|
3826
|
+
"subpath": "date/date",
|
|
3827
|
+
"signature": "const MINUTES_IN_YEAR: Minutes",
|
|
3828
|
+
"description": "Number of minutes in a year (ignoring leap years).",
|
|
3829
|
+
"params": [],
|
|
3830
|
+
"returns": "Minutes",
|
|
3831
|
+
"tags": [
|
|
3832
|
+
"date",
|
|
3833
|
+
"minute",
|
|
3834
|
+
"year",
|
|
3835
|
+
"duration",
|
|
3836
|
+
"constant",
|
|
3837
|
+
"minutes",
|
|
3838
|
+
"in",
|
|
3839
|
+
"minutes_in_year"
|
|
3840
|
+
],
|
|
3841
|
+
"relatedSlugs": [
|
|
3842
|
+
"minutes-in-day",
|
|
3843
|
+
"days-in-year"
|
|
3844
|
+
]
|
|
3845
|
+
},
|
|
3820
3846
|
{
|
|
3821
3847
|
"slug": "seconds-in-hour",
|
|
3822
3848
|
"name": "SECONDS_IN_HOUR",
|
|
@@ -4712,6 +4738,38 @@
|
|
|
4712
4738
|
"check-atleast-one-not-expired"
|
|
4713
4739
|
]
|
|
4714
4740
|
},
|
|
4741
|
+
{
|
|
4742
|
+
"slug": "utc-offset-string",
|
|
4743
|
+
"name": "utcOffsetString",
|
|
4744
|
+
"kind": "function",
|
|
4745
|
+
"category": "date",
|
|
4746
|
+
"module": "@dereekb/util",
|
|
4747
|
+
"subpath": "date/offset",
|
|
4748
|
+
"signature": "utcOffsetString(minutes: Minutes): UtcOffsetString",
|
|
4749
|
+
"description": "Formats a UTC offset in minutes as a {@link UtcOffsetString}. I.E. \"-0600\", \"+0530\".\n\nThis is the ISO 8601 basic-format offset, which is also the format RFC 5545 3.3.14 defines for a UTC-OFFSET\nvalue. A zero offset renders as \"+0000\".",
|
|
4750
|
+
"params": [
|
|
4751
|
+
{
|
|
4752
|
+
"name": "minutes",
|
|
4753
|
+
"type": "Minutes",
|
|
4754
|
+
"description": "- The offset from UTC in minutes. Negative is west of UTC.",
|
|
4755
|
+
"optional": false
|
|
4756
|
+
}
|
|
4757
|
+
],
|
|
4758
|
+
"returns": "The UTC offset string.",
|
|
4759
|
+
"tags": [
|
|
4760
|
+
"date",
|
|
4761
|
+
"timezone",
|
|
4762
|
+
"utc",
|
|
4763
|
+
"offset",
|
|
4764
|
+
"string",
|
|
4765
|
+
"format",
|
|
4766
|
+
"utcoffsetstring"
|
|
4767
|
+
],
|
|
4768
|
+
"relatedSlugs": [
|
|
4769
|
+
"utc-timezone-string",
|
|
4770
|
+
"has-same-timezone"
|
|
4771
|
+
]
|
|
4772
|
+
},
|
|
4715
4773
|
{
|
|
4716
4774
|
"slug": "make-timer",
|
|
4717
4775
|
"name": "makeTimer",
|
|
@@ -11851,6 +11909,73 @@
|
|
|
11851
11909
|
"flatten-whitespace"
|
|
11852
11910
|
]
|
|
11853
11911
|
},
|
|
11912
|
+
{
|
|
11913
|
+
"slug": "normalize-line-breaks",
|
|
11914
|
+
"name": "normalizeLineBreaks",
|
|
11915
|
+
"kind": "function",
|
|
11916
|
+
"category": "string",
|
|
11917
|
+
"module": "@dereekb/util",
|
|
11918
|
+
"subpath": "string/string",
|
|
11919
|
+
"signature": "normalizeLineBreaks(input: string): string",
|
|
11920
|
+
"description": "Normalizes every CRLF and bare CR line break in the input to a single LF.\n\nUseful ahead of any per-character transform, which would otherwise treat a single CRLF as two line breaks.",
|
|
11921
|
+
"params": [
|
|
11922
|
+
{
|
|
11923
|
+
"name": "input",
|
|
11924
|
+
"type": "string",
|
|
11925
|
+
"description": "- String to normalize.",
|
|
11926
|
+
"optional": false
|
|
11927
|
+
}
|
|
11928
|
+
],
|
|
11929
|
+
"returns": "The string with all line breaks rendered as LF.",
|
|
11930
|
+
"tags": [
|
|
11931
|
+
"string",
|
|
11932
|
+
"whitespace",
|
|
11933
|
+
"newline",
|
|
11934
|
+
"line-break",
|
|
11935
|
+
"normalize",
|
|
11936
|
+
"crlf",
|
|
11937
|
+
"line",
|
|
11938
|
+
"breaks",
|
|
11939
|
+
"normalizelinebreaks"
|
|
11940
|
+
],
|
|
11941
|
+
"relatedSlugs": [
|
|
11942
|
+
"simplify-whitespace",
|
|
11943
|
+
"flatten-whitespace"
|
|
11944
|
+
]
|
|
11945
|
+
},
|
|
11946
|
+
{
|
|
11947
|
+
"slug": "is-not-blank-string",
|
|
11948
|
+
"name": "isNotBlankString",
|
|
11949
|
+
"kind": "function",
|
|
11950
|
+
"category": "string",
|
|
11951
|
+
"module": "@dereekb/util",
|
|
11952
|
+
"subpath": "string/string",
|
|
11953
|
+
"signature": "isNotBlankString(input: Maybe<string>): input is string",
|
|
11954
|
+
"description": "Returns true if the input is a string with at least one non-whitespace character.\n\nUseful for deciding whether an optional string value is worth emitting.",
|
|
11955
|
+
"params": [
|
|
11956
|
+
{
|
|
11957
|
+
"name": "input",
|
|
11958
|
+
"type": "Maybe<string>",
|
|
11959
|
+
"description": "- The value to test.",
|
|
11960
|
+
"optional": false
|
|
11961
|
+
}
|
|
11962
|
+
],
|
|
11963
|
+
"returns": "Whether the value is a non-blank string.",
|
|
11964
|
+
"tags": [
|
|
11965
|
+
"string",
|
|
11966
|
+
"whitespace",
|
|
11967
|
+
"blank",
|
|
11968
|
+
"empty",
|
|
11969
|
+
"predicate",
|
|
11970
|
+
"type-guard",
|
|
11971
|
+
"is",
|
|
11972
|
+
"not",
|
|
11973
|
+
"isnotblankstring"
|
|
11974
|
+
],
|
|
11975
|
+
"relatedSlugs": [
|
|
11976
|
+
"flatten-whitespace"
|
|
11977
|
+
]
|
|
11978
|
+
},
|
|
11854
11979
|
{
|
|
11855
11980
|
"slug": "string-trim-function",
|
|
11856
11981
|
"name": "stringTrimFunction",
|
|
@@ -12179,6 +12304,71 @@
|
|
|
12179
12304
|
"fix-extra-query-parameters"
|
|
12180
12305
|
]
|
|
12181
12306
|
},
|
|
12307
|
+
{
|
|
12308
|
+
"slug": "has-uri-scheme",
|
|
12309
|
+
"name": "hasUriScheme",
|
|
12310
|
+
"kind": "function",
|
|
12311
|
+
"category": "string",
|
|
12312
|
+
"module": "@dereekb/util",
|
|
12313
|
+
"subpath": "string/url",
|
|
12314
|
+
"signature": "hasUriScheme(input: string): boolean",
|
|
12315
|
+
"description": "Returns true if the input carries a URI scheme prefix.\n\nExamples where it will return true:\n- mailto:hello@dereekb.com\n- tel:+15550100\n- https://dereekb.com",
|
|
12316
|
+
"params": [
|
|
12317
|
+
{
|
|
12318
|
+
"name": "input",
|
|
12319
|
+
"type": "string",
|
|
12320
|
+
"description": "- The string to check.",
|
|
12321
|
+
"optional": false
|
|
12322
|
+
}
|
|
12323
|
+
],
|
|
12324
|
+
"returns": "Whether the input starts with a URI scheme.",
|
|
12325
|
+
"tags": [
|
|
12326
|
+
"string",
|
|
12327
|
+
"url",
|
|
12328
|
+
"uri",
|
|
12329
|
+
"scheme",
|
|
12330
|
+
"protocol",
|
|
12331
|
+
"predicate",
|
|
12332
|
+
"has",
|
|
12333
|
+
"hasurischeme"
|
|
12334
|
+
],
|
|
12335
|
+
"relatedSlugs": [
|
|
12336
|
+
"read-uri-scheme",
|
|
12337
|
+
"read-website-protocol"
|
|
12338
|
+
]
|
|
12339
|
+
},
|
|
12340
|
+
{
|
|
12341
|
+
"slug": "read-uri-scheme",
|
|
12342
|
+
"name": "readUriScheme",
|
|
12343
|
+
"kind": "function",
|
|
12344
|
+
"category": "string",
|
|
12345
|
+
"module": "@dereekb/util",
|
|
12346
|
+
"subpath": "string/url",
|
|
12347
|
+
"signature": "readUriScheme(input: string): Maybe<UriScheme>",
|
|
12348
|
+
"description": "Reads the URI scheme from the input string, if one exists. Does not include the trailing colon.",
|
|
12349
|
+
"params": [
|
|
12350
|
+
{
|
|
12351
|
+
"name": "input",
|
|
12352
|
+
"type": "string",
|
|
12353
|
+
"description": "- The URI string to extract the scheme from.",
|
|
12354
|
+
"optional": false
|
|
12355
|
+
}
|
|
12356
|
+
],
|
|
12357
|
+
"returns": "The scheme (e.g. `\"mailto\"`), or `undefined` if the input carries no scheme.",
|
|
12358
|
+
"tags": [
|
|
12359
|
+
"string",
|
|
12360
|
+
"url",
|
|
12361
|
+
"uri",
|
|
12362
|
+
"scheme",
|
|
12363
|
+
"protocol",
|
|
12364
|
+
"read",
|
|
12365
|
+
"readurischeme"
|
|
12366
|
+
],
|
|
12367
|
+
"relatedSlugs": [
|
|
12368
|
+
"has-uri-scheme",
|
|
12369
|
+
"read-website-protocol"
|
|
12370
|
+
]
|
|
12371
|
+
},
|
|
12182
12372
|
{
|
|
12183
12373
|
"slug": "expand-flatten-tree-function",
|
|
12184
12374
|
"name": "expandFlattenTreeFunction",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.43.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dbx-components-mcp": "dbx-components-mcp.js"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ts-morph": "^21.0.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@dereekb/dbx-cli": "13.
|
|
15
|
-
"@dereekb/util": "13.
|
|
14
|
+
"@dereekb/dbx-cli": "13.43.0",
|
|
15
|
+
"@dereekb/util": "13.43.0"
|
|
16
16
|
}
|
|
17
17
|
}
|