@suss/packs 0.23.0 → 0.24.1
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/README.md +2 -0
- package/dist/activerecord.d.ts +6 -1
- package/dist/activerecord.js +16 -0
- package/dist/aiohttp.d.ts +1 -0
- package/dist/aiohttp.js +43 -0
- package/dist/apollo-client.d.ts +1 -1
- package/dist/apollo-client.js +7 -0
- package/dist/apollo.d.ts +1 -1
- package/dist/apollo.js +7 -0
- package/dist/aws-dynamodb.d.ts +1 -1
- package/dist/aws-dynamodb.js +10 -0
- package/dist/aws-eventbridge.d.ts +1 -1
- package/dist/aws-eventbridge.js +7 -0
- package/dist/aws-lambda.d.ts +1 -1
- package/dist/aws-lambda.js +7 -0
- package/dist/aws-s3.d.ts +1 -1
- package/dist/aws-s3.js +7 -0
- package/dist/aws-secrets-manager.d.ts +1 -1
- package/dist/aws-secrets-manager.js +7 -0
- package/dist/aws-sns.d.ts +1 -1
- package/dist/aws-sns.js +7 -0
- package/dist/aws-sqs.d.ts +1 -1
- package/dist/aws-sqs.js +7 -0
- package/dist/aws-ssm.d.ts +1 -1
- package/dist/aws-ssm.js +7 -0
- package/dist/axios.d.ts +1 -1
- package/dist/axios.js +7 -0
- package/dist/cloudflare-workers.d.ts +1 -1
- package/dist/cloudflare-workers.js +10 -0
- package/dist/drizzle.d.ts +1 -1
- package/dist/drizzle.js +7 -0
- package/dist/express.d.ts +1 -1
- package/dist/express.js +7 -0
- package/dist/faraday.d.ts +1 -0
- package/dist/faraday.js +48 -0
- package/dist/fastapi.d.ts +1 -1
- package/dist/fastapi.js +7 -0
- package/dist/fastify.d.ts +1 -1
- package/dist/fastify.js +7 -0
- package/dist/fetch.d.ts +1 -1
- package/dist/fetch.js +8 -0
- package/dist/flask-restx.d.ts +1 -1
- package/dist/flask-restx.js +7 -0
- package/dist/gcs.d.ts +1 -1
- package/dist/gcs.js +7 -0
- package/dist/graphql-ruby.d.ts +1 -1
- package/dist/graphql-ruby.js +13 -0
- package/dist/hono.d.ts +1 -1
- package/dist/hono.js +7 -0
- package/dist/httpx.d.ts +1 -0
- package/dist/httpx.js +53 -0
- package/dist/mongoose.d.ts +1 -1
- package/dist/mongoose.js +7 -0
- package/dist/nestjs-graphql.d.ts +1 -1
- package/dist/nestjs-graphql.js +7 -0
- package/dist/nestjs-microservices.d.ts +1 -1
- package/dist/nestjs-microservices.js +7 -0
- package/dist/nestjs-rest.d.ts +1 -1
- package/dist/nestjs-rest.js +7 -0
- package/dist/net-http.d.ts +1 -0
- package/dist/net-http.js +64 -0
- package/dist/nextjs.d.ts +1 -1
- package/dist/nextjs.js +7 -0
- package/dist/node.d.ts +1 -1
- package/dist/node.js +8 -0
- package/dist/package-exports.d.ts +1 -1
- package/dist/package-exports.js +7 -0
- package/dist/prisma.d.ts +1 -1
- package/dist/prisma.js +7 -0
- package/dist/rails.d.ts +1 -1
- package/dist/rails.js +13 -0
- package/dist/react-query.d.ts +1 -1
- package/dist/react-query.js +7 -0
- package/dist/react-router.d.ts +1 -1
- package/dist/react-router.js +10 -0
- package/dist/react.d.ts +1 -1
- package/dist/react.js +7 -0
- package/dist/redis.d.ts +1 -1
- package/dist/redis.js +11 -0
- package/dist/requests.d.ts +1 -0
- package/dist/requests.js +54 -0
- package/dist/sqlalchemy.d.ts +1 -1
- package/dist/sqlalchemy.js +13 -0
- package/dist/ts-rest.d.ts +1 -1
- package/dist/ts-rest.js +7 -0
- package/dist/zustand.d.ts +1 -1
- package/dist/zustand.js +7 -0
- package/package.json +35 -10
package/README.md
CHANGED
package/dist/activerecord.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-activerecord';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-activerecord';
|
|
2
|
+
import '@suss/client-aiohttp';
|
|
2
3
|
import '@suss/client-apollo';
|
|
3
4
|
import '@suss/framework-apollo';
|
|
4
5
|
import '@suss/framework-aws-dynamodb';
|
|
@@ -13,6 +14,7 @@ import '@suss/client-axios';
|
|
|
13
14
|
import '@suss/framework-cloudflare-workers';
|
|
14
15
|
import '@suss/framework-drizzle';
|
|
15
16
|
import '@suss/framework-express';
|
|
17
|
+
import '@suss/client-faraday';
|
|
16
18
|
import '@suss/framework-fastapi';
|
|
17
19
|
import '@suss/framework-fastify';
|
|
18
20
|
import '@suss/client-web';
|
|
@@ -20,10 +22,12 @@ import '@suss/framework-flask-restx';
|
|
|
20
22
|
import '@suss/framework-gcs';
|
|
21
23
|
import '@suss/framework-graphql-ruby';
|
|
22
24
|
import '@suss/framework-hono';
|
|
25
|
+
import '@suss/client-httpx';
|
|
23
26
|
import '@suss/framework-mongoose';
|
|
24
27
|
import '@suss/framework-nestjs-graphql';
|
|
25
28
|
import '@suss/framework-nestjs-microservices';
|
|
26
29
|
import '@suss/framework-nestjs-rest';
|
|
30
|
+
import '@suss/client-net-http';
|
|
27
31
|
import '@suss/framework-nextjs';
|
|
28
32
|
import '@suss/runtime-node';
|
|
29
33
|
import '@suss/framework-package-exports';
|
|
@@ -33,6 +37,7 @@ import '@suss/framework-react-query';
|
|
|
33
37
|
import '@suss/framework-react-router';
|
|
34
38
|
import '@suss/framework-react';
|
|
35
39
|
import '@suss/framework-redis';
|
|
40
|
+
import '@suss/client-requests';
|
|
36
41
|
import '@suss/framework-sqlalchemy';
|
|
37
42
|
import '@suss/framework-ts-rest';
|
|
38
43
|
import '@suss/framework-zustand';
|
package/dist/activerecord.js
CHANGED
|
@@ -48,8 +48,24 @@ function activeRecordFramework(options) {
|
|
|
48
48
|
storage: activeRecordStorage(options)
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
+
var declares = {
|
|
52
|
+
kind: "effects",
|
|
53
|
+
package: "@suss/framework-activerecord",
|
|
54
|
+
dependencies: [
|
|
55
|
+
{ ecosystem: "rubygems", name: "activerecord" },
|
|
56
|
+
{ ecosystem: "rubygems", name: "rails" }
|
|
57
|
+
],
|
|
58
|
+
reads: "ActiveRecord calls (Ruby): a call matches when the constant its receivers start at reaches `ActiveRecord::Base`, following what each class extends through the project.",
|
|
59
|
+
configuration: {
|
|
60
|
+
file: "suss.activerecord.json",
|
|
61
|
+
example: { storageSystem: "postgresql" },
|
|
62
|
+
required: true,
|
|
63
|
+
why: "which database is behind the connection: postgresql, mysql, or sqlite. ActiveRecord talks to all of them and database.yml settles which, so the pack cannot."
|
|
64
|
+
}
|
|
65
|
+
};
|
|
51
66
|
var index_default = activeRecordFramework;
|
|
52
67
|
export {
|
|
68
|
+
declares,
|
|
53
69
|
index_default as default,
|
|
54
70
|
optionsSchema
|
|
55
71
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { declares, default } from '@suss/client-aiohttp';
|
package/dist/aiohttp.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// ../client/aiohttp/dist/index.js
|
|
2
|
+
var VERB_METHODS = {
|
|
3
|
+
get: "GET",
|
|
4
|
+
post: "POST",
|
|
5
|
+
put: "PUT",
|
|
6
|
+
patch: "PATCH",
|
|
7
|
+
delete: "DELETE",
|
|
8
|
+
head: "HEAD",
|
|
9
|
+
options: "OPTIONS"
|
|
10
|
+
};
|
|
11
|
+
function aiohttpClient() {
|
|
12
|
+
return {
|
|
13
|
+
name: "aiohttp",
|
|
14
|
+
protocol: "http",
|
|
15
|
+
discovery: [],
|
|
16
|
+
clients: [
|
|
17
|
+
{
|
|
18
|
+
type: "clientCall",
|
|
19
|
+
importModule: ["aiohttp"],
|
|
20
|
+
verbAttributeNames: VERB_METHODS,
|
|
21
|
+
url: { position: 0, keyword: "url" },
|
|
22
|
+
methodCall: {
|
|
23
|
+
attribute: "request",
|
|
24
|
+
methodPosition: 0,
|
|
25
|
+
methodKeyword: "method",
|
|
26
|
+
urlPosition: 1
|
|
27
|
+
},
|
|
28
|
+
receiverConstructors: ["ClientSession"]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
var declares = {
|
|
34
|
+
kind: "client",
|
|
35
|
+
package: "@suss/client-aiohttp",
|
|
36
|
+
dependencies: [{ ecosystem: "pypi", name: "aiohttp" }],
|
|
37
|
+
reads: "aiohttp call sites (Python): the request methods on a `ClientSession`, opened with `async with` or held in an assignment."
|
|
38
|
+
};
|
|
39
|
+
var index_default = aiohttpClient;
|
|
40
|
+
export {
|
|
41
|
+
declares,
|
|
42
|
+
index_default as default
|
|
43
|
+
};
|
package/dist/apollo-client.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/client-apollo';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/client-apollo';
|
package/dist/apollo-client.js
CHANGED
|
@@ -153,8 +153,15 @@ function apolloClientPack(options = {}) {
|
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
|
+
var declares = {
|
|
157
|
+
kind: "client",
|
|
158
|
+
package: "@suss/client-apollo",
|
|
159
|
+
dependencies: [{ ecosystem: "npm", name: "@apollo/client" }],
|
|
160
|
+
reads: "`@apollo/client` hooks + imperative `client.query`."
|
|
161
|
+
};
|
|
156
162
|
var index_default = apolloClientPack;
|
|
157
163
|
export {
|
|
164
|
+
declares,
|
|
158
165
|
index_default as default,
|
|
159
166
|
optionsSchema
|
|
160
167
|
};
|
package/dist/apollo.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-apollo';
|
|
1
|
+
export { declares, default } from '@suss/framework-apollo';
|
package/dist/apollo.js
CHANGED
|
@@ -84,7 +84,14 @@ function apolloFramework() {
|
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
+
var declares = {
|
|
88
|
+
kind: "framework",
|
|
89
|
+
package: "@suss/framework-apollo",
|
|
90
|
+
dependencies: [{ ecosystem: "npm", name: "@apollo/server" }],
|
|
91
|
+
reads: "Apollo Server resolvers (code-first)."
|
|
92
|
+
};
|
|
87
93
|
var index_default = apolloFramework;
|
|
88
94
|
export {
|
|
95
|
+
declares,
|
|
89
96
|
index_default as default
|
|
90
97
|
};
|
package/dist/aws-dynamodb.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-aws-dynamodb';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-aws-dynamodb';
|
package/dist/aws-dynamodb.js
CHANGED
|
@@ -328,8 +328,18 @@ function dynamoFramework(options = {}) {
|
|
|
328
328
|
...options.requiresImport === void 0 ? {} : { requiresImport: options.requiresImport }
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
+
var declares = {
|
|
332
|
+
kind: "effects",
|
|
333
|
+
package: "@suss/framework-aws-dynamodb",
|
|
334
|
+
dependencies: [
|
|
335
|
+
{ ecosystem: "npm", name: "@aws-sdk/lib-dynamodb" },
|
|
336
|
+
{ ecosystem: "npm", name: "@aws-sdk/client-dynamodb" }
|
|
337
|
+
],
|
|
338
|
+
reads: "AWS SDK v3 DynamoDB calls, emits storage-access interactions."
|
|
339
|
+
};
|
|
331
340
|
var index_default = dynamoFramework;
|
|
332
341
|
export {
|
|
342
|
+
declares,
|
|
333
343
|
index_default as default,
|
|
334
344
|
optionsSchema
|
|
335
345
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-aws-eventbridge';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-aws-eventbridge';
|
package/dist/aws-eventbridge.js
CHANGED
|
@@ -88,8 +88,15 @@ function eventBridgeFramework(options = {}) {
|
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
90
|
}
|
|
91
|
+
var declares = {
|
|
92
|
+
kind: "effects",
|
|
93
|
+
package: "@suss/framework-aws-eventbridge",
|
|
94
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-eventbridge" }],
|
|
95
|
+
reads: "AWS EventBridge `PutEvents` producer calls, emits message-bus interactions."
|
|
96
|
+
};
|
|
91
97
|
var index_default = eventBridgeFramework;
|
|
92
98
|
export {
|
|
99
|
+
declares,
|
|
93
100
|
index_default as default,
|
|
94
101
|
optionsSchema
|
|
95
102
|
};
|
package/dist/aws-lambda.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-aws-lambda';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-aws-lambda';
|
package/dist/aws-lambda.js
CHANGED
|
@@ -430,8 +430,15 @@ function awsLambdaFramework(_options = {}) {
|
|
|
430
430
|
declarations: declarationsIn(invokes)
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
+
var declares = {
|
|
434
|
+
kind: "framework",
|
|
435
|
+
package: "@suss/framework-aws-lambda",
|
|
436
|
+
dependencies: [{ ecosystem: "npm", name: "@types/aws-lambda" }],
|
|
437
|
+
reads: "AWS Lambda HTTP handlers, paired to SAM / CloudFormation-declared routes."
|
|
438
|
+
};
|
|
433
439
|
var index_default = awsLambdaFramework;
|
|
434
440
|
export {
|
|
441
|
+
declares,
|
|
435
442
|
index_default as default,
|
|
436
443
|
optionsSchema
|
|
437
444
|
};
|
package/dist/aws-s3.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-aws-s3';
|
|
1
|
+
export { declares, default } from '@suss/framework-aws-s3';
|
package/dist/aws-s3.js
CHANGED
|
@@ -34,7 +34,14 @@ function s3Framework() {
|
|
|
34
34
|
protocol: "s3"
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
+
var declares = {
|
|
38
|
+
kind: "effects",
|
|
39
|
+
package: "@suss/framework-aws-s3",
|
|
40
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-s3" }],
|
|
41
|
+
reads: "AWS SDK v3 S3 object calls, emits storage-access interactions."
|
|
42
|
+
};
|
|
37
43
|
var index_default = s3Framework;
|
|
38
44
|
export {
|
|
45
|
+
declares,
|
|
39
46
|
index_default as default
|
|
40
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-aws-secrets-manager';
|
|
1
|
+
export { declares, default } from '@suss/framework-aws-secrets-manager';
|
|
@@ -28,7 +28,14 @@ function secretsManagerFramework() {
|
|
|
28
28
|
protocol: "aws.secretsmanager"
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
+
var declares = {
|
|
32
|
+
kind: "effects",
|
|
33
|
+
package: "@suss/framework-aws-secrets-manager",
|
|
34
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-secrets-manager" }],
|
|
35
|
+
reads: "AWS Secrets Manager calls, emits storage-access interactions against the secret."
|
|
36
|
+
};
|
|
31
37
|
var index_default = secretsManagerFramework;
|
|
32
38
|
export {
|
|
39
|
+
declares,
|
|
33
40
|
index_default as default
|
|
34
41
|
};
|
package/dist/aws-sns.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-aws-sns';
|
|
1
|
+
export { declares, default } from '@suss/framework-aws-sns';
|
package/dist/aws-sns.js
CHANGED
|
@@ -44,7 +44,14 @@ function snsFramework() {
|
|
|
44
44
|
protocol: "sns"
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
+
var declares = {
|
|
48
|
+
kind: "effects",
|
|
49
|
+
package: "@suss/framework-aws-sns",
|
|
50
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-sns" }],
|
|
51
|
+
reads: "AWS SDK v3 SNS `Publish` and `PublishBatch` calls, emits message-send interactions on the topic."
|
|
52
|
+
};
|
|
47
53
|
var index_default = snsFramework;
|
|
48
54
|
export {
|
|
55
|
+
declares,
|
|
49
56
|
index_default as default
|
|
50
57
|
};
|
package/dist/aws-sqs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-aws-sqs';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-aws-sqs';
|
package/dist/aws-sqs.js
CHANGED
|
@@ -203,8 +203,15 @@ function sqsFramework(options = {}) {
|
|
|
203
203
|
]
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
+
var declares = {
|
|
207
|
+
kind: "effects",
|
|
208
|
+
package: "@suss/framework-aws-sqs",
|
|
209
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-sqs" }],
|
|
210
|
+
reads: "AWS SDK v3 SQS producer calls, emits message-send interactions."
|
|
211
|
+
};
|
|
206
212
|
var index_default = sqsFramework;
|
|
207
213
|
export {
|
|
214
|
+
declares,
|
|
208
215
|
index_default as default,
|
|
209
216
|
optionsSchema
|
|
210
217
|
};
|
package/dist/aws-ssm.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-aws-ssm';
|
|
1
|
+
export { declares, default } from '@suss/framework-aws-ssm';
|
package/dist/aws-ssm.js
CHANGED
|
@@ -25,7 +25,14 @@ function ssmFramework() {
|
|
|
25
25
|
protocol: "aws.ssm"
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
+
var declares = {
|
|
29
|
+
kind: "effects",
|
|
30
|
+
package: "@suss/framework-aws-ssm",
|
|
31
|
+
dependencies: [{ ecosystem: "npm", name: "@aws-sdk/client-ssm" }],
|
|
32
|
+
reads: "AWS SSM Parameter Store calls, emits storage-access interactions against the parameter."
|
|
33
|
+
};
|
|
28
34
|
var index_default = ssmFramework;
|
|
29
35
|
export {
|
|
36
|
+
declares,
|
|
30
37
|
index_default as default
|
|
31
38
|
};
|
package/dist/axios.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/client-axios';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/client-axios';
|
package/dist/axios.js
CHANGED
|
@@ -118,8 +118,15 @@ function axiosPack(options = {}) {
|
|
|
118
118
|
failureDelivery: "exception"
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
+
var declares = {
|
|
122
|
+
kind: "client",
|
|
123
|
+
package: "@suss/client-axios",
|
|
124
|
+
dependencies: [{ ecosystem: "npm", name: "axios" }],
|
|
125
|
+
reads: "axios call sites + `axios.create` factories."
|
|
126
|
+
};
|
|
121
127
|
var index_default = axiosPack;
|
|
122
128
|
export {
|
|
129
|
+
declares,
|
|
123
130
|
index_default as default,
|
|
124
131
|
optionsSchema
|
|
125
132
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-cloudflare-workers';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-cloudflare-workers';
|
|
@@ -566,8 +566,18 @@ function cloudflareWorkersFramework(options = {}) {
|
|
|
566
566
|
invocationRecognizers: [storeBindingRecognizer]
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
+
var declares = {
|
|
570
|
+
kind: "framework",
|
|
571
|
+
package: "@suss/framework-cloudflare-workers",
|
|
572
|
+
dependencies: [
|
|
573
|
+
{ ecosystem: "npm", name: "wrangler" },
|
|
574
|
+
{ ecosystem: "npm", name: "@cloudflare/workers-types" }
|
|
575
|
+
],
|
|
576
|
+
reads: "A Cloudflare Workers entrypoint: one unit per trigger the default export defines, and the bindings its code reads off the argument they arrive in."
|
|
577
|
+
};
|
|
569
578
|
var index_default = cloudflareWorkersFramework;
|
|
570
579
|
export {
|
|
580
|
+
declares,
|
|
571
581
|
index_default as default,
|
|
572
582
|
optionsSchema
|
|
573
583
|
};
|
package/dist/drizzle.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-drizzle';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-drizzle';
|
package/dist/drizzle.js
CHANGED
|
@@ -336,8 +336,15 @@ function drizzleFramework(options = {}) {
|
|
|
336
336
|
declarations: declarationsIn([raw])
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
+
var declares = {
|
|
340
|
+
kind: "effects",
|
|
341
|
+
package: "@suss/framework-drizzle",
|
|
342
|
+
dependencies: [{ ecosystem: "npm", name: "drizzle-orm" }],
|
|
343
|
+
reads: "Drizzle ORM query-builder and relational-query calls, emits storage-access interactions with SQL table names."
|
|
344
|
+
};
|
|
339
345
|
var index_default = drizzleFramework;
|
|
340
346
|
export {
|
|
347
|
+
declares,
|
|
341
348
|
index_default as default,
|
|
342
349
|
optionsSchema
|
|
343
350
|
};
|
package/dist/express.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-express';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-express';
|
package/dist/express.js
CHANGED
|
@@ -166,8 +166,15 @@ function expressFramework(_options = {}) {
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
+
var declares = {
|
|
170
|
+
kind: "framework",
|
|
171
|
+
package: "@suss/framework-express",
|
|
172
|
+
dependencies: [{ ecosystem: "npm", name: "express" }],
|
|
173
|
+
reads: "Express handlers."
|
|
174
|
+
};
|
|
169
175
|
var index_default = expressFramework;
|
|
170
176
|
export {
|
|
177
|
+
declares,
|
|
171
178
|
index_default as default,
|
|
172
179
|
optionsSchema
|
|
173
180
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { declares, default } from '@suss/client-faraday';
|
package/dist/faraday.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// ../client/faraday/dist/index.js
|
|
2
|
+
var VERB_METHODS = {
|
|
3
|
+
get: "GET",
|
|
4
|
+
post: "POST",
|
|
5
|
+
put: "PUT",
|
|
6
|
+
patch: "PATCH",
|
|
7
|
+
delete: "DELETE",
|
|
8
|
+
head: "HEAD",
|
|
9
|
+
options: "OPTIONS"
|
|
10
|
+
};
|
|
11
|
+
function faradayClient() {
|
|
12
|
+
return {
|
|
13
|
+
name: "faraday",
|
|
14
|
+
protocol: "http",
|
|
15
|
+
discovery: [],
|
|
16
|
+
clients: [
|
|
17
|
+
{
|
|
18
|
+
constantName: "Faraday",
|
|
19
|
+
verbMethodNames: VERB_METHODS,
|
|
20
|
+
// Every one of them takes the URL first.
|
|
21
|
+
url: { position: 0 },
|
|
22
|
+
receiverBuilders: ["new"],
|
|
23
|
+
// `Faraday.new(url: "https://api.example.com/v1")` serves every
|
|
24
|
+
// call on that connection under the path of its own URL.
|
|
25
|
+
builderUrlKeyword: "url",
|
|
26
|
+
// What a caller reads off the response it got back. A test on
|
|
27
|
+
// one of these says which statuses the caller handles.
|
|
28
|
+
response: {
|
|
29
|
+
statusCode: ["status"],
|
|
30
|
+
success: ["success?"],
|
|
31
|
+
body: ["body"],
|
|
32
|
+
failureDelivery: "response"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
var declares = {
|
|
39
|
+
kind: "client",
|
|
40
|
+
package: "@suss/client-faraday",
|
|
41
|
+
dependencies: [{ ecosystem: "rubygems", name: "faraday" }],
|
|
42
|
+
reads: `Faraday call sites (Ruby): a request method on the module itself or on a connection \`Faraday.new\` built, served under the path that connection's own URL states.`
|
|
43
|
+
};
|
|
44
|
+
var index_default = faradayClient;
|
|
45
|
+
export {
|
|
46
|
+
declares,
|
|
47
|
+
index_default as default
|
|
48
|
+
};
|
package/dist/fastapi.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-fastapi';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-fastapi';
|
package/dist/fastapi.js
CHANGED
|
@@ -102,8 +102,15 @@ function fastapiFramework(options = {}) {
|
|
|
102
102
|
]
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
+
var declares = {
|
|
106
|
+
kind: "framework",
|
|
107
|
+
package: "@suss/framework-fastapi",
|
|
108
|
+
dependencies: [{ ecosystem: "pypi", name: "fastapi" }],
|
|
109
|
+
reads: `FastAPI routes (Python): the verb comes from the decorator's own attribute name, \`APIRouter\` prefixes are composed one \`include_router\` hop deep, and \`response_model\` / \`status_code\` are taken as the declared contract.`
|
|
110
|
+
};
|
|
105
111
|
var index_default = fastapiFramework;
|
|
106
112
|
export {
|
|
113
|
+
declares,
|
|
107
114
|
index_default as default,
|
|
108
115
|
optionsSchema
|
|
109
116
|
};
|
package/dist/fastify.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-fastify';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-fastify';
|
package/dist/fastify.js
CHANGED
|
@@ -122,8 +122,15 @@ function fastifyFramework(_options = {}) {
|
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
+
var declares = {
|
|
126
|
+
kind: "framework",
|
|
127
|
+
package: "@suss/framework-fastify",
|
|
128
|
+
dependencies: [{ ecosystem: "npm", name: "fastify" }],
|
|
129
|
+
reads: "Fastify handlers."
|
|
130
|
+
};
|
|
125
131
|
var index_default = fastifyFramework;
|
|
126
132
|
export {
|
|
133
|
+
declares,
|
|
127
134
|
index_default as default,
|
|
128
135
|
optionsSchema
|
|
129
136
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/client-web';
|
|
1
|
+
export { declares, default } from '@suss/client-web';
|
package/dist/fetch.js
CHANGED
|
@@ -58,7 +58,15 @@ function webFetchPack() {
|
|
|
58
58
|
]
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
+
var declares = {
|
|
62
|
+
kind: "client",
|
|
63
|
+
package: "@suss/client-web",
|
|
64
|
+
dependencies: [],
|
|
65
|
+
shippedWith: "typescript",
|
|
66
|
+
reads: "Global `fetch` call sites."
|
|
67
|
+
};
|
|
61
68
|
var index_default = webFetchPack;
|
|
62
69
|
export {
|
|
70
|
+
declares,
|
|
63
71
|
index_default as default
|
|
64
72
|
};
|
package/dist/flask-restx.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-flask-restx';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-flask-restx';
|
package/dist/flask-restx.js
CHANGED
|
@@ -103,8 +103,15 @@ function flaskRestxFramework(options = {}) {
|
|
|
103
103
|
]
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
+
var declares = {
|
|
107
|
+
kind: "framework",
|
|
108
|
+
package: "@suss/framework-flask-restx",
|
|
109
|
+
dependencies: [{ ecosystem: "pypi", name: "flask-restx" }],
|
|
110
|
+
reads: `flask-restx \`Resource\` routes (Python), including a project's own wrapper module that re-exports the route decorator.`
|
|
111
|
+
};
|
|
106
112
|
var index_default = flaskRestxFramework;
|
|
107
113
|
export {
|
|
114
|
+
declares,
|
|
108
115
|
index_default as default,
|
|
109
116
|
optionsSchema
|
|
110
117
|
};
|
package/dist/gcs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@suss/framework-gcs';
|
|
1
|
+
export { declares, default } from '@suss/framework-gcs';
|
package/dist/gcs.js
CHANGED
|
@@ -49,7 +49,14 @@ function gcsFramework() {
|
|
|
49
49
|
recognizedAs: "@suss/framework-gcs"
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
+
var declares = {
|
|
53
|
+
kind: "effects",
|
|
54
|
+
package: "@suss/framework-gcs",
|
|
55
|
+
dependencies: [{ ecosystem: "npm", name: "@google-cloud/storage" }],
|
|
56
|
+
reads: "Google Cloud Storage calls, emits storage-access interactions."
|
|
57
|
+
};
|
|
52
58
|
var index_default = gcsFramework;
|
|
53
59
|
export {
|
|
60
|
+
declares,
|
|
54
61
|
index_default as default
|
|
55
62
|
};
|
package/dist/graphql-ruby.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GRAPHQL_RUBY_ROOT_CLASS_NAMES, default, optionsSchema } from '@suss/framework-graphql-ruby';
|
|
1
|
+
export { GRAPHQL_RUBY_ROOT_CLASS_NAMES, declares, default, optionsSchema } from '@suss/framework-graphql-ruby';
|
package/dist/graphql-ruby.js
CHANGED
|
@@ -98,9 +98,22 @@ function graphqlRubyFramework(options) {
|
|
|
98
98
|
discovery: [pattern]
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
+
var declares = {
|
|
102
|
+
kind: "framework",
|
|
103
|
+
package: "@suss/framework-graphql-ruby",
|
|
104
|
+
dependencies: [{ ecosystem: "rubygems", name: "graphql" }],
|
|
105
|
+
reads: "graphql-ruby class-based field DSL (Ruby), including `mutation:` / `resolver:` wiring one hop out to what the referenced class itself declares.",
|
|
106
|
+
configuration: {
|
|
107
|
+
file: "suss.graphql-ruby.json",
|
|
108
|
+
example: { root: "app/graphql" },
|
|
109
|
+
required: true,
|
|
110
|
+
why: "the directory a field's wired class is looked up under, read relative to this file. A Rails app generated by the library keeps its types and mutations under app/graphql."
|
|
111
|
+
}
|
|
112
|
+
};
|
|
101
113
|
var index_default = graphqlRubyFramework;
|
|
102
114
|
export {
|
|
103
115
|
GRAPHQL_RUBY_ROOT_CLASS_NAMES,
|
|
116
|
+
declares,
|
|
104
117
|
index_default as default,
|
|
105
118
|
optionsSchema
|
|
106
119
|
};
|
package/dist/hono.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, optionsSchema } from '@suss/framework-hono';
|
|
1
|
+
export { declares, default, optionsSchema } from '@suss/framework-hono';
|
package/dist/hono.js
CHANGED
|
@@ -211,8 +211,15 @@ function honoFramework(_options = {}) {
|
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
+
var declares = {
|
|
215
|
+
kind: "framework",
|
|
216
|
+
package: "@suss/framework-hono",
|
|
217
|
+
dependencies: [{ ecosystem: "npm", name: "hono" }],
|
|
218
|
+
reads: "Hono handlers, including the `c.json(body, status)` argument order."
|
|
219
|
+
};
|
|
214
220
|
var index_default = honoFramework;
|
|
215
221
|
export {
|
|
222
|
+
declares,
|
|
216
223
|
index_default as default,
|
|
217
224
|
optionsSchema
|
|
218
225
|
};
|
package/dist/httpx.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { declares, default } from '@suss/client-httpx';
|