@hasna/domains 0.0.33 → 0.0.35
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/dist/cli/commands/dns.d.ts +14 -0
- package/dist/cli/commands/dns.d.ts.map +1 -1
- package/dist/cli/commands/owner.d.ts.map +1 -1
- package/dist/cli/index.js +4064 -23333
- package/dist/index.js +3359 -22650
- package/dist/mcp/index.js +26967 -46264
- package/dist/server/index.js +1 -1
- package/package.json +11 -4
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
import type { Command } from "commander";
|
|
2
|
+
/** Record types the store (local sqlite CHECK + cloud API) accepts on write. */
|
|
3
|
+
export declare const SUPPORTED_DNS_TYPES: Set<string>;
|
|
4
|
+
/**
|
|
5
|
+
* Split provider-returned records into persistable ones and skipped ones.
|
|
6
|
+
* Real zones always carry provider-managed records (SOA, and often CAA) whose
|
|
7
|
+
* types are outside the supported set; persisting them fails the local CHECK
|
|
8
|
+
* constraint and makes the cloud API return 400. `dns pull` must skip them.
|
|
9
|
+
*/
|
|
10
|
+
export declare function partitionPullableRecords<T extends {
|
|
11
|
+
type: string;
|
|
12
|
+
}>(records: T[]): {
|
|
13
|
+
keep: T[];
|
|
14
|
+
skipped: Map<string, number>;
|
|
15
|
+
};
|
|
2
16
|
export declare function registerDnsCommands(program: Command): void;
|
|
3
17
|
//# sourceMappingURL=dns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/dns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/dns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBzC,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,aAA4D,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EACjE,OAAO,EAAE,CAAC,EAAE,GACX;IAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAW7C;AAoBD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkY1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/owner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BzC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/owner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BzC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6U3D"}
|