@gaganref/confect-core 10.3.1-fork.2 → 10.3.1-fork.20

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.
Files changed (88) hide show
  1. package/dist/App.d.ts +14 -3
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +6 -3
  4. package/dist/App.js.map +1 -1
  5. package/dist/Auth.d.ts +2 -2
  6. package/dist/Auth.d.ts.map +1 -1
  7. package/dist/Auth.js.map +1 -1
  8. package/dist/Callback.d.ts +3 -3
  9. package/dist/Callback.d.ts.map +1 -1
  10. package/dist/Callback.js.map +1 -1
  11. package/dist/Component.d.ts +8 -8
  12. package/dist/Component.d.ts.map +1 -1
  13. package/dist/Component.js.map +1 -1
  14. package/dist/FunctionProvenance.d.ts +2 -2
  15. package/dist/FunctionProvenance.d.ts.map +1 -1
  16. package/dist/FunctionProvenance.js.map +1 -1
  17. package/dist/FunctionSpec.d.ts +314 -4
  18. package/dist/FunctionSpec.d.ts.map +1 -1
  19. package/dist/FunctionSpec.js +30 -3
  20. package/dist/FunctionSpec.js.map +1 -1
  21. package/dist/GenericId.d.ts +2 -2
  22. package/dist/GenericId.d.ts.map +1 -1
  23. package/dist/GenericId.js.map +1 -1
  24. package/dist/GroupPath.d.ts +1 -1
  25. package/dist/GroupPath.d.ts.map +1 -1
  26. package/dist/GroupPath.js.map +1 -1
  27. package/dist/GroupSpec.d.ts +4 -4
  28. package/dist/GroupSpec.d.ts.map +1 -1
  29. package/dist/GroupSpec.js.map +1 -1
  30. package/dist/Http.d.ts +1 -1
  31. package/dist/Http.d.ts.map +1 -1
  32. package/dist/Http.js.map +1 -1
  33. package/dist/Manifest.d.ts +1 -1
  34. package/dist/Manifest.d.ts.map +1 -1
  35. package/dist/Manifest.js.map +1 -1
  36. package/dist/MiddlewareAttachment.d.ts +1 -1
  37. package/dist/MiddlewareAttachment.d.ts.map +1 -1
  38. package/dist/MiddlewareAttachment.js.map +1 -1
  39. package/dist/MiddlewareSpec.d.ts +3 -3
  40. package/dist/MiddlewareSpec.d.ts.map +1 -1
  41. package/dist/MiddlewareSpec.js.map +1 -1
  42. package/dist/Profile.d.ts +25 -0
  43. package/dist/Profile.d.ts.map +1 -0
  44. package/dist/Profile.js +7 -0
  45. package/dist/Profile.js.map +1 -0
  46. package/dist/Ref.d.ts +5 -5
  47. package/dist/Ref.d.ts.map +1 -1
  48. package/dist/Ref.js.map +1 -1
  49. package/dist/Refs.d.ts +5 -5
  50. package/dist/Refs.d.ts.map +1 -1
  51. package/dist/Refs.js.map +1 -1
  52. package/dist/SchemaToValidator.d.ts +2 -2
  53. package/dist/SchemaToValidator.d.ts.map +1 -1
  54. package/dist/SchemaToValidator.js.map +1 -1
  55. package/dist/Spec.d.ts +1 -1
  56. package/dist/Spec.d.ts.map +1 -1
  57. package/dist/Spec.js.map +1 -1
  58. package/dist/SystemFields.d.ts +2 -2
  59. package/dist/SystemFields.d.ts.map +1 -1
  60. package/dist/SystemFields.js.map +1 -1
  61. package/dist/Table.d.ts +3 -3
  62. package/dist/Table.d.ts.map +1 -1
  63. package/dist/Table.js.map +1 -1
  64. package/dist/index.d.ts +30 -29
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +2 -1
  67. package/package.json +1 -1
  68. package/src/App.ts +20 -4
  69. package/src/Auth.ts +2 -2
  70. package/src/Callback.ts +3 -3
  71. package/src/Component.ts +11 -11
  72. package/src/FunctionProvenance.ts +3 -3
  73. package/src/FunctionSpec.ts +380 -8
  74. package/src/GenericId.ts +2 -2
  75. package/src/GroupPath.ts +1 -1
  76. package/src/GroupSpec.ts +5 -5
  77. package/src/Http.ts +1 -1
  78. package/src/Manifest.ts +1 -1
  79. package/src/MiddlewareAttachment.ts +1 -1
  80. package/src/MiddlewareSpec.ts +4 -4
  81. package/src/Profile.ts +34 -0
  82. package/src/Ref.ts +6 -6
  83. package/src/Refs.ts +5 -5
  84. package/src/SchemaToValidator.ts +3 -3
  85. package/src/Spec.ts +1 -1
  86. package/src/SystemFields.ts +2 -2
  87. package/src/Table.ts +4 -4
  88. package/src/index.ts +30 -29
