@ttoss/appsync-api 0.18.8 → 0.18.9

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/index.d.mts CHANGED
@@ -88,13 +88,13 @@ type StringOrImport = string | {
88
88
  */
89
89
  type AuthenticationType = 'API_KEY' | 'AWS_LAMBDA' | 'AWS_IAM' | 'OPENID_CONNECT' | 'AMAZON_COGNITO_USER_POOLS';
90
90
  declare const createApiTemplate: ({ additionalAuthenticationProviders, authenticationType, schemaComposer, dataSource, lambdaFunction, userPoolConfig, customDomain, }: {
91
- additionalAuthenticationProviders?: AuthenticationType[] | undefined;
92
- authenticationType?: AuthenticationType | undefined;
91
+ additionalAuthenticationProviders?: AuthenticationType[];
92
+ authenticationType?: AuthenticationType;
93
93
  customDomain?: {
94
94
  domainName: string;
95
95
  certificateArn: string;
96
- hostedZoneName?: string | undefined;
97
- } | undefined;
96
+ hostedZoneName?: string;
97
+ };
98
98
  dataSource: {
99
99
  roleArn: StringOrImport;
100
100
  };
@@ -111,7 +111,7 @@ declare const createApiTemplate: ({ additionalAuthenticationProviders, authentic
111
111
  awsRegion: StringOrImport;
112
112
  defaultAction: 'ALLOW' | 'DENY';
113
113
  userPoolId: StringOrImport;
114
- } | undefined;
114
+ };
115
115
  }) => CloudFormationTemplate;
116
116
 
117
117
  type AppSyncResolverHandler<TArguments, TResult, TSource = Record<string, any> | null> = AppSyncResolverHandler$1<TArguments, TResult, TSource>;
package/dist/index.d.ts CHANGED
@@ -88,13 +88,13 @@ type StringOrImport = string | {
88
88
  */
89
89
  type AuthenticationType = 'API_KEY' | 'AWS_LAMBDA' | 'AWS_IAM' | 'OPENID_CONNECT' | 'AMAZON_COGNITO_USER_POOLS';
90
90
  declare const createApiTemplate: ({ additionalAuthenticationProviders, authenticationType, schemaComposer, dataSource, lambdaFunction, userPoolConfig, customDomain, }: {
91
- additionalAuthenticationProviders?: AuthenticationType[] | undefined;
92
- authenticationType?: AuthenticationType | undefined;
91
+ additionalAuthenticationProviders?: AuthenticationType[];
92
+ authenticationType?: AuthenticationType;
93
93
  customDomain?: {
94
94
  domainName: string;
95
95
  certificateArn: string;
96
- hostedZoneName?: string | undefined;
97
- } | undefined;
96
+ hostedZoneName?: string;
97
+ };
98
98
  dataSource: {
99
99
  roleArn: StringOrImport;
100
100
  };
@@ -111,7 +111,7 @@ declare const createApiTemplate: ({ additionalAuthenticationProviders, authentic
111
111
  awsRegion: StringOrImport;
112
112
  defaultAction: 'ALLOW' | 'DENY';
113
113
  userPoolId: StringOrImport;
114
- } | undefined;
114
+ };
115
115
  }) => CloudFormationTemplate;
116
116
 
117
117
  type AppSyncResolverHandler<TArguments, TResult, TSource = Record<string, any> | null> = AppSyncResolverHandler$1<TArguments, TResult, TSource>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/appsync-api",
3
- "version": "0.18.8",
3
+ "version": "0.18.9",
4
4
  "description": "A library for building GraphQL APIs for AWS AppSync.",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -24,11 +24,11 @@
24
24
  ],
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@ttoss/cloudformation": "^0.9.2"
27
+ "@ttoss/cloudformation": "^0.9.3"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "graphql": "^16.6.0",
31
- "@ttoss/graphql-api": "^0.5.3"
31
+ "@ttoss/graphql-api": "^0.6.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/aws-lambda": "^8.10.130",
@@ -36,10 +36,10 @@
36
36
  "graphql-shield": "^7.6.5",
37
37
  "jest": "^29.7.0",
38
38
  "tsup": "^8.0.2",
39
- "@ttoss/config": "^1.31.5",
40
- "@ttoss/graphql-api": "^0.5.3",
41
- "@ttoss/ids": "^0.1.1",
42
- "carlin": "^1.31.14"
39
+ "@ttoss/graphql-api": "^0.6.0",
40
+ "@ttoss/ids": "^0.2.0",
41
+ "@ttoss/config": "^1.32.0",
42
+ "carlin": "^1.31.15"
43
43
  },
44
44
  "keywords": [
45
45
  "api",