@514labs/moose-lib 0.6.239-ci-3-g92b829a6 → 0.6.239-ci-3-g6e595e05

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.
@@ -921,8 +921,8 @@ var handleCodec = (t, checker) => {
921
921
  }
922
922
  return codecType.value;
923
923
  };
924
- var toColumns = (t, checker, options) => {
925
- if (!options?.allowIndexSignatures && checker.getIndexInfosOfType(t).length !== 0) {
924
+ var toColumns = (t, checker) => {
925
+ if (checker.getIndexInfosOfType(t).length !== 0) {
926
926
  console.log("[CompilerPlugin]", checker.getIndexInfosOfType(t));
927
927
  throwIndexTypeError(t, checker);
928
928
  }
@@ -1010,14 +1010,11 @@ var typiaTypeGuard = (node) => {
1010
1010
  var transformNewMooseResource = (node, checker) => {
1011
1011
  const typeName = checker.getSymbolAtLocation(node.expression).name;
1012
1012
  const typeNode = node.typeArguments[0];
1013
- const allowIndexSignatures = ["IngestApi", "Stream"].includes(typeName);
1014
1013
  const internalArguments = typeName === "DeadLetterQueue" ? [typiaTypeGuard(node)] : [
1015
1014
  typiaJsonSchemas(typeNode),
1016
1015
  parseAsAny(
1017
1016
  JSON.stringify(
1018
- toColumns(checker.getTypeAtLocation(typeNode), checker, {
1019
- allowIndexSignatures
1020
- })
1017
+ toColumns(checker.getTypeAtLocation(typeNode), checker)
1021
1018
  )
1022
1019
  )
1023
1020
  ];