package/src/Refs.ts CHANGED
@@ -2,11 +2,11 @@ import type { Types } from "effect";
2
2
  import { pipe } from "effect/Function";
3
3
  import * as Option from "effect/Option";
4
4
  import * as Record from "effect/Record";
5
- import type * as FunctionSpec from "./FunctionSpec";
6
- import type * as GroupSpec from "./GroupSpec";
7
- import type * as MiddlewareSpec from "./MiddlewareSpec";
8
- import * as Ref from "./Ref";
9
- import * as Spec from "./Spec";
5
+ import type * as FunctionSpec from "./FunctionSpec.js";
6
+ import type * as GroupSpec from "./GroupSpec.js";
7
+ import type * as MiddlewareSpec from "./MiddlewareSpec.js";
8
+ import * as Ref from "./Ref.js";
9
+ import * as Spec from "./Spec.js";
10
10
 
11
11
  export type Refs<
12
12
  Spec_ extends Spec.AnyWithProps,
@@ -1,4 +1,4 @@
1
- import * as IdScope from "./IdScope";
1
+ import * as IdScope from "./IdScope.js";
2
2
  import type {
3
3
  GenericId as ConvexGenericId,
4
4
  PropertyValidators,
@@ -30,7 +30,7 @@ import * as Schema from "effect/Schema";
30
30
  import * as SchemaAST from "effect/SchemaAST";
31
31
  import * as String from "effect/String";
32
32
 
33
- import * as GenericId from "./GenericId";
33
+ import * as GenericId from "./GenericId.js";
34
34
  import type {
35
35
  IsAny,
36
36
  IsOptional,
@@ -39,7 +39,7 @@ import type {
39
39
  IsUnion,
40
40
  TypeError,
41
41
  UnionToTuple,
42
- } from "./Types";
42
+ } from "./Types.js";
43
43
 
44
44
  // Args
45
45
 
package/src/Spec.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Predicate from "effect/Predicate";
2
2
  import * as Record from "effect/Record";
3
- import * as GroupSpec from "./GroupSpec";
3
+ import * as GroupSpec from "./GroupSpec.js";
4
4
 
5
5
  export const TypeId = "~@confect/core/Spec";
6
6
  export type TypeId = typeof TypeId;
@@ -1,4 +1,4 @@
1
- import type * as IdScope from "./IdScope";
1
+ import type * as IdScope from "./IdScope.js";
2
2
  import type { SystemFields as NonIdSystemFields } from "convex/server";
3
3
  import { pipe } from "effect/Function";
4
4
  import * as Array from "effect/Array";
@@ -11,7 +11,7 @@ import * as SchemaAST from "effect/SchemaAST";
11
11
  import * as SchemaGetter from "effect/SchemaGetter";
12
12
  import * as SchemaTransformation from "effect/SchemaTransformation";
13
13
  import * as Struct from "effect/Struct";
14
- import * as GenericId from "./GenericId";
14
+ import * as GenericId from "./GenericId.js";
15
15
 
16
16
  /**
17
17
  * Produces a schema for Convex system fields. In Confect, system fields include
package/src/Table.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as IdScope from "./IdScope";
2
- import * as Lazy from "./Lazy";
3
- import * as SystemFields from "./SystemFields";
4
- import type { TableSchemaToTableValidator } from "./SchemaToValidator";
1
+ import * as IdScope from "./IdScope.js";
2
+ import * as Lazy from "./Lazy.js";
3
+ import * as SystemFields from "./SystemFields.js";
4
+ import type { TableSchemaToTableValidator } from "./SchemaToValidator.js";
5
5
  import type {
6
6
  SystemFields as ConvexSystemFields,
7
7
  Expand,
package/src/index.ts CHANGED
@@ -1,29 +1,30 @@
1
- export * as Callback from "./Callback";
2
- export * as FunctionProvenance from "./FunctionProvenance";
3
- export * as FunctionSpec from "./FunctionSpec";
4
- export * as GenericId from "./GenericId";
5
- export * as App from "./App";
6
- export * as Auth from "./Auth";
7
- export * as Component from "./Component";
8
- export * as Env from "./Env";
9
- export * as Http from "./Http";
10
- export * as IdScope from "./IdScope";
11
- export * as GroupPath from "./GroupPath";
12
- export * as GroupSpec from "./GroupSpec";
13
- export * as Identifier from "./Identifier";
14
- export * as Lazy from "./Lazy";
15
- export * as Manifest from "./Manifest";
16
- export * as MiddlewareAttachment from "./MiddlewareAttachment";
17
- export * as MiddlewareSpec from "./MiddlewareSpec";
18
- export * as PaginationError from "./PaginationError";
19
- export * as PaginationOptions from "./PaginationOptions";
20
- export * as PaginationResult from "./PaginationResult";
21
- export * as Ref from "./Ref";
22
- export * as Refs from "./Refs";
23
- export * as RuntimeAndFunctionType from "./RuntimeAndFunctionType";
24
- export * as SchemaToValidator from "./SchemaToValidator";
25
- export * as Spec from "./Spec";
26
- export * as SystemFields from "./SystemFields";
27
- export * as Table from "./Table";
28
- export * as Types from "./Types";
29
- export * as UserIdentity from "./UserIdentity";
1
+ export * as Callback from "./Callback.js";
2
+ export * as FunctionProvenance from "./FunctionProvenance.js";
3
+ export * as FunctionSpec from "./FunctionSpec.js";
4
+ export * as GenericId from "./GenericId.js";
5
+ export * as App from "./App.js";
6
+ export * as Auth from "./Auth.js";
7
+ export * as Component from "./Component.js";
8
+ export * as Env from "./Env.js";
9
+ export * as Http from "./Http.js";
10
+ export * as IdScope from "./IdScope.js";
11
+ export * as GroupPath from "./GroupPath.js";
12
+ export * as GroupSpec from "./GroupSpec.js";
13
+ export * as Identifier from "./Identifier.js";
14
+ export * as Lazy from "./Lazy.js";
15
+ export * as Manifest from "./Manifest.js";
16
+ export * as MiddlewareAttachment from "./MiddlewareAttachment.js";
17
+ export * as MiddlewareSpec from "./MiddlewareSpec.js";
18
+ export * as PaginationError from "./PaginationError.js";
19
+ export * as PaginationOptions from "./PaginationOptions.js";
20
+ export * as PaginationResult from "./PaginationResult.js";
21
+ export * as Profile from "./Profile.js";
22
+ export * as Ref from "./Ref.js";
23
+ export * as Refs from "./Refs.js";
24
+ export * as RuntimeAndFunctionType from "./RuntimeAndFunctionType.js";
25
+ export * as SchemaToValidator from "./SchemaToValidator.js";
26
+ export * as Spec from "./Spec.js";
27
+ export * as SystemFields from "./SystemFields.js";
28
+ export * as Table from "./Table.js";
29
+ export * as Types from "./Types.js";
30
+ export * as UserIdentity from "./UserIdentity.js";