@connect-plus-online/ogabai-integrations 0.0.61 → 0.0.62
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.cjs.js +3 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +8 -14
- package/dist/index.d.ts +8 -14
- package/dist/index.esm.js +3 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -960,22 +960,18 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
|
960
960
|
|
|
961
961
|
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
962
|
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
|
-
root?: "applicationFeature"[] | undefined;
|
|
964
|
-
nestedFields?:
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
}
|
|
963
|
+
root?: ("applicationFeature" | "pin")[] | undefined;
|
|
964
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
965
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
|
|
966
|
+
pin?: string;
|
|
967
|
+
}) | undefined>;
|
|
968
968
|
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
969
|
root?: "applicationFeature"[] | undefined;
|
|
970
|
-
nestedFields?:
|
|
971
|
-
privileges: PrivilegeFields;
|
|
972
|
-
}) | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
973
971
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
974
972
|
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
975
973
|
root?: "applicationFeature"[] | undefined;
|
|
976
|
-
nestedFields?:
|
|
977
|
-
privileges: PrivilegeFields;
|
|
978
|
-
}) | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
979
975
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
980
976
|
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
981
977
|
root?: "applicationFeatureId"[] | undefined;
|
|
@@ -983,9 +979,7 @@ declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
|
983
979
|
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
984
980
|
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
985
981
|
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
986
|
-
nestedFields?:
|
|
987
|
-
privileges: PrivilegeFields;
|
|
988
|
-
}) | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
989
983
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
990
984
|
};
|
|
991
985
|
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
package/dist/index.d.ts
CHANGED
|
@@ -960,22 +960,18 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
|
960
960
|
|
|
961
961
|
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
962
|
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
|
-
root?: "applicationFeature"[] | undefined;
|
|
964
|
-
nestedFields?:
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
}
|
|
963
|
+
root?: ("applicationFeature" | "pin")[] | undefined;
|
|
964
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
965
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
|
|
966
|
+
pin?: string;
|
|
967
|
+
}) | undefined>;
|
|
968
968
|
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
969
|
root?: "applicationFeature"[] | undefined;
|
|
970
|
-
nestedFields?:
|
|
971
|
-
privileges: PrivilegeFields;
|
|
972
|
-
}) | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
973
971
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
974
972
|
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
975
973
|
root?: "applicationFeature"[] | undefined;
|
|
976
|
-
nestedFields?:
|
|
977
|
-
privileges: PrivilegeFields;
|
|
978
|
-
}) | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
979
975
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
980
976
|
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
981
977
|
root?: "applicationFeatureId"[] | undefined;
|
|
@@ -983,9 +979,7 @@ declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
|
983
979
|
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
984
980
|
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
985
981
|
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
986
|
-
nestedFields?:
|
|
987
|
-
privileges: PrivilegeFields;
|
|
988
|
-
}) | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
989
983
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
990
984
|
};
|
|
991
985
|
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
package/dist/index.esm.js
CHANGED
|
@@ -1168,17 +1168,11 @@ var createUserRoleService = (client) => ({
|
|
|
1168
1168
|
var ENTITY3 = "applicationFeature";
|
|
1169
1169
|
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1170
1170
|
key: ENTITY3,
|
|
1171
|
-
fields: applicationFeatureQuery
|
|
1172
|
-
nested: {
|
|
1173
|
-
privileges: privilegeQuery
|
|
1174
|
-
}
|
|
1171
|
+
fields: applicationFeatureQuery
|
|
1175
1172
|
});
|
|
1176
1173
|
var applicationFeatureListIntegration = createListIntegration({
|
|
1177
1174
|
key: "applicationFeatures",
|
|
1178
|
-
fields: applicationFeatureQuery
|
|
1179
|
-
nested: {
|
|
1180
|
-
privileges: privilegeQuery
|
|
1181
|
-
}
|
|
1175
|
+
fields: applicationFeatureQuery
|
|
1182
1176
|
});
|
|
1183
1177
|
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY3);
|
|
1184
1178
|
|
|
@@ -1223,7 +1217,7 @@ var createApplicationFeatureService = (client) => ({
|
|
|
1223
1217
|
"createApplicationFeature",
|
|
1224
1218
|
{
|
|
1225
1219
|
schema: buildSchema(applicationFeatureSchema.create),
|
|
1226
|
-
defaultRootFields: applicationFeatureIntegration.create.responseFields,
|
|
1220
|
+
defaultRootFields: [...applicationFeatureIntegration.create.responseFields, "pin"],
|
|
1227
1221
|
defaultNestedFields: applicationFeatureIntegration.create.nestedFields
|
|
1228
1222
|
}
|
|
1229
1223
|
),
